ATMEGA328P ILI9488 hardware SPI not work
-
- Posts: 10
- http://meble-kuchenne.info.pl
- Joined: Wed Feb 10, 2021 2:00 pm
- Has thanked: 1 time
ATMEGA328P ILI9488 hardware SPI not work
Hello. With the ATMEGA328P microcontroller, the ILI9488 SPI display does not work hardware SPI, the MK just hangs. The software SPI works, but very slowly.
-
- Matrix Staff
- Posts: 1676
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 587 times
- Been thanked: 557 times
Re: ATMEGA328P ILI9488 hardware SPI not work
Hello.
Can you post your fcfx and .c files please.
Have you run Library updates to make sure you are sung the latest components?
Can you post your fcfx and .c files please.
Have you run Library updates to make sure you are sung the latest components?
Martin
-
- Posts: 10
- Joined: Wed Feb 10, 2021 2:00 pm
- Has thanked: 1 time
-
- Matrix Staff
- Posts: 1676
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 587 times
- Been thanked: 557 times
Re: ATMEGA328P ILI9488 hardware SPI not work
Hello.
Can you try the attached please.
If it works, it's because the O/P is the SS on SPI hardware.
If unconnected or low, it puts the SPI in slave mode and causes it to lock up.
SS must be either connected to a pull up resistor or set output to high.
Can you try the attached please.
If it works, it's because the O/P is the SS on SPI hardware.
If unconnected or low, it puts the SPI in slave mode and causes it to lock up.
SS must be either connected to a pull up resistor or set output to high.
- Attachments
-
- Flowcode1 barmaleyka.fcfx
- (12.08 KiB) Downloaded 1167 times
Martin
-
- Posts: 10
- Joined: Wed Feb 10, 2021 2:00 pm
- Has thanked: 1 time
Re: ATMEGA328P ILI9488 hardware SPI not work
Hello. Yes, the MK is working, but the display does not work, the screen is white.
-
- Matrix Staff
- Posts: 1676
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 587 times
- Been thanked: 557 times
Re: ATMEGA328P ILI9488 hardware SPI not work
Sorry, I have just spotted you have PrintNumber, then ClearDispaly straight after.
That means you won't see any chars printed.
Try both of the attached projects
That means you won't see any chars printed.
Try both of the attached projects
- Attachments
-
- Flowcode1 barmaleyka v1.fcfx
- (12.52 KiB) Downloaded 1202 times
-
- Flowcode1 barmaleyka v2.fcfx
- (13.47 KiB) Downloaded 1124 times
Martin
-
- Posts: 10
- Joined: Wed Feb 10, 2021 2:00 pm
- Has thanked: 1 time
Re: ATMEGA328P ILI9488 hardware SPI not work
Hey, I ordered a 3.5" display that claims to be an ILI9488. Reading the comments on Amazon it is actually a ILI9481. I haven't gotten mine yet but might explain why there are some issues. I am going to try to get one of these working with the ESP32. There are a lot of these on Amazon now, so it would seem that this is going to be an issue for driver support.
https://www.amazon.com/dp/B0BWJHK4M6?re ... tails&th=1
Chad
https://www.amazon.com/dp/B0BWJHK4M6?re ... tails&th=1
Chad
-
- Posts: 730
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 616 times
- Been thanked: 169 times
Re: ATMEGA328P ILI9488 hardware SPI not work
Hi Chad!
I can recommend to use the Ili9488 display with ESP32. Ben have managed to speed these display up and they are really fast. You can also use ST7796 4" and this is the fastest. Have a look here: viewtopic.php?f=3&t=1851
I have some examble with these display as I use as standard setup when I made a new project included touch fuction, I can share with you if you want?
Look forvard to see if Martin is able to speed up with AVR, I know form earlyer these are little slow
Br jorgen
I can recommend to use the Ili9488 display with ESP32. Ben have managed to speed these display up and they are really fast. You can also use ST7796 4" and this is the fastest. Have a look here: viewtopic.php?f=3&t=1851
I have some examble with these display as I use as standard setup when I made a new project included touch fuction, I can share with you if you want?
Look forvard to see if Martin is able to speed up with AVR, I know form earlyer these are little slow
Br jorgen