Search found 3 matches

by Lucas Cartaman
Tue Apr 02, 2024 4:26 pm
Forum: General discussion
Topic: BluePill crashes but keeps output pins in their last state
Replies: 0
Views: 770

BluePill crashes but keeps output pins in their last state

I am using a Blue Pill STM32103FC8T6 for flight control of a drone and an MPU6050 as an IMU connected to the I2C2 port (PB10-SCL and PB11-SDA). With this code everything works normally: #include <SoftWire.h> SoftWire HWire(PB10, PB11, I2C_FAST_MODE); With this code the Blue Pill crashes after about ...
by Lucas Cartaman
Tue Apr 02, 2024 4:02 pm
Forum: General discussion
Topic: code crashing?, PC13 flashing? i2c
Replies: 7
Views: 5718

Re: code crashing?, PC13 flashing? i2c

I also had the same problem, with exactly the same hardware (Blue Pill STM32F103C8T6 and an MPU6050). If it is connected to the I2C1 port it works correctly with the Wire.h library, when connected to the I2C2 port (PB11 - SDA and PB10 - SCL) and using TwoWire the code crashes after a few seconds and...
by Lucas Cartaman
Mon Oct 30, 2023 12:37 pm
Forum: General discussion
Topic: Troublesome Issues with Program Upload on Blue Pill Board
Replies: 1
Views: 3528

Troublesome Issues with Program Upload on Blue Pill Board

A few months ago, I bought a Blue Pill board and conducted several tests with it, always using the Arduino IDE on a breadboard. Today, I wanted to create a more final project, so I used a universal PCB. After finishing it and double-checking all the connections, I attempted to upload a program and e...

Go to advanced search