apache / apache/nuttx

mcp2515 Interrupt handler shouldn't lock spi bus

Open
#9,826 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

In complex environments, we cannot do SPI transfers from the interrupt handler because semaphores are probably used to lock the SPI bus. We need to use a Work queue as done for example in the enc28j60 driver (/drivers/net/enc28j60.c)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.