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.

CCS/TMS570LS1224: TMS570LS ADC set problem

Part Number: TMS570LS1224


Tool/software: Code Composer Studio

Hello  

 I use TMS570 ADC Timer sampling. HAL software setting   i have problem.

 I want to receive value accurate. now  I have receive value fluctuation,that have little Zigzag. I dont know why.

 1. Enable sampling capacitor discharge...  this means what?,whether that can affect adc value.

  2.hal setting have two cycle time..  How are they different.

 

  • Hello

     Is  this cycle time setted long time is better?

    that can make the external signal stable???

  • Yes, please increase the sample time for each channel. The default setting is 2 ADCLK cycles, which is too short. The actual sampling time required depends on the external impedance connected to the channel being sampled. You can refer to this application note for more details about how much sampling time is required: 

    For trial, configure something like 1us for the sampling time and check if the issue is still observed.