Gatt affects rtc task

edo76mal
Posts: 9
Joined: Wed May 11, 2022 10:17 am

Gatt affects rtc task

Postby edo76mal » Mon Aug 26, 2024 12:57 pm

I have a projetc with:

- task rtc on core 1 to read i2c imu with 4000 us timing
- task app_main on core 0
- gatt on core 0.

I test the projetc with
If I have not connetcted gatt (I usualy use app nrf) task rct works in a good way taking 4000 us. If I connect gatt with app nrf, rtc task begins to have a random behaviour, taking mainly 4000us, but sometimes 5000 us and next cycle 3000 us.


.

edo76mal
Posts: 9
Joined: Wed May 11, 2022 10:17 am

Re: Gatt affects rtc task

Postby edo76mal » Mon Aug 26, 2024 1:10 pm

Another information: the problem is linked with esp_ble_gatts_send_indicate_local. If I don't call this function no problem. But I need to send data via ble....

Who is online

Users browsing this forum: No registered users and 277 guests