Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:37 26 Nov 2024 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 : Problem with ILI9488 and SD CARD + TOUCH

Author Message
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 828
Posted: 04:00pm 26 Feb 2024
Copy link to clipboard 
Print this post

Hi,

I have problems with a ILI9488 and the onboard SD card holder, as well as with the touch.
I know that there are problems with the chip. That's why I have ONLY the card holder connected at the moment and still can't access my card.

What have I done:
- the 1K resistors in MOSI, MISO and CLOCK have been bypassed
- an additional 1µF was soldered between VCC and GND pins on the card holder
- a separate line for the power supply was soldered to the 1µF

At the moment, MISO, MOSI and CLC are only soldered to the card holder - no card is found despite this (I have tried several cards and card adapters) - Nevertheless, no SD card is found.  

Before that, I had MISO, MOSI and CLK connected to the display and touch. First I connected MISO of the ILI9488 via a 680R, then disconnected it completely - no difference!
The display worked perfectly, the touch gives an error when calibrating by pressing the second point, the display itself always worked perfectly!
I operate the display with 3V3 and have set the jumper J1 to supply the card holder and the touch with voltage.

My display looks like this:


Currently only MISO, MOSI, CLK and CS are connected to the card holder via GP22. Nevertheless, the SD card does not work...

These are my OPTIONS:
PicoMite MMBasic USB Edition  5.09.00b2
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION SYSTEM SPI GP18,GP19,GP16
OPTION SYSTEM I2C GP6,GP7
OPTION COLOURCODE ON
OPTION KEYBOARD GR
OPTION LCDPANEL CONSOLE
OPTION DISPLAY 26, 60
OPTION LCDPANEL ILI9488, LANDSCAPE,GP15,GP14,GP13,GP2
OPTION TOUCH GP12,GP11,GP10
OPTION SDCARD GP22
OPTION AUDIO GP0,GP1', ON PWM CHANNEL 0


Does anyone have any suggestions as to what else I could try?

Frank
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2129
Posted: 04:25pm 26 Feb 2024
Copy link to clipboard 
Print this post

I used a diode and resistor as recommended on this forum.

 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2129
Posted: 08:34pm 26 Feb 2024
Copy link to clipboard 
Print this post

same display, touch calibrated and card reads

 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 828
Posted: 08:07am 27 Feb 2024
Copy link to clipboard 
Print this post

To rule out the display as a problem, I have currently only connected MISO, MOSI, CLC, VCC and GND to the card holder and measured all the lines. Nevertheless, I still can't access the SD card and get the error that no card is inserted...  

Can you give me a link to your diode conversion?

Frank

UPDATE:
I have now soldered on a completely different SD card holder
=> Error : SD Card not found
Damn it again, why doesn't that work????
Edited 2024-02-27 18:22 by Frank N. Furter
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6787
Posted: 08:34am 27 Feb 2024
Copy link to clipboard 
Print this post

Where did you connect the new holder?
The one on the display has series resistors on it. These often cause problems and may need to be shorted out when using the display with a PicoMite. his only seems to affect some SD cards, others seem to be ok with them left in circuit.
Mick

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

Guru

Joined: 18/12/2014
Location: Australia
Posts: 896
Posted: 08:59am 27 Feb 2024
Copy link to clipboard 
Print this post

  Frank N. Furter said  
The display worked perfectly

Have you tried the display where it would need to use MISO. e.g. the PIXEL() function or a BLIT. A quick GUI TEST LCDPANEL without one of these would not use MISO I think.
The touch stopping at the second point means it is getting the same coordinates for both the first and second touch which no/bad MISO would cause. Also SDCard needs MISO so this is where to look. The Display working for write would indicate that MOSI and CLK are OK.
Latest F4 Latest H7
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9115
Posted: 08:59am 27 Feb 2024
Copy link to clipboard 
Print this post

I've got one SSD1963 5" display with the same issue - buzzed out all the connections, replaced the SD socket and still nothing. Another, apparently identical, 5" SSD1963 works perfectly. I can only assume in my case it is a PCB fault
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 828
Posted: 09:34am 27 Feb 2024
Copy link to clipboard 
Print this post

Ok, I've finally found the error!

After checking the circuit for what felt like the 100th time, I realized that I had connected MOSI to the wrong pin on the PI!
(I had already checked this so many times...)

Now I know again why the four-eyes principle is so good! It's just stupid when you only have two eyes...  

I still had to replace the resistors R1, R2, R3 with 0R and the 680R modification on the display did not work. The card access did not work with the three resistors or even with the 680R.

The modification with the diode ( https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=11419&LastEntry=Y#194465#194399 ) then worked very well!
(Thanks to stanleyella for the hint!)

Now I just have to find out why the RTC is not recognized!  

Frank

UPDATE:
The RTC is now also working. I still had a module with a DS1307 left here. I had overlooked the fact that the chip only works with 5V.
=> Pullups removed, module connected to 5V
Now the RTC also works!
...a difficult birth...
Edited 2024-02-27 20:03 by Frank N. Furter
 
Print this page


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

© JAQ Software 2024