Forum Discussion
Altera_Forum
Honored Contributor
14 years agogpio input and output
I have a de2-115 board and i'm trying to do some basic functions but i'm hitting a roadblock. I used SOPC builder to create a system that has nios ii, two PIO interfaces where one is input and ...
Altera_Forum
Honored Contributor
14 years agoOk that i understood and it pointed me in the right direction for something else. Thank you.
Going on, I want to detect change on the 2 input signals and after further reading I understand that I may have to use the edge-capture register (is that correct?). Now this isn't some high speed application, so timing isn't a huge issue. All I want to do is detect the change and go from there. I know i'm going to have to do pretty much the same as you've mentioned and use the IOWR_ALTERA_AVALON_PIO_EDGE_CAP? Of course I have to do the same as for the data one and find the base address...etc. Anything I should keep in mind or is this on the right track?