pondahai / rp2040-doom-ili9341

11 stars 1 forks source link

ILI9341 Colors invertet / no Audio on I2S Pins GP26/27/28 #2

Closed SRDWA closed 2 weeks ago

SRDWA commented 3 weeks ago

Hello, unfortunately I have a problem with my SPI ILI9341 3.2" display (Black PCB). The image (the colors) are inverted. I took a screenshot and then inverted it in a graphics program, then the colors are correct.

The second problem I have is that no digital audio is coming out of the I2S pins. Have you disabled the digital audio output? I saw that you placed the "BACK" button on GP28. Is there a conflict there?

Unfortunately I have no idea about compiling. Unfortunately I have to rely on the UF2 images.

SRDWA commented 3 weeks ago

Picture from Display.

20240817_205112

SRDWA commented 3 weeks ago

Picture inverted in grafics program.

20240817_205112

pondahai commented 3 weeks ago

首先我解答關於I2S 是得我關閉了I2S 改為使用PWM於 P7 這是因為我要適應我的硬體不得已的做法

螢幕反相的問題請讓我想一想為什麼會這樣 您可以先換另一塊(不同廠牌)LCD試試看 我之前有遇到同樣的晶片編號 但卻是反相的畫面

I've switched to using PWM on pin P7 instead of I2S because my hardware configuration doesn't allow for the change.

Regarding the screen inversion issue, let me know if you have any other ideas and/or want to try different LCDs. I had a similar experience with a different chip ID but still got an inverted screen.

SRDWA commented 3 weeks ago

Thank you very much for your quick reply. I read that you can invert the display using software. I looked at the "magc.h". This is not possible? See screenshots.

Screenshot 2024-08-18 105154 Screenshot 2024-08-18 105500

A second display has been ordered, this time with a red PCB. However, I would like to use the display with the black PCB because it is an IPS screen.

Audio: would it be possible to compile my own binary? I would need the I2S functionality. Since this requires the GP28, you could put the button on a free GPIO, for example GP14.

Screenshot 2024-08-18 110117

pondahai commented 3 weeks ago

您提到的這些項目 可能需要您自己嘗試了 抱歉 我目前沒有答案

You may need to try these items yourself. Sorry, I don't have an answer at the moment. ^_^

SRDWA commented 3 weeks ago

The ILI9341 with red PCB (TN display) displays the image correctly. However, the display has a very poor viewing angle. As I don't have the knowledge to compile the source code, I'm now looking for a hardware solution to improve the sound. Does it make sense to buffer pin 7 and connect an analog amplifier with a real speaker there?