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.