- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've got the CY8KIT-042-BLE-A kit and have tried 2 example projects. Both yield a maximum ADC result of 0x7FF but seems to work fine between 0-0x7FF. Simplest example I used was PSoC4_ADC_with_Differential_PreAmplifier01 and using a single ended channel.
I've got to be overlooking something simple but I've done nothing but spin wheels for hours. Here I've got adcVal[CHANNEL_4] tied to 3.3V supply. Tried both internal ref =1.024V and VDDA. no change, max ADC result is still 0x7FF.
Solved! Go to Solution.
- Labels:
-
BLE
- Tags:
- max 12bit adc 0x7ff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Robert,
SAR ADC by architecture is differential in nature. When its single ended negative input is connected to ground, the range is limited to half of the actual range. Kindly see the following table in the ADC component datasheet.
Now if you want 12 bit resolution, In ADC settings change the single ended negative input to Vref, let Vref be VDDA/2 so that you will cover the complete ADC range. I hope this answer helps.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Robert,
SAR ADC by architecture is differential in nature. When its single ended negative input is connected to ground, the range is limited to half of the actual range. Kindly see the following table in the ADC component datasheet.
Now if you want 12 bit resolution, In ADC settings change the single ended negative input to Vref, let Vref be VDDA/2 so that you will cover the complete ADC range. I hope this answer helps.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This makes sense. Just making sure I wasn't missing something.
On Mon, Oct 19, 2020 at 12:05 AM VasanthR_91 <community-manager@cypress.com>