Hello everyone,
I’m trying to read and possibly modify the parameters of my ebike motor controller, which uses a microcontroller labeled STM32FEB (specifically STM32F103C6T6 on the chip).
On the PCB, there are two labeled pads: TX (SCL) and RX (SDA). Tracing these with a multimeter shows they are connected through resistors to pins 42 (PB6/SCL) and 43 (PB7/SDA) on the STM32 chip, which suggests an I²C interface.
Additionally, there are four unlabelled pads on the PCB. After testing continuity, I found that:
I would appreciate any guidance on:
Thanks in advance for your help!
I’m trying to read and possibly modify the parameters of my ebike motor controller, which uses a microcontroller labeled STM32FEB (specifically STM32F103C6T6 on the chip).
On the PCB, there are two labeled pads: TX (SCL) and RX (SDA). Tracing these with a multimeter shows they are connected through resistors to pins 42 (PB6/SCL) and 43 (PB7/SDA) on the STM32 chip, which suggests an I²C interface.
Additionally, there are four unlabelled pads on the PCB. After testing continuity, I found that:
- One pad connects to pin 34 (SWDIO),
- Another to pin 37 (SWCLK),
- A third one is connected to pins 1, 8, 24, 36, and 48, which I believe are GND,
- The fourth seems to have momentary continuity to the same GND pins and continuous continuity to pins 43 and 47.
I would appreciate any guidance on:
- What tools (e.g., ST-Link, logic analyzer, USB-to-I2C, etc.) I should use,
- What software is recommended to read or write to this controller,
- And any experiences or known firmware/protocols used on STM32-based ebike controllers.
Thanks in advance for your help!