Forum Discussion
Altera_Forum
Honored Contributor
15 years agoTry including "altera_avalon_pio_regs.h" and use the macros defined here in order to control pio. Also, you'd better use xx_PIO_BASE defines (see system.h) instead of raw numeric address . You'll have a more portable code, indipendent of changes you possibly make in sopc builder.
Maybe a silly question: is pio correctly connected to fpga output pins in your Quartus design? Regards