Hie,
I am Using the TMS570 HDK for my project,
And I need to have the Analog input, i.e should be able to give the Value of the Analog Input.
Any help would be appreciated,
Regards,
Ishan Maniar
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hie,
I am Using the TMS570 HDK for my project,
And I need to have the Analog input, i.e should be able to give the Value of the Analog Input.
Any help would be appreciated,
Regards,
Ishan Maniar
Hello Ishan,
I'm assuming that you are interested to know how/where to feed the analog input.
In that case, ADC inputs are routed to the expansion connectors J-9 (viz AD1IN0 -J9.34) on TMS570 HDK Boards.
So you can either design your own board as an extension board or consider using the HerculesHdkExperimenter(http://processors.wiki.ti.com/index.php/HerculesHdkExperimenter)
Let us know. Thanks.
Best Regards,
Karthik
Hey Karthik,
Thanks for the reply,
But I am looking at a way to get the value of the voltage of the analog input signal.
as If I use ADC I get a converted value which is what I do not need.
Regards,
Ishan Maniar
Can you pls explain in detail about your intent of this test, which will help us understand the issue better.
Best Regards,
Karthik.
Hey,
I want to get the value of the analog input, and then may b send that value over a CAN message,
or toggle some output depending on the input value.
Regards,
Ishan Maniar
Hey,
It would be really helpful if you could help me with the query stated above.
I am stuck at it?
I need to read the input voltage of the input, like continuously taking a sensor input on a port pin, and if the value goes above the threshold I would like to make some output high stating tht the threshold has reached.
It would really be helpful if any1 could help.
Regards,
Ishan Maniar
Hello Ishan,
1. Pls connect that particular sensor output to one of the input pin of ADC converter(Integrated ADC controller inside TMS570) pins (viz AD1IN0 - J9.34).
2. Set-up the ADC control registers to (pls refer to "Analog To Digital Converter (ADC) Module" section of the TRM for more details),
a. Convert that particular analog channel using one of the three groups.
b. Configure ADC to generate an interrupt based on the programmable threshold value(Refer to "ADC Magnitude Threshold Interrupts" section of TRM).
c. You can code your ISR for this interrupt to take necessary actions (make some output high stating tht the threshold has reached, as you stated).
Hope this helps.
Best Regards,
Karthik.