Hello Robin,
Thank you for your thorough information about setting up VREF for use. I have found that I have VREF set up correctly. I have also found that if I set: adcUserConfig.referenceVoltageSource = kADC16_ReferenceVoltageSourceValt;
I switch to using VREF for the ADC reference. My confusion lies in the fact that a compiler definition: BOARD_ADC_USE_ALT_VREF is not getting defined and it was forcing my code to skip the Valt setting. I am curious where this should get defined. I would have thought it would be in the board.h file but the code for my FRDM-K82F board does not have it defined. I would have thought the K82 and K80 would allow use of this compiler switch.
While I have your ear can you also help me determine why I have a 4.4 MHz sawtooth signal on my VREF output on my FRDM-K82F board. The maximum and minimum voltage of the sawtooth goes from 1.8 to 1.2 volts. On my target board I have a steady 1.2 volts and it uses the same setup for VREF.
Best Regards,
Fred