This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How long(maximum time) can a BLE interrupt stay in its ISR?

Hi, We are implementing a device where we need to use BLE and PWM. For generating PWM we use app_pwm library. To decide on the number of cycles of PWM pulses, we use a separate timer which stops the app_pwm when the desired number of cycles(or period) is reached. The problem now is what if the BLE interrupt overrides the timer interrupt which decides when the stop the PWM? So, we would like to know what is the longest time that can be taken by the BLE to service its interrupts? When I say BLE, first the device would be in discoverable mode (advertisement mode), once the device is connected to the mobile app, it would use bonded/connected mode with the mobile phone app(not beaconing) Question 2: How often can the BLE interrupts happen in the worst case scenario? Thanks.

Parents Reply Children
No Data
Related