-
Notifications
You must be signed in to change notification settings - Fork 164
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
Unable to run the library on SSD1327 #276
Comments
If i2cdetect isn’t finding it, then it isn’t really an issue with this library |
@sofian :
|
No, it is a model that only has i2c: https://www.tinytronics.nl/shop/en/display/oled/1.5-inch-oled-display-128*128-pixels-white-i2c
I don't have an oscilloscope at hand but I could do it. Also as explained the i2cdetect is able to detect other i2c devices. So I don't know how it would be possible that the SDA/SCL would not be activated. But I'll try to get a hand on a scope today.
Also: it looks like the address on that device is 0x78 which is outside the normal range. I tried to scan non-regular addresses but it still couldn't find the device:
|
Huh? This is a contradiction, no? |
Sorry @thijstriemstra I was not clear. There are many manufacturers that produce screens with the SSD1327. Some allow switch between SPI and I2C with a jumper. The one I am trying to make run does not -- likely there is a way to switch it between both I2C and SPI but this particular screen does not provide a jumper to do this. |
@thijstriemstra We have made tests with another model that has SPI jumper (it is SPI by default) and it was working. |
@sofian :
|
Can you provide a link to this model, would be good to document what model works with SPI. |
No. I made a test with another SSD1327 spi/i2c screen in SPI mode and it was working. We tried to switch it to I2C but it did not work / however, we did not have proper equipment to solder the resistor on the SMD jumper, we did our best but I am not sure about the connections, I don't trust that that SSD1327 is still working).
This is a picture of the ssd1327 i2c-only screen wiring (it's the green screen on the left, not the red one next to it): This is a picture of the connections on the Pi:
Yes I will have a look. |
Sure: here. |
I have a related issue, in that I can see the device exactly where expected at 0x3c when using i2cdetect, but when trying to initialize the device i get an error that the device can't be found on 0x3c. I'm using a Pi 4. The code is as simple as possible, hopefully I haven't made any trivial errors there:
when run, it yields the following traceback:
When trying one of the included examples, I get the same error. Here is an image of the output along with the i2cdetect results: Any thoughts on what might be going on here? |
I have the same exact problem as @zsmith-ustc. I have confirmed the display itself working with Arduino and U8G2 library, but other libraries did not worked for me. I came across some other posts stating that some of the displays are not sending ACK back to master device, can this be the cause? If so, can the library get away with not getting ACK signal? |
I have exactly the same problem as I have the same exact problem as @zsmith-ustc and ssarna1.
|
Type of Raspberry Pi
RPi 3 B+
Linux Kernel version
Linux raspberrypi 4.19.57-v7+ #1244 SMP Thu Jul 4 18:45:25 BST 2019 armv7l GNU/Linux
Expected behaviour
The examples on SSD1327 should run fine. It works in SPI mode but not in I2C mode.
Actual behaviour
The device is not being detected.
Things I tried
I believe the I2C is setup properly because I ran a test with an i2c circuit using an Arduino as a slave (cf. https://radiostud.io/howto-i2c-communication-rpi/) and i2cdetect was able to find the device.
I also know the I2C device works because I was able to control it using an ESP32 and the U8g2 library. I have two of these devices: both of them work with the ESP32, none of them work on the Pi.
I also tried to change my wires just to make sure, but without any success.
I also tried to change from 3.3V to 5V as Vcc (the SSD1327 can support it) but it also did not change anything.
Wiring
Here is how my device is wired:
The text was updated successfully, but these errors were encountered: