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.

launchxl2-rm46 ADC

Other Parts Discussed in Thread: HALCOGEN

Hi,


I am running the adc example code of Rm46 given in halcogen with some changes,attaching entire project for reference.

Lightsensor is connected to adc1_6 channel in  launchpad, when i run the code i don't  see any output on serial port.

Can you please tell me where i am going wrong.


Thanks and Regards,

Shruti0882.ADC.zip

  • Looking at your HALCoGen project you have the ADC group 1 set for a hardware trigger on GIOB[0], but you are configuring GIOB[1] as an output and toggling it.

    Also I suggest you keep all of your modifications of HALCoGen files in the /* User Code Begin */ to /* User Code End */ regions so that you can update your HALCoGen project and not overwrite the code you have added.