Forum Discussion
Altera_Forum
Honored Contributor
13 years agoIORD_ALTERA_AVALON_PIO_DATA execution speed
Is there a faster way to read a pin than using the IORD_ALTERA_AVALON_PIO_DATA macro? I'm finding the code below is running quite slow, but by removing the second condition (i.e. reducing the n...
Altera_Forum
Honored Contributor
12 years agoActually for something like this I would rather use a DMA to periodically read the AD data from the converter and write it directly to memory. You could then raise an interrupt once a buffer is full and let the CPU handle the Ethernet encapsulation.