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)