7 years, 5 months ago.



is it possible to throw an interrupt when there is activity on a SPI communication? I would like to do something like this :


Is it then possible to use an RTOS and start a thread inside this interrupt?


Do you mean SPI master or slave? Since an SPI master will only have activity when you tell it to have activity.

posted by Erik - 29 May 2013

1 Answer

7 years, 4 months ago.

Thanks for your answer.

I wanted the MBED to be slave.

What I have is :

touchscreen (SPI) sensor (UART)

I want to use a RTOS. The touchscreen when touch should start a interruption. Also, the sensor send info once in a while. I want it to start an interruption each time info is send on UART.

The interruptions should start threads

That is the way I thought it has to be done....