arduino / arduino/ArduinoCore-sam

SPI.transfer hangs if an argument is given to SPI.begin

Open
#99 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
91
Forks
112
PR merge metrics
No merged PRs in 30d

Description

you can use this sketch and cli tool to reproduce the bug:

https://github.com/iddq/arduino-spi-dump-eeprom

SPI.transfer hangs if you put 52 as an argument to begin method here:

https://github.com/iddq/arduino-spi-dump-eeprom/blob/1393e093a0128a27ae39c7fc84f4c73089f25a60/arduino-spi-dump-eeprom/arduino-spi-dump-eeprom.ino#L15

sam core 1.6.12

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked arduino-spi-dump-eeprom.ino sketch at line 15 and reproduce the hang using the CLI tool with SAM core 1.6.12. Trace the SPI.begin call that receives 52 and the subsequent SPI.transfer; done means SPI.transfer completes instead of hanging with that argument.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.