nccgroup/TPMGenie

Raspberry Pi 3B i2c hardware bug

d0ntrash opened this issue · 1 comments

Regarding the i2c hardware bug.
I use a Raspberry Pi 3B in my setup and tried to solve the issue as described in the known issue section. Unfortunately, that didn't help.

I still had the problem that sometimes the ACK coming from the PI was not recognized by the Teensy.
grafik

I the end I solved it by using the i2c_gpio bitbang kernel module instead of the hardware implementation.

To do so, I replaced
dtparam=i2c_arm=on,i2c_arm_baudrate=100000
by
dtoverlay=i2c-gpio,i2c_gpio_sda=2,i2c_gpio_scl=3
in the config file '/boot/config.txt'.

Nice! I'm quite pleased you found a suitable solution to this frustrating problem.