You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "paolovolpi (via GitHub)" <gi...@apache.org> on 2023/07/14 06:18:59 UTC

[GitHub] [nuttx] paolovolpi opened a new issue, #9826: mcp2515 Interrupt handler shouldn't lock spi bus

paolovolpi opened a new issue, #9826:
URL: https://github.com/apache/nuttx/issues/9826

   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)
   
   https://github.com/apache/nuttx/blob/a7926405cafca178e137fbae05290c0f8a38cd51/drivers/can/mcp2515.c#L1297-L1298


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] acassis commented on issue #9826: mcp2515 Interrupt handler shouldn't lock spi bus

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #9826:
URL: https://github.com/apache/nuttx/issues/9826#issuecomment-1637150621

   Hi @paolovolpi good finding! Could you please contribute a patch to fix it?
   @vbenso it could also be related to issue you was facing!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org