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.

RTOS/MSP432E401Y: Bug in ADCBufMSP432E4.h

Part Number: MSP432E401Y

Tool/software: TI-RTOS

Dear Developers,

I think I found a bug in ADCBufMSP432E4.h:

#define ADCBufMSP432E4_PP_6_A22  ((22 << 16) | 0x6540)
#define ADCBufMSP432E4_PP_7_A23  ((23 << 16) | 0x6580)

are wrong, because PP7 is A22 and PP6 is A23.

Correct according to the datasheet (and working on hardware) is:

#define ADCBufMSP432E4_PP_7_A22  ((ADC_CTL_CH22 << 16) | 0x6580)
#define ADCBufMSP432E4_PP_6_A23  ((ADC_CTL_CH23 << 16) | 0x6540)

**Attention** This is a public forum