Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 9 months ago.
Board stops working properly after a while when usign BLE code
I was doing some test with the Tiny BLE and using the "Seeed_Tiny_BLE_Get_Started" program I discovered that after 5 or 10 minutes, depends each time, the board stops reading the MPU6050 data and the main loop stops working properly, start to work to slow or stops completly, but the button interrupt work properly.
I create my own program to read the MPU data and this works properly during some hours, and then when I add the BLE the same problem apears again.
How can I solve this? It looks like a memory overflow but I'm not good with the programing and don't know how to resolve it.
Question relating to:
8 years, 3 months ago.
It seems that I2C communication between MPU6050 and nRF51822 is interrupted by BLE stack interrupts, which causes MPU6050 pulls I2C's SDA down and stops working.
The function - check_i2c_bus() in the Seeed_Tiny_BLE_Get_Started program is a try to recover I2C communication.