Priority for BLE Send

Hi,

I'm developing with Segger and nRF52832.

I'm writing a code that makes two tasks into RTOS and sends data to BLE after I2C communication and SPI communication respectively

However, when sending data to the ble, sometimes two tasks execute the ble send function at the same time, so the ble communication stops.

Is there a priority setting for ble? For example, when task1 is using the ble send() function, is task2 possible to stop using the ble send() function for a while?

Thank you.

Parents Reply Children
Related