Part Number: MSPM0-SDK
We are trying to configure ADC ,code is working on Launch pad board with 20 pin IC but not on the board for 8pin Ic.
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.
Part Number: MSPM0-SDK
We are trying to configure ADC ,code is working on Launch pad board with 20 pin IC but not on the board for 8pin Ic.
Hi Seema,
Please clarify the part number of the IC (include the package), and the schematic for your own custom board.
For generic suggestions, please check the IC pin voltage and make sure no hardware issues. Then you need check your pin functions and whether it supports ADC or not. Finally, check the ADC conversion result in MEMRESx and see what difference compared to expected value.
B.R.
Sal
Is there any limitaion on watch window,! we can not see the ADC updated values in watch window while code is running.Please guide
Hi Seema,
Use global variables if you want to observe it in watch window.
If this does not take effect, add volatile to the variables to prevent compiler do optimization on the variables.
Example:
volatile uint32_t gData32 = 0x12345678;
B.R.
Sal
Hi Seema,
The device you used is M0C110X, this device is not supported by my team.
For the code you shared, I do not see any issues. I think the variable should be observed in watch window.
B.R.
Sal