AnsweredAssumed Answered

peripheral tools issue setting up adc

Question asked by Ian Norman on Jan 25, 2018
Latest reply on Feb 2, 2018 by Lukas Heczko

Hi, I've used the peripheral tools to setup an adc channel however the code it generates produces a mismatch between the source & header files. In the source file peripherials.c it generates 

adc16_channel_config_t ADC0_channelsConfig[1] = {
.channelNumber = 26U,
.enableDifferentialConversion = false,
.enableInterruptOnConversionCompleted = false


while the header peripherials.h has 

extern adc16_channel_config_t ADC16_1_channelsConfig[1];
changing this manually to 

extern adc16_channel_config_t ADC0_channelsConfig[1];

fixes the compile errors.


Here is a screenshot of how this was generated


This is for a MK64FN1M0VLQ12 using mcuxpresso 10.1.0

Hope this helps fix this issue for the next release of the tools


kind regards