Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:05 22 Nov 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 : ILI8341 BREADBOARD

Author Message
georgestheking
Newbie

Joined: 21/12/2021
Location: Belgium
Posts: 32
Posted: 02:17pm 24 Feb 2023
Copy link to clipboard 
Print this post

Hi,

There is a new breadboard from China for the pico including I/O and a ILI9341 LCD.
I am trying to use it.
I use the last version of PICOMITE.

first line to init SPI : OPTION system spi GP10,GP11,GP8

i get "Error : DScard already configured"

Any idea ?


Best regards

Georges
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10633
Posted: 02:25pm 24 Feb 2023
Copy link to clipboard 
Print this post

OPTION RESET first?
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4148
Posted: 03:09pm 24 Feb 2023
Copy link to clipboard 
Print this post

  georgestheking said  There is a new breadboard from China for the pico including I/O and a ILI9341 LCD.

URL please

John
 
georgestheking
Newbie

Joined: 21/12/2021
Location: Belgium
Posts: 32
Posted: 04:11pm 24 Feb 2023
Copy link to clipboard 
Print this post

Here is the link :

https://fr.aliexpress.com/item/1005004743550177.html?spm=a2g0o.cart.0.0.37c5378dD9TQEh&mp=1&gatewayAdapt=glo2fra

Best regards

Georges
 
georgestheking
Newbie

Joined: 21/12/2021
Location: Belgium
Posts: 32
Posted: 04:14pm 24 Feb 2023
Copy link to clipboard 
Print this post

An for support

https://wiki.52pi.com/index.php?spm=a2g0o.detail.1000023.1.2da3N9ZwN9ZwZx&title=EP-0164

Best regards

Georges
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8304
Posted: 04:35pm 24 Feb 2023
Copy link to clipboard 
Print this post

I'm not certain that that display is compatible with MMBasic. Someone else may know better, but the signals are unfamiliar to me. It looks rather like a serial data input rather than SPI.

The touch device has the signals I would expect for SPI, but it has no IRQ signal.
Edited 2023-02-25 02:41 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10633
Posted: 04:40pm 24 Feb 2023
Copy link to clipboard 
Print this post

Based on a brief examination of the pinout of this board there is no way to use it in MMBasic - the wiring appears to be catastrophically stupid - different SPI for touch and the display with the display bitbanged: GP7 for WR makes no sense
Edited 2023-02-25 02:42 by matherp
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4148
Posted: 05:06pm 24 Feb 2023
Copy link to clipboard 
Print this post

Is it this

In which case is it OK?

edit: was working URL but now I'm getting Bad Gateway

pins used here

John
Edited 2023-02-25 03:10 by JohnS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10633
Posted: 05:30pm 24 Feb 2023
Copy link to clipboard 
Print this post

  Quote  In which case is it OK?

See my reply above
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4148
Posted: 05:46pm 24 Feb 2023
Copy link to clipboard 
Print this post

  matherp said  
  Quote  In which case is it OK?

See my reply above

I didn't understand such as "GP7 for WR makes no sense" when GPIO7 isn't called WR.

Sorry. Still mystified.

John
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10633
Posted: 06:44pm 24 Feb 2023
Copy link to clipboard 
Print this post

GP15 WR, GP7 SDI, still complete nonsense
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4148
Posted: 06:56pm 24 Feb 2023
Copy link to clipboard 
Print this post

Thanks.

John
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8304
Posted: 08:19pm 24 Feb 2023
Copy link to clipboard 
Print this post

Just a guess based on the mnemonics - it isn't SPI.

RST - reset (fair enough!)
CS - device select (probably active low)
RS - register select (to change values in them - probably active low)
WR - write - not sure of polarity
SDI - serial data IO

It's not going to work with MMBasic anyway.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025