Search found 4 matches
- Thu Feb 03, 2022 12:47 am
- Forum: ESP32 Arduino
- Topic: Core Panic with Bluetooth + freeRTOS
- Replies: 10
- Views: 13353
Re: Core Panic with Bluetooth + freeRTOS
All good ESP_Sprite! I managed to debug it, it has nothing to do with the functioning of the ESP32 or the bluetooth. I was using "\n" newline characters that are showing up in my data and therefore getting split data packets when I should not have. Thanks again for the rapid responses and assistance!
- Wed Feb 02, 2022 3:38 am
- Forum: ESP32 Arduino
- Topic: Core Panic with Bluetooth + freeRTOS
- Replies: 10
- Views: 13353
Re: Core Panic with Bluetooth + freeRTOS
Thanks ESP_Sprite, admittedly removing those two lines fixed the core panic issue I was seeing. I had to move around the sequence of initialisation in the setup() to get the Bluetooth to work properly. For example, sometimes I cannot connect to the ESP32 bluetooth port on my Mac saying 'resource bus...
- Tue Feb 01, 2022 10:40 pm
- Forum: ESP32 Arduino
- Topic: Core Panic with Bluetooth + freeRTOS
- Replies: 10
- Views: 13353
Re: Core Panic with Bluetooth + freeRTOS
ESP_Sprite, I was attempting to use a binary semaphore to remove the while loop that waits for the external interrupt and I believe xSemaphoreGive(semaphore); was calling before the xSemaphoreCreate() line was executed in setup hence disabling the interrupts. I believe it is not needed for how I am ...
- Tue Feb 01, 2022 5:37 am
- Forum: ESP32 Arduino
- Topic: Core Panic with Bluetooth + freeRTOS
- Replies: 10
- Views: 13353
Core Panic with Bluetooth + freeRTOS
Hi all, I have a simple program to measure an external ADC via SPI with the ESP32 and I am trying to send the raw data received over bluetooth to my PC. I have implemented freeRTOS within the arduino IDE and when using the Serial port the code works without issues. When I attempt to do the same usi...