Hi,
I am quite new to this so please be kind to me. My aim is to record an analogue sine wave. I am looking at (adcsignalchannel.c) example which is in TI-RTOS. The port P5.5 is defined for A0 and P5.4 is for A1. For testing the adc14, I have done one example. I connected the P5.5 to the 3v3 and P5.4 to GND and what I see that ADC is reading is xxFF which is 255. In this code I could find that number of samples are defined, for example 10 samples. I want to know the time between each sample? Or in the case I connect the P5.5 to the sine wave voltage and P5.4 to GND, I would like to know how can I read this sine wave and what is the ADC clock frequency to record a sine wave. Is it defined in this example in adcsignalchannel.c or I should write a code about it. When I connect the sine wave voltage to the P5.5, I do not get repeatable data which gives me an idea that it is recording a sine wave. If somebody can recommend a short code to do this, I would be happy since now I am just using the example which cover a lot of other things that makes me confused. It would be good if TI put short examples.
Thanks,
Baha