arduino / arduino/ArduinoCore-mbed

Arduino Giga analogRead(A8) causes lock up (crash)

Open
#1,084 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
411
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Hello,

I don't appear to have much luck with pins A8 - A11.

See: [https://github.com/arduino/ArduinoCore-mbed/issues/931](url) and [https://github.com/arduino/ArduinoCore-mbed/issues/1047](url)

The latest problem is that

`x = analogRead( A8 );`

randomly causes the Arduino Giga to lockup (crash).

Anyone else seen this?

Is there a work around?

I am using Arduino Mbed OS Giga Boards v 4.4.1
To enable the program to compile, I have copied the pure_analog_pins.cpp and pure_analog_pins.h from
x\variants\GIGA into
x\variants\GENERIC_STM32H747_M4

Many thanks in advance.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `analogRead(A8)` on the Arduino Giga with Arduino Mbed OS Giga Boards 4.4.1, then compare `variants/GIGA/pure_analog_pins.cpp` and `.h` with the copies under `variants/GENERIC_STM32H747_M4`. Done means the A8 read no longer randomly locks up and the relevant pin configuration is covered by a reproducible test or documented workaround.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.