adafruit / adafruit/Adafruit_nRF52_Arduino

[Bug] SPIM3 could conflict with Softdevice/IRQ and cause hardfault

Open
#364 5 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
C
Stars
699
Forks
570
PR merge metrics
No merged PRs in 30d

Description

We didn't run into this issue just yet, but it is only a matter of time.
due to errata 198 https://infocenter.nordicsemi.com/topic/errata_nRF52840_Rev2/ERR/nRF52840/Rev2/latest/anomaly_840_198.html

Solution: allocated a fixed separated RAM block just for SPIM3 to use

related to https://github.com/adafruit/circuitpython/issues/1222#issuecomment-545200965

![image](https://user-images.githubusercontent.com/249515/67410504-65c1e580-f5e6-11e9-8b62-f09b4905a4eb.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by reading nRF52840 errata 198 and the related CircuitPython discussion, then trace how SPIM3, the Softdevice, IRQ handling, and RAM allocation interact. Done means SPIM3 has a fixed separated RAM block and the reported conflict and hardfault risk are addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.