bigtreetech / BIGTREETECH-GTR-V1.0

BIGTREETECH GTR V1.0 motherboard is a high-performance 3D printer main control board with the core controller STM32F407IGT6, which was launched by the 3D printing team of ShenZhen BigTree Technology CO.,LTD ., aiming at solving some problems existing in the motherboard market. The BIGTREETECH GTR V1.0 is the motherboard, and the BIGTREETECH M5 V1.0 is the expansion board.
90 stars 55 forks source link

Using the I2C connector on the BTT GTR 1.0 board #69

Open DEAth1981 opened 3 years ago

DEAth1981 commented 3 years ago

When I try to use the i2c bus (pins PH7 and PH8) on the BTT GTR 1.0 board, I get an error message from Klipper that says " Unknown i2c_bus ‘i2c3’ ". According to the board pinout scheme, PH7=I2C3_SCL, and PH8=I2C3_SDA.

The problem is that when compiling the firmware for BTT GTR 1.0 (STM32F407) in the part of the i2c implementation, the code from STM32F1xx is used (and this chip does not have i2c3), then in the compiled firmware the i2c3 implementation is completely absent for BTT GTR 1.0 (STM32F407).

How to use the I2C connector on the board?