Forum Discussion
Altera_Forum
Honored Contributor
8 years agoImplementing adc on cyclone 5
implemented the module according to manual i was able to run the program successfully but i am not able to find the output
may be i assigned the pins in wrong way can anyone suggest me to which pin i should assign the following adc_sclk and adc saddr , adc cs and adc sdat thank you15 Replies
- Altera_Forum
Honored Contributor
Hi Maheshbimaq,
1.In signaltap are you able to see the input signal? Check the input source. 2.In signaltap have you set trigger conditions? 3.ADC_SCK PIN_V10, ADC_SDO PIN_AD4, ADC_SDI PIN_AC4 & ADC_CONVST PIN_U9. Best Regards, Anand Raj Shankar (This message was posted on behalf of Intel Corporation) - Altera_Forum
Honored Contributor
--- Quote Start --- implemented the module according to manual i was able to run the program successfully but i am not able to find the output may be i assigned the pins in wrong way can anyone suggest me to which pin i should assign the following adc_sclk and adc saddr , adc cs and adc sdat thank you --- Quote End --- This depends on what board you are using. Refer to the manual provided by the manufacturer (likely Terasic). They list all the FPGA pin connections for on-board devices. - Altera_Forum
Honored Contributor
thank you for your reply!
do i need to set this trigger condition after i mount my output file(sof) on FPGA? can you tell me how to set the trigger condition because i am new to this tool and do you have any material for this so that i can learn - Altera_Forum
Honored Contributor
i have done the pin assignment correctly the problem is i am not able to set the trigger condition i dont have any experience with this tool so it will be easier for me if have any manual or steps to follow
so please could you help me - Altera_Forum
Honored Contributor
Hi
Go through the user guide of signal-tap for more information also check the below links https://www.youtube.com/watch?v=llodw5in4pg https://www.altera.com/support/training/course/odsw1171.html https://www.youtube.com/watch?v=vhkzxcexuaa Can you attach your observed output window image. Best Regards, Anand Raj Shankar (This message was posted on behalf of Intel Corporation) - Altera_Forum
Honored Contributor
https://www.alteraforum.com/forum/attachment.php?attachmentid=14506
so in was able to see my nodes on analyzer....can you suggest me which condition should i give to see the output - Altera_Forum
Honored Contributor
Hi,
Understand the hardware and user manual. Trigger on the clock at which ADC Data is changing/sampling. or trigger the data itself(led(0..7)) for checking it. Best Regards, Anand Raj Shankar (This message was posted on behalf of Intel Corporation) - Altera_Forum
Honored Contributor
https://www.alteraforum.com/forum/attachment.php?attachmentid=14519
i want to read a analog input on 2*5 adc header i followed the module ....in the manual it says use pot (variable resistor) and it says run test.bat file but when i do it shows some value from channel 7 but i have connected to channel 0 of adc or can you tell me if i am going wrong ? - Altera_Forum
Honored Contributor
my question is how do i change it to channel 0
? - Altera_Forum
Honored Contributor
Hi
Have you "Set SW[2:0] = 000, to measure channel 0 of ADC"? Best Regards, Anand Raj Shankar (This message was posted on behalf of Intel Corporation)