Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 22:19 03 Dec 2021 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 Pico Toys

     Page 4 of 4    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 5460
Posted: 07:53am 08 Nov 2021
Copy link to clipboard 
Print this post

The backlight command works perfectly on this display, just set up GP13

OPTION SDCARD GP22
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION LCDPANEL ILI9488W, LANDSCAPE,GP8,GP15,GP9,GP13
OPTION TOUCH GP16,GP17
GUI CALIBRATE 0, 3946, 211, -1287, 853

Edited 2021-11-08 17:55 by matherp
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 1196
Posted: 08:01am 08 Nov 2021
Copy link to clipboard 
Print this post

Thanks, Peter, my suspicions confirmed. :)
-- Mick

Zilog Inside! nascom.info for Nascom & Gemini
 
Poppy

Guru

Joined: 25/07/2019
Location: Germany
Posts: 484
Posted: 10:10am 08 Nov 2021
Copy link to clipboard 
Print this post

  Mixtel90 said  https://www.waveshare.com/w/upload/8/85/Pico-ResTouch-LCD-3.5_Sch.pdf
It should work. LED_BL goes to the EN pin of CAT1, which seems to be a controllable voltage regulator feeding the backlight LEDs. Their cathodes are then groundedd by R17, R18 & R19.

It's a weird display, using a parallel LCD panel and a pseudo SPI system using shift registers to turn it into a serial one. There's also a SRAM on board with a SRAM_CS signal on GP2 but why?

MISO doesn't read anything back from the display (it has no read signal) so no transparent text or blit on this display.


Thanks for explaining again.


I ordered it for being quite cheap, just to try out .... so I will find out, I guess for not playing games it could be enough.
Andre ... such a GURU?
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 726
Posted: 02:17pm 08 Nov 2021
Copy link to clipboard 
Print this post

Many thanks, guys. I was side-tracked and only got back to this today.
Now the display, touch and SD card are all working  

Isn't this fun?  

Once again, Geoff and Pete....many, many thanks for such awesome products  

One thing that threw me was with TS calibration. I calibrated right after setting the config option and it was a mile off. Only after I cycled the power (or possibly hit the RESET button at the top of the display), did the TS calibrate properly.
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 726
Posted: 02:39pm 08 Nov 2021
Copy link to clipboard 
Print this post

A quick test:


 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 5460
Posted: 04:03pm 08 Nov 2021
Copy link to clipboard 
Print this post

  Quote    A quick test:


     
 
darthvader
Regular Member

Joined: 31/01/2020
Location: France
Posts: 49
Posted: 07:33pm 09 Nov 2021
Copy link to clipboard 
Print this post

Hi ,
I get the waveshare pico dev board with the 3.5" screen  

Screen and touch is working fine but it don't detect the sdcard , is it something special to do for this ?
I actually used the Matherp option from a previous post.


OPTION SDCARD GP22
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION LCDPANEL ILI9488W, LANDSCAPE,GP8,GP15,GP9,GP13
OPTION TOUCH GP16,GP17
GUI CALIBRATE 0, 3946, 211, -1287, 853







Cheers
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 1196
Posted: 07:49pm 09 Nov 2021
Copy link to clipboard 
Print this post

You have to use the GP pins for that model of display, I'm not sure which post you are referring to.
-- Mick

Zilog Inside! nascom.info for Nascom & Gemini
 
darthvader
Regular Member

Joined: 31/01/2020
Location: France
Posts: 49
Posted: 01:17pm 10 Nov 2021
Copy link to clipboard 
Print this post

Hi  

My board is this one : Pico eval board

As i see in the user guide ,the hardware connection to the sdcard is not SPI but 4 bit SDIO , the GP22 is the CS like it have to be but if the firmware use SPI instead , it's probably what cause my trouble  

Cheers.
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
 
Kabron

Newbie

Joined: 30/11/2017
Location: Russian Federation
Posts: 20
Posted: 06:55am 14 Nov 2021
Copy link to clipboard 
Print this post

Hi there
There is a position for PSRAM chip on the Waveshare Pico-ResTouch-LCD-3.5 board.
Is any support in plans?
Edited 2021-11-14 16:56 by Kabron
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 1196
Posted: 07:38am 14 Nov 2021
Copy link to clipboard 
Print this post

  Quote  There is a position for PSRAM chip on the Waveshare Pico-ResTouch-LCD-3.5 board.
Is any support in plans?

I personally doubt it, not from MMBasic as that's the only display that has it. However, there's no reason why you couldn't access it using your own routines. It's on the same SPI as the display but uses a different SRAM CS pin that you'll need to bring low during access. It's organized as 8M x 8bits.

I bet someone has written some SPI memory routines somewhere on here in the past...
-- Mick

Zilog Inside! nascom.info for Nascom & Gemini
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 5460
Posted: 08:52am 14 Nov 2021
Copy link to clipboard 
Print this post

  Quote  Screen and touch is working fine but it don't detect the sdcard , is it something special to do for this ?


Check the manual. You need to use the version of OPTION SDCARD where you specify all 4 pins to match this display

Probably something like

OPTION SDCARD GP22, GP5, GP18, GP19
 
darthvader
Regular Member

Joined: 31/01/2020
Location: France
Posts: 49
Posted: 06:21pm 15 Nov 2021
Copy link to clipboard 
Print this post

Thank you matherp  

It's working now  

So the full config is :


OPTION SDCARD GP22, GP5, GP18, GP19
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION LCDPANEL ILI9488W, LANDSCAPE,GP8,GP15,GP9,GP13
OPTION TOUCH GP16,GP17
GUI CALIBRATE 0, 3946, 211, -1287, 853

Edited 2021-11-16 04:21 by darthvader
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
 
Lou

Senior Member

Joined: 01/02/2014
Location: United States
Posts: 222
Posted: 07:54pm 30 Nov 2021
Copy link to clipboard 
Print this post

Thanks to matherp, Goeff, and all who worked on this, I'm getting into the PicoMite project a little late.

I got two Pi Pico boards loaded with MMBasic V5.07.00 up and running in about 15 minutes with Geoff's great manual.

I have a couple Waveshare 2.8" ST7789 touch displays coming in next week, is V5.07.00 the version I need for that display, is there any other threads I should concentrate on to get it all running ?  Looking forward to a great new toy.

Thanks,

Lou
Microcontrollers - the other white meat
 
     Page 4 of 4    
Print this page


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

© JAQ Software 2021