Hi everyone,
I have a problem when I use Timer 4 in compare mode. The problem is that it gets interrupted by the BLE stack and that make the output frequency change.
I generate a 2.7kHz square wave, but each 75ms (which is my advertising period), the timer compare will be delayed by 550us.
It appears the BLE as priority over the timer 4. Does anyone know how to fix this? My square is used to control a buzzer and this "glitch" at every 75ms create some artefact in the sound that are really anoying.
Best regards,
Jerome
