AnsweredAssumed Answered

Start SPI transfer in interrupt service routine

Question asked by Michel Hayoz on Aug 8, 2017
Latest reply on Aug 10, 2017 by Daniel Chen



I am reading values from an ADC via SPI with a sampling rate of 1kHz. The ADC has a data-ready signal on which the SPI transfer has to be started. Is there a way to initiate the SPI transfer inside the interrupt service routine of the data-ready signal (gpio interrupt) because a synchronisation with a MQX task is too slow (MQX tick is 5ms). I am using MQX4.2 running on the Vybrid VF61 Cortex M4.


Thank you in advance for your response.

Kind regards

Michel Hayoz