karawin / Ka-Radio32

esp32 version of Ka-Radio (https://github.com/karawin/Ka-Radio) by jp Cocatrix
525 stars 155 forks source link

LCD ST7920 shows only rubbisch data after starting music #219

Closed ArnLil closed 3 years ago

ArnLil commented 3 years ago

Hi, i have the a problem with ST7920, i am on the latest version 2.1. For me is this a new install set-up. I also use a VS1053 for encoding the data. When i choose DAC for example, the display is working fine. So clould there be a problem witch the combination of ST7920 and the VS1053 ? After starting the music (Sounds good) the display only shows rubbisch data.

What can i do to make it work ? Thankx Arnold.

karawin commented 3 years ago

May be the same CS for both devices. Check the gpio for each CS.

ArnLil commented 3 years ago

The CS is not the same, i used the standard assignments for VS1053 and LCD. The only shared GPIO's are 23 KSPI MOSI (R/W on LCD) and 18 KSPI CLK. For CS on LCD i used GPIO 13, for the VS1053 GPIO 32 is used.

karawin commented 3 years ago

What file is flashed at 0x3A2000 ? It seems to be an old problem with this lcd https://www.eevblog.com/forum/projects/how-to-properly-connect-lcd-128x64-via-spi/?fbclid=IwAR1qXZ1PZc4aHiroQldfHpb65_blHlXTpZFNmsPrjJWYfHn-_qyr6dGr89Y

ArnLil commented 3 years ago

Hi Karawin, your link brought me to the solution, i used the diode and resistor methode from https://github.com/olikraus/u8g2/issues/367#event-1272813635 the display is now fine ! btw i used the standard_adbnoled bin on 0x3A2000. Thank you ! problem solved !

karawin commented 3 years ago

Great, thanks for the feedback.