2022-04-02 03:54:53 +02:00
2022-04-02 03:54:53 +02:00
2022-04-01 20:37:13 +02:00
2022-04-02 03:54:53 +02:00
2022-04-01 20:37:13 +02:00
2022-04-01 20:37:13 +02:00
2022-04-01 20:37:13 +02:00
2022-04-01 20:37:13 +02:00
2022-04-02 03:54:53 +02:00
2022-04-01 20:37:13 +02:00
2022-04-01 20:37:13 +02:00
2022-04-01 20:37:13 +02:00
2022-04-01 20:37:13 +02:00
2022-04-01 20:37:13 +02:00

Bluepill USB-I2C gateway

Hardware

This is a firmware for STM32F103R8T6 Bluepill.

Customization

The project can be customized using STM32CubeMX.

there's some changes in the i2c HAL driver, careful!

line 6364

  // HACK - ignore HAL_I2C_ERROR_AF
  if (hi2c->ErrorCode != HAL_I2C_ERROR_NONE && hi2c->ErrorCode != HAL_I2C_ERROR_AF)

this allows receiving frames of unknown length

Building & programming

use the makefile and flash using a st-link dongle.

Requires: Make, arm-none-eabi-gcc, st-flash

make -j
make flash
S
Description
bluepill firmware that turns it into a USB-I2C multimaster gateway with a simple serial protocol.
Readme
9.7 MiB
v0.1
Latest
2022-04-03 19:15:07 +00:00
Languages
C 99.1%
C++ 0.5%
Assembly 0.3%