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.

TMDSIDK437X: Stuck in a while loop in adc_test.c project

Part Number: TMDSIDK437X

Hi everyone,

I am trying to build adc_test project for idk AM437x evaluation board from C:\ti\pdk_am437x_1_0_17\packages\ti\starterware\examples\adc

I was trying to gmake the project; however, it only generates binary files including .out and .bin files but not .ccsproject (which allows me to import to CCS project)

Therefore, I decided to open UART_BasicExample_idkAM437x_armExampleProject and copy adc_test.c file into the Uart project.

After adding additional paths including: 

I also added: cpu.c, gic.c, and tsc_adc_ss.c file into my project.

I finally got my project built and run the adc_test.c project on my IDK Am437x eval board. 

However, the code is stopped at this while loop:

I went back and checked to make sure ADC0 is enable in the Pinmux as:

I suspect that the interrupt never happens and causes the code stuck in the while loop above.

I wonder if I am missing any configurations for the ADC which is caused this issue.

That would be great if I can have any suggestions or hint on this. Or maybe a better way to import the project.

Thank you for reading my post.

Sincerely,

Minh Vo