AnsweredAssumed Answered

MQX SPI file write during interrupt

Question asked by Jama Mohamed on May 12, 2015
Latest reply on May 22, 2015 by Jama Mohamed

Hi all,

 

I am new to using MQX and have been trying to get a host-driven nRF8001 driver ported, but am having trouble with SPI during interrupts.

 

As of how my main issue stems from not being able to use SPI during a software interrupt task. Because the spi file was open by my main task, the interrupt is not allowed to use that same pointer and just doesn't write. Am because it is in an interrupt, I don't want to have to open a new file and reconfigure everything every single time.

 

What is the typical way in MQX to do this kind of processing during an interrupt?

 

Best Regards,

Jama

Outcomes