Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:26 23 Apr 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Waveshare 2 inch display 320x240, scrolling problem

Author Message
Arne
Newbie

Joined: 05/01/2025
Location: Germany
Posts: 21
Posted: 05:09pm 19 Mar 2025
Copy link to clipboard 
Print this post

If a printout/listing reaches the last display line all the previous lines will be deleted? or covered in „white“.




The editor is working fine. Here I can scroll up and down without any display problems.

The adapted parameters/options are :






Technical data of the display: https://www.waveshare.com/wiki/Pico-LCD-2

Has anybody an idea/hint?

Arne
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9957
Posted: 07:09pm 19 Mar 2025
Copy link to clipboard 
Print this post

Your configuration is wrong

Use OPTION SYSTEM SPI GP10,GP11,GP28
OPTION LCDPANEL ST7789_320,l,GP8,GP12,GP9,GP13
OPTION LCDPANEL CONSOLE 1,,,,NOSCROLL

This is a c..p display because they haven't wired SPI MISO from the display so the framebuffer can't be read (unlike their 2.8" display)
See the manual page 92 for more info
 
Xian
Newbie

Joined: 19/03/2025
Location: Germany
Posts: 25
Posted: 06:19pm 10 Apr 2025
Copy link to clipboard 
Print this post

  matherp said  Your configuration is wrong

Use OPTION SYSTEM SPI GP10,GP11,GP28
OPTION LCDPANEL ST7789_320,l,GP8,GP12,GP9,GP13
OPTION LCDPANEL CONSOLE 1,,,,NOSCROLL

This is a c..p display because they haven't wired SPI MISO from the display so the framebuffer can't be read (unlike their 2.8" display)
See the manual page 92 for more info


Hi @matherp

thanks to your comment with the correct options i got this crappy display working, too. So i have a Pico W with that display working. Now i would like to add a sd card to the system. I have a spi breakout board but now i am asking myself, how i can connect that, as the display already seems to "grab" the SYSTEM SPI option.
Does that mean, i cannot have the display and the sd card connected at the same time?

Do you have any recommendation how to get the sd card working in that environment?

Thanks a lot for your help!

Christian
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9957
Posted: 06:47pm 10 Apr 2025
Copy link to clipboard 
Print this post

  Quote  Do you have any recommendation how to get the sd card working in that environment?


The SDcard can share the system SPI so wire GP10, GP11, and GP28 to SD-CLK, SD-IN, and SD-OUT, Then pick any free pin for SD-CS and type OPTION SDCARD freepin. Assuming you have also wired power correctly - it should work. NB: If your SD breakout is one of the ones targeted at Arduino with 5V to 3.3V conversion it probably won't work. You need one that just wires the pins direct.
 
Xian
Newbie

Joined: 19/03/2025
Location: Germany
Posts: 25
Posted: 06:54pm 10 Apr 2025
Copy link to clipboard 
Print this post

  matherp said  
The SDcard can share the system SPI so wire GP10, GP11, and GP28 to SD-CLK, SD-IN, and SD-OUT, Then pick any free pin for SD-CS and type OPTION SDCARD freepin. Assuming you have also wired power correctly - it should work. NB: If your SD breakout is one of the ones targeted at Arduino with 5V to 3.3V conversion it probably won't work. You need one that just wires the pins direct.


Thanks @matherp for you quick response,

the board is this: https://www.adafruit.com/product/4682
So only 3V, should work, if i did not get you wrong.

Thanks and best regards,

Christian
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2025