Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CC3220SF: analogRead() Returns 1023 #18

Open
rei-vilo opened this issue Jul 25, 2018 · 2 comments
Open

CC3220SF: analogRead() Returns 1023 #18

rei-vilo opened this issue Jul 25, 2018 · 2 comments
Assignees
Labels

Comments

@rei-vilo
Copy link
Member

rei-vilo commented Jul 25, 2018

The analogRead()on the minimalist example below always returns 1023.

Placing and removing jumper J14 OPAMP EN has no effect.

Same for using 23 instead of A0.

The exact reference of the board is CC3220SF Rev-A. Pin 23 is connected to the middle point of a 10 kΩ potentiometer, connected to +3.3V and GROUND.

Same code works fine on the CC3200 LaunchPad, with taking care not to exceed 1.7 V.

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly: 
  Serial.println(analogRead(A0));
  delay(1000);
}
@rei-vilo
Copy link
Member Author

capture 2018-07-25 a 15 51 52

@rei-vilo
Copy link
Member Author

rei-vilo commented Mar 15, 2019

A more detailed report, with Op.Amp En shunt on.

Pin Port Result Comment
23 A0 no 587..594
24 A3 yes 0..963
25 A1 yes 0..963
26 A2 yes 0..963

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants