apache / apache/mynewt-core

nrf52 SAADC single ended samples GND returns 65535 indicating mode configuration errors.

Open
#2,338 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
891
Forks
381
Avg merge
2d 7h
Merged PRs (30d)
14

Description

I used the example code on nrf52840 DK (PCA10056) to sample GND signal in Single-Ended mode. The returned value sometimes is 65535 which indicates potential wrong configuration of the sampling mode. Maybe set still as Differential instead of Singel-Ended when configured as Single-Ended.

Please help check, test and fix this issue.

Thanks,

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported behavior with the example code on an nrf52840 DK (PCA10056), sampling GND in single-ended mode. Inspect the SAADC mode configuration and compare the returned value with the expected result; done means the configuration is correct and GND no longer intermittently returns 65535.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.