mipi_dbi: ssd1327: some screens don't work with the mipi_dbi bus #78583
Replies: 5 comments 1 reply
-
Hi @lucbeaufils! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
Beta Was this translation helpful? Give feedback.
-
Removing STM32 tag as the issue doesn't seem to be related with the SoC here. |
Beta Was this translation helpful? Give feedback.
-
@erwango, do you have any suggestions for the developer. Looks like he is trying to enable the display using an STM32 board. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately no. @danieldegrasse Maybe ? |
Beta Was this translation helpful? Give feedback.
-
Hi @lucbeaufils, I'm not certain what would be causing your display to have issues, but one difference I see between the two driver revisions is the delay on the reset pin pulses. From what I can tell (based on your overlays): In the working driver, there is an initial delay of 1ms, then RESET will be pulled low for 100us, and released. An additional 300 millisecond delay occurs before initialization starts. This is probably where I'd look first to see if that is causing the issue for your display |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Hardware:
I wrote a driver for SSD1327 screen controller (#74483).
The first version uses the basic spi bus and the second one uses the new MIPI DBI bus from Zephyr. I used only one screen at time to test the driver and everything was working.
However, for another project, I shop a new screen from the same place and noticed that it wasn't working with the MIPI DBI version. A third one had the same problem.
I managed to get all three functional with the MIPI DBI free version. After comparing the logical signal with a logic analyser, their is no difference between the working and the non-working screen with MIPI DBI.
For the moment, I have no idea where the problem comes from.
To Reproduce
I use the cfb code example with an ssd1327 screen in spi 4 wire.
When using the version with mipi dbi bus (branch: main, hash: ca48767), I use the following overlay for my board (stm325l62e_dk):
And with the version without (hash: 61e5932ce1), I use this one:
Expected behavior
All SSD1327 screens must work with the MIPI DBI bus in the same way as with the simple SPI bus.
Impact
Either the screen works as expected, or it doesn't work at all. It depends on each screen
Beta Was this translation helpful? Give feedback.
All reactions