arduino / arduino/ArduinoCore-renesas

SPI - usingInterrupts() not supported?

Open
#359 0 comments 0 reactions 0 assignees View on GitHub
topic: code type: imperfection
Dominant language
C
Stars
193
Forks
112
PR merge metrics
No merged PRs in 30d

Description

Hi,

I see that the AVR library for SPI enables the use of SPI.usingInterrupts() to pause interrupts while performing transactions (see https://github.com/arduino/ArduinoCore-avr/tree/321fca0bac806bdd36af8afbc13587f4b67eb5f1/libraries/SPI). Is there a reason why this is not implemented in this library? I am writing a Arduino R4 wifi program where this would be a very handy feature.

Best,
Oskar

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the AVR SPI implementation linked in the issue with the Renesas SPI implementation for the Arduino R4 WiFi. First identify how transactions and interrupt handling are currently implemented in this library, then determine the expected usingInterrupts() behavior. Done means the requested API is supported consistently and its transaction behavior is covered by relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Feature
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.