Page 2 of 3
Re: ATMEGA328P ILI9488 hardware SPI not work
Posted: Mon Nov 20, 2023 1:21 pm
by medelec35
Hi barmaleyka.
Can you post a link to the ILI9488 board you bought please.
Re: ATMEGA328P ILI9488 hardware SPI not work
Posted: Tue Nov 21, 2023 6:27 am
by barmaleyka
Re: ATMEGA328P ILI9488 hardware SPI not work
Posted: Tue Nov 21, 2023 8:11 am
by medelec35
I will need to replicate your setup exactly.
How did you interface it with the Arduino e.g. connected MOSI, DC pins etc. directly to the pins of the ATMEGA328P, or did you use resistors (if so one or two per pin and what value/s), level shifter etc.
Can you go into detail about the wiring of the display to the Uno.
Have you modified the module e.g. shorted J1?
Re: ATMEGA328P ILI9488 hardware SPI not work
Posted: Tue Nov 21, 2023 8:22 am
by barmaleyka
![IMG20231121141730.jpg](./download/file.php?id=5751&sid=5911cc3a1e58b67dbacbe981556be958)
- IMG20231121141730.jpg (98.08 KiB) Viewed 13439 times
Re: ATMEGA328P ILI9488 hardware SPI not work
Posted: Tue Nov 21, 2023 8:28 am
by barmaleyka
I haven't modified J1. The display works via a software SPI
Re: ATMEGA328P ILI9488 hardware SPI not work
Posted: Tue Nov 21, 2023 4:38 pm
by Chadb
Hi Jorgen,
I Just got the display and tried the 9488 driver, and it seems to be working. Now my problem seems to be the second spi for the touch interface. Were you able to get this going? If you have a flowcode file that works, I would love to see it.
Thanks,
Chad
Re: ATMEGA328P ILI9488 hardware SPI not work
Posted: Tue Nov 21, 2023 8:18 pm
by jgu1
Hi Chad and Martin!
I look forward to hear if Martin manage to speed up the display with an Uno ( sure he will, magic man)
Yes, I have my standard setup file I use everytime I start a new project with this display with ESP32, then I know it work. (same for ILI9341 and the ST7796)
The only thing you have to change before compile, you have to change in the config XPT2046, the MISO pin from A13 to A5 I donĀ“t know why, but everytime I reopend the program/file only this pin go back to A13 even if I save?
In the program change the Macro "new" to "Touchtest" in main and you will see the X and Y value.
Hope it can help you?
Herby.
Br Jorgen
Re: ATMEGA328P ILI9488 hardware SPI not work
Posted: Wed Nov 22, 2023 12:28 am
by Chadb
I'll take a look. I am using the esp32 and I am having a problem with the second spi.
Thanks
chad
Re: ATMEGA328P ILI9488 hardware SPI not work
Posted: Thu Nov 30, 2023 5:34 pm
by jgu1
Hi Martin!
Dare to ask
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Did you manage to get display working with Arduino and speeded up?
Br Jorgen
Re: ATMEGA328P ILI9488 hardware SPI not work
Posted: Sun Dec 03, 2023 1:31 pm
by medelec35
Hi Jorgen.,
Sorry, my attention has been drawn elsewhere.
I will be looking into it as soon as I can.