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: 12bit ADC is not working - Inbuilt Light sensor

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hi,

Am trying to get ADC value from inbuilt light sensor to serial terminal.I tried this link https://www.youtube.com/watch?v=YOBWhFE0LZg

But unfortunately am not getting any value at serial terminal. Can you please check my error.Attached the screen shot

  • Hello,

    Does the terminal have the same baudrate and stop bit? When you convert value to string, is the returned number of chars correct?

    Please add a breakpoint inside the sciSend(), and check if your data is written to SCI TD register? 

    HALCoGen has a very good example to display the ADC values on Terminal.

    HALCoGen-->Help -->Help Topics-->Examples-->Example_adcDisplay.c