-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
GIGA R1 - analogRead(A12) returns A8 value #758
Comments
Mmmmh no, I retested just to make sure and it works as intended (reads A13/DAC1 value when |
Thanks for replying. I've made some progress narrowing this down. Board is connected via usb and no external components. Using this code:
With nothing connected to pins I get: With th 3.3v pin connected to A12 or A13, no change. With th 3.3v pin connected to A8 I get this: With 3.3v on A9 I get this: IF I comment out the analogRead and prints for A8 and A9:
and then apply 3.3v to A12 I get this: 3.3v on A13 give this: And 3.3v on A8 or A9 has no effect. So it only seems to be a problem when reading A8/A9. |
Got it, I've been able to replicate. |
sure @facchinm |
Hello, I've just come across the issue with a Giga R1. Upgrading to V 4.1.5 of the board library temporarily fixed the issue, however it has returned. Seems to only occur when compiling for the M4 co-processor core. Here is the very simple sketch: @facchinm @Rocketct is there a way of addressing A9 using MBED calls? (as a work around). Thank you.
Error message: Using library RPC at version 1.0 in folder: C:...\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.5\libraries\RPC Compilation error: exit status 1 Any ideas? |
and analogRead(A13) returns A9 value. However, using Adafruit advancedAnalog library the correct values for A12 and A13 are returned
The text was updated successfully, but these errors were encountered: