I'd simplify the ISR to the bare minimum. Just have it send a Notification to wake up a high-priority FreeRTOS task. That task would then access the ADS1115 in non-interrupt context.
2 Likes
I'd simplify the ISR to the bare minimum. Just have it send a Notification to wake up a high-priority FreeRTOS task. That task would then access the ADS1115 in non-interrupt context.