Hi @EduardoZamora
I am using frdmkw36_driver_examples_adc16_interrupt example. And using kADC16_ReferenceVoltageSourceValt as reference voltage.
Now once again reading MKW36 Reference Manual, Chapter 4.8.1 Analog Reference options , i have some doubts.
1. I am using Valt as reference. From the document i can understand that VDDA/VSSA are now reference voltage because of Valt. But looking on schematics VDDA is VDD(3.3v) and VSSA is ground. Is it means my reference voltage is 3.3V?
2. In KW36 data sheet, chapter 6.5.6.1.1 16-bit ADC operating conditions
So, i am using a 5, 1KΩ ± 5% resistors voltage divide circuit. When i am measuring the voltage across resistor from ground having 1V, the ADC gives 3564. From the calculation it is 0.87V. But when i measured across 2V, 3V resistors i am getting 4095. If Valt is 3.3V then why i am getting 4095 on 2V and 3V resistors ?
3. Also i config all first single ended channels(ADC0_SE1, ADC0_SE2, ADC0_SE3, ADC0_SE4, ADC0_SE5) and measure adc output of this channels without connecting any input, i am getting 4095 on ADC0_SE1 and ADC0_SE2 , 0 on ADC0_SE3 and ADC0_SE4 and 2593 on ADC0_SE5. Why i am getting these values without giving any input?
Best Regards,
Nidhin