adafruit / Adafruit_CircuitPython_SSD1327

DisplayIO drivers for grayscale OLEDs driven by SSD1327
MIT License
3 stars 7 forks source link

Error Running I2C Example on Pi CM4 #15

Closed AlexKlimaj closed 2 years ago

AlexKlimaj commented 2 years ago

I have a custom Pi 4 Compute Module board with the "Adafruit Grayscale 1.5" 128x128 OLED Display" and an I2C LED driver on I2C1. I have the I2C LED driver working on the bus no problem. I am trying to get the adafruit_ssd1327 library running. When I run the example code, I get garbage displayed on the screen. I see traffic on the I2C1 bus when I run the code but the data does not look correct. It looks like a 0x80 is getting inserted every other byte.

scope_9

makermelissa commented 2 years ago

Are you running it with bare metal CircuitPython or on Linux? If Linux, it may be related to https://github.com/adafruit/Adafruit_Blinka_Displayio/issues/72.

AlexKlimaj commented 2 years ago

Are you running it with bare metal CircuitPython or on Linux? If Linux, it may be related to adafruit/Adafruit_Blinka_Displayio#72.

Raspbian on the Pi4 Compute Module.

Behavior matches this. https://github.com/adafruit/Adafruit_Blinka_Displayio/issues/80

It looks like 0x80 is getting inserted between each byte in the init sequence.

makermelissa commented 2 years ago

Closing in favor of https://github.com/adafruit/Adafruit_Blinka_Displayio/issues/80 since the issue isn't part of this library.