AnsweredAssumed Answered

QN9080 ADC External Vref

Question asked by Kaival Shah on Oct 31, 2018
Latest reply on Nov 5, 2018 by Felipe Garcia

I am using qn908xcdk_wireless_examples_bluetooth_wireless_uart_freertos demo code for my development. In my application, I want to use External Vref @PA07. An external voltage is 3.3.

 

The demo application is configured as 1.2 V bandgap. I changed the following parameters 

adcConfigStruct.refSource = kADC_RefSourceExtWithDriver; ---> In ADC_Init conifguration

adcSdConfigStruct.vinnSelect = kADC_VinnSelectVref; --> In ADC_SetSdConfig configuration

 

Do I need to do anything else? When I use 1.2 Internal application is giving proper ADC output through ADC_ConversionResult2Mv. But if I use PA07 then I am not getting proper output through ADC_ConversionResult2Mv API.

Outcomes