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