-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ssd1306 NO_NAME I2C FW not work rp2040 #2528
Comments
I have no idea what could be the reason. Maybe search in this forum for rp2040. |
I checked all the problems with rp2040 but there is nothing about the fact that I2C software doesn't work. I'm using micro defaul settings no overclocking or anything. |
I could try powering the display with 5V as it accepts this power while keeping the data level at 3.3V. But first I'll do a test with 5V arduino and software mode and see if everything works. |
First I do a test with software to verify that the i2c display is detected correctly. |
I scanned with software and found 2 addresses: Device found at 0x79 However, with the I2C Hw test I only find one address and it is different from the other 2 previous ones. Finished In theory I should have the same addresses. |
I tried changing gpio for i2c software and the scan results in the same 2 addresses. |
I noticed that if I shift to the right of a position I find the correct address of 0x3C. |
However, the peripheral in I2C sw is detected. |
Software mode that doesn't work: Hardware mode that works: GPIOs equal. |
I also did the same graphicTest on an rp2040 module and it works the same way as my coustom card. |
Tested on arduino one, I2C works both fw and hw. I also scanned I2C addresses with softwire and in this case I get the correct address 0x3C. I think there are timing problems with RP2040 in software mode. |
Thanks for the testing and reporting this here. I agree to you conclusion and i am sorry not to be able to help here... |
Hi,
I'm testing with sdd1306 in I2C on a board with rp2040.
It works well if I use I2C in HW but if I use software mode the display remains black.
I used the sample file attached to the library, especially the graphicTest.ino.
I also tried to change the gpio but I don't get results.
The text was updated successfully, but these errors were encountered: