arduino / arduino/ArduinoCore-samd
samd21J18A (Xplained Pro) wrong pin conversion
- Dominant language
- C
- Stars
- 502
- Forks
- 740
- PR merge metrics
- No merged PRs in 30d
Description
Hi everyone,
I am trying to use the Samd library on a sam21J18, of an xplained Board.
I am just trying to use gpios, but the translation from PIN_Ppxx to unsigned int is not working well (pins that should be from 10 to 20 receives higher numbers)
I would like to work on fixing this, or at least report it properly.
But I'm not aware of the inner workings of arduino ide, so I would also like to have some tips on how to move on this. Can anyone help/teach me?
Regards,
mngr0
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the GPIO pin-number conversion on the SAMD21J18A Xplained board, then trace the PIN_Ppxx conversion in the Samd library. Done means pins expected to map to 10–20 produce those unsigned-integer values; the issue names no source file or test to run.
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
- 25/100