AnsweredAssumed Answered

LPC54016 - Missing ADC defines SDK 2.5.0

Question asked by Carl Matthews on Jan 20, 2019
Latest reply on Jan 23, 2019 by ZhangJennie

After getting weird ADC readings with KSDK I found the ADC's were not being set up properly due to a few missing defines in LPC54016_features.h, also effects the 54018.

 

 

These are the missing defines I've found so far :

 

#define FSL_FEATURE_ADC_HAS_CTRL_RESOL (1)
#define FSL_FEATURE_ADC_HAS_CTRL_ASYNMODE (1)
#define FSL_FEATURE_ADC_HAS_CTRL_BYPASSCAL (1)
#define FSL_FEATURE_ADC_HAS_CTRL_TSAMP (1)

Outcomes