Xiangyu-Fu / Drone-Mercury

STM32 based drone building project
7 stars 1 forks source link

STM32 Core Reboot Error #6

Open Xiangyu-Fu opened 1 year ago

Xiangyu-Fu commented 1 year ago

When I try to use RC to control the drone, the core of the drone keeps restarting.

I (3) PWM: Initialisation finished ...
I (6) MPU6050: I2C Initialisation finished ...
I (11) MPU6050: MPU6050 Initialisation Successful
I (17) NRF24: SPI   Initialisation finished ...
I (21) NRF24: NRF24L01  Initialisation Successful ...
I (25) main: Initialisation finished! ...
reboot flag :0xC000000
reboot error:POR/PDR!
reboot flag :0xC000000
reboot error:POR/PDR!
reboot flag :0xC000000
reboot error:POR/PDR!
Xiangyu-Fu commented 1 year ago

I guess the Control.c outputs incorrect value for Timer. I may need to add some waiting time for the timer.