Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Papirus Zero Doesnt work with GPIO cable, but works without?? #189

Open
aixsyd opened this issue Jun 4, 2018 · 1 comment
Open

Papirus Zero Doesnt work with GPIO cable, but works without?? #189

aixsyd opened this issue Jun 4, 2018 · 1 comment

Comments

@aixsyd
Copy link

aixsyd commented Jun 4, 2018

If I attach my Papirus Zero directly to my Pi Zero with header attached, it works fine.

i2cdetect -y 1

`pi@raspberrypi:~ $ i2cdetect -y 1

 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: -- -- -- -- -- -- -- -- -- -- -- -- --

10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --

50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

70: -- -- -- -- -- -- -- --
`

but if I put a GPIO ribbon cable between the two, i2cdetect fails to detect #48 and no papirus commands work. I have tried reseating, and switching cable directions.

@tvoverbeek
Copy link
Contributor

Probably the signal quality deteriorates due to the longer cable.
You can try to lower the i2c baudrate (default = 100000).
This can be set by changing a line in /boot/config.txt:
Change dtparam=i2c_arm=on to
dtparam=i2c_arm=on,i2c_arm_baudrate=50000 for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants