Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTOS/CC2640R2F: I2C during Interrupt Service Routine

$
0
0

Part Number:CC2640R2F

Tool/software:TI-RTOS

Hi,

I am trying to use periodic interrupts to generate a signal at set intervals. The periodic interrupts work, but when I try to communicate with an external DAC to generate the signal I run into some problems. I have written a function to send a specified voltage to the DAC, but it doesn't work properly when called from the ISR. I had a look at the signals on a scope and noticed that the i2c communication is much shorter (~150 uS) when the function is called from the ISR compared to when it is run from the main function (~400 uS). Can someone explain to me why this happens and how I can fix it?

Kind regards,

Lukas


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>