I am now working on ADC module of QN9020. I started from the example provided by QBlue.
Here is what the datasheet says,
9.5.4 General-purpose ADC
QN902x integrates a general-purpose 8-bit or 10-bit SAR ADC
Where as in the example code you will find,
adc_init(ADC_SINGLE_WITHOUT_BUF_DRV, ADC_CLK_1000000, ADC_EXT_REF2, ADC_12BIT);
Now can somebody tell me is the ADC 8bit or 10bit or 12bit? No documentation available to understand how you can set the resolution to 12 bit when your adc is 10bit.
It will be great if someone can clarify this thing.