This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SAADC on nRF52840 rev2 chips does sample internal VDD channel

Working with Fanstel BT840 module we have discovered that ADC channel VDD reads as zero or produces small mV level result.
nRF52840 chip revision on these modules is QIAA-Dx0.

Please note that same ADC code perfectly samples VDD on Laird BL654 modules built on QIAA-Cx0 chip revision.

ADC configuration is ADC channel 0 setup for Single ended, Internal Reference, 1/6 Gain :

NRF_SAADC->CH[0].PSELP = 0x09;
NRF_SAADC->CH[0].PSELN = 0;
NRF_SAADC->CH[0].CONFIG = 0x00050000;

Best Regards,
Georgi Danielyan

Parents Reply
  • Sorry, I did not mention it:

    Yes, SDK example works with input channel changed to VDD on both boards.
    Application is huge running proprietary 802.15.4 PHY compliant mesh.

    However, SADC configuration is very same as in SDK example with input changed to VDD.
    Application samples VDD at ~2 seconds rate.
    Also, I have tested this example with the system entering different power modes. No issues had been observed.

    Now it is clear that standalone SADC application (SDK example changed to VDD) works on both AADA and AAD0 chip revisions.

    The problem seems to be complex then and may somehow relate to the other peripherals activity.
    That can be great help for us if we may give us recommendations where to look for the possible cause.

    BTW: these two chip revisions are not same: AADA has several earlier issues resolved. But, also has some new issues introduced.

Children
Related