Index
- Eclipse IDE and JTAG
- Unlock STM32F103 with JTAG
- Flash firmware using Bluetooth
- Serial Port Bluetooth
- Serial Port Plot
- SM32F103C8T6 use 128kbytes flash
- Observer
- Shane Colton documentation and firmware
- Firmware
- Part 1: Field-Oriented
- Part 2: Field-Oriented
- Sensorless Pneu Scooter - part 1
- Sensorless Pneu Scooter - part 2
- Sensorless Pneu Scooter - part 3
- Texas Instruments videos
- Chinese controllers code
- Chinese balance group reference design
- Kerry D. Wong -- A Self-Balancing Robot
- Self balance bicycle
- PID
- LQR
- PID and LQR, MATLAB
- Steve Brunton videos
Issue communications
---
Also try avoiding reading a single byte, minimum two, it is another errata of the F1 I2C.
Finally, I am able to read correct data, and write to configuration registers of the MPU6050 module.
The only difference between my working code and earlier code is that earlier, I was trying to read WHO_AM_I byte (single byte read operation) at startup, which froze the I2C driver, hence making later transactions fail.
Now I am reading the sensor data in burst mode (14 registers at once starting at 0x3B). It's working as expected. To read a single byte, I read multiple bytes and discard the extra data.
---