Closed DrumClock closed 2 years ago
pull up resistors are not connected to the i2C bus! Even if I add them, there is still no communication between Kipper and EBB
MCU 'EBBCan0' shutdown: i2c timeout
hi, did you get this to work ? i am unable to use pb3/pb4 pins either on ebb42 board
Hi @ldr it works fine for me on two EBB42 boards. Do you have the current version of FW Klipper?
Also works fine for me (with recent firmware) when I specify the i2c pins:
[display ebb1106]
lcd_type: sh1106
i2c_mcu: EBBCan # The name of the micro-controller that the chip is connected to.
i2c_address: 60 # 0x3C
i2c_software_scl_pin: PB3
i2c_software_sda_pin: PB4
I believe i2c_bus
cannot be used because pins PB3 and PB4 are defaulted to the SPI bus. Visible in the constants screenshot (under "BUS_PINS_spi3") and in Klipper source I2C and SPI
Note: I ran into errors until I realized the i2c address on the silkscreen of my OLED screen was wrong! PS- I'm using CAN connection
I connected an OLED 0,96" display to the I2C connector - EBB 42 CAN V1.2 connected via USB. This display is functional when connected to the I2C bus on the printer's motherboard.
klipper configuration:
Unfortunately, I still get a timeout error on the i2C. I tried SDA/SCL both PB3,PB4 and PB6,PB7.
Datasheet STM...
I2C1
I2C2