Forum Discussion
MAYLIS
New Contributor
5 years agoMAX10 ADC (Quartus)
Hi, I configured the ADC of the MAX10 on Quartus, I powered it but I am stuck in the initialization of this last one, I wrote a code to initialize it but I still cannot have the data. It's in sample_...
Ash_R_Altera
Regular Contributor
5 years agoHi,
Thanks for sharing the code.
The problem is that there is no handshake mechanism between data_initialisation entity and the ADC IP.
Once you give a Run command, you need to wait for the sample_store_irq_irq signal from the IP to indicate that the digital data is ready to be read.
Then you should initiate a read command to the sample store csr interface to get that digital data.
After initiating the read expect the data at the next clock edge from when the csr interface gets the read command. This is due to Avalon-MM interface latency.
Regards.
MAYLIS
New Contributor
5 years agoThanks a lot, I'll try it.
Regards