Forum Discussion
Altera_Forum
Honored Contributor
14 years agoI don't see any synchronization system in your code, so you have no way of defining or detecting when you read the PIO port.
If the PIO port input changes faster than your software can read it, then you'll miss some values.