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.

MSPM0L1305: ADC conversions not working

Part Number: MSPM0L1305
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello,

I am trying to do an ADC sequence conversion with 5 ADC channels, however I am running into an issue where the ADC channels aren't being loaded in. I believe there is an issue with the IRQ handler where it's not being called. Is there another way of reading in the ADC inputs without using the IRQ handler?

Attached is the current code and config files for more context

1803.program.zip

  • Hi Joseph, 
    I tried debugging a "sysconfig" version of your code, and the interrupt handler seems to work on my side. My recommendation is for you to use SYSCONFIG for your implementation. Once you have it working, disable sysconfig and configure it using your modified ti_msp_dl_config.c and ti_msp_dl_config.h files. Here's the project I used to test your code.

    adc12_sequence_conversion_example.zip

    Best Regards,

    Diego Abad