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
successfully done with ADC part!!
i have one more question is it possible to read a analog output on GPIO by connecting additional circuitary (DAC) for example i want to apply analog signal on 2*5 adc header and read that on GPIO is it possible? thank you Mahesh - Altera_Forum
Honored Contributor
--- Quote Start --- successfully done with ADC part!! i have one more question is it possible to read a analog output on GPIO by connecting additional circuitary (DAC) for example i want to apply analog signal on 2*5 adc header and read that on GPIO is it possible? thank you Mahesh --- Quote End --- Yes, you can use additional circuitry. While selecting DAC circuitry take care on LSB/Resolution of DAC and GPIO capability.(i.e Whether you can detect the LSB change?) Best Regards, Anand Raj Shankar (This message was posted on behalf of Intel Corporation) - Altera_Forum
Honored Contributor
is there any example related to this where i can understand something and implement ?
and i am planning to use ic ad421 which is a dac ( external circuit )to convert digital signal on gpio to analog - Altera_Forum
Honored Contributor
ADC IS 12BIT resolution which is inbuilt so
reading an input signal on 2*5 header is done ! how can i read the same analog signal on GPIO? just similar to connecting to leds on board ? or there is any other technique or should i use pwm? if there are any example it will help me alot - Altera_Forum
Honored Contributor
Hi,
1.You should have DAC resolution of at least 12 or greater is better keeping verf in consideration and also the driving strength. 2.Chose a board/Design like that, You can find the some martials from terasic for other board/daughter boards which will help you to understand requirements for your board. Check the board below http://www.terasic.com.tw/cgi-bin/page/archive.pl?language=english&categoryno=67&no=278 https://www.altera.com/content/dam/altera-www/global/en_us/portal/dsn/42/doc-us-dsnbk-42-5008051605255-d8m-gpio-user-manual.pdf Best Regards, Anand Raj Shankar (This message was posted on behalf of Intel Corporation)