Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:34 28 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 : WebMite firmware, ILI9844W functionality

Author Message
NPHighview

Senior Member

Joined: 02/09/2020
Location: United States
Posts: 200
Posted: 10:48pm 09 Jun 2023
Copy link to clipboard 
Print this post

After attempting to port hhtg1968's program to the WebMite and the WaveShare Pico-Eval-Board display, I think I may have either uncovered a misunderstanding on my part, or an error in the WebMite documentation or firmware.

Page 133 of the WebMite manual says
  Quote  PIXEL(x,y [,page_number]) Returns the colour of a pixel on an LCD display. ... The display must use one of the SSD1963, ILI9341, ILI9488, or ST7789_320 controllers.


Here is the "minimal" test program I wrote:
Rem minimal test of ILI9844W functionality
CLS RGB(Blue)
Print MM.Info(LCDPANEL), MM.Info(VERSION)
Print Pixel(MM.HRes/2, MM.VRes/2)


Here is the result:
> RUN
ILI9488W         5.070801
[4] Print Pixel(MM.HRes/2, MM.VRes/2)
Error : Invalid on this display


Here is my setup:
WebMite MMBasic Version 5.07.08b1
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION AUTORUN 4
OPTION COLOURCODE ON
OPTION POWER PWM ON
OPTION DISPLAY 60, 132
OPTION LCDPANEL ILI9488W, RPORTRAIT,GP8,GP15,GP9,GP13
OPTION WIFI ***********, *********
OPTION TOUCH GP16,GP17
GUI CALIBRATE 1, 139, 272, 840, 1285
OPTION SDCARD GP22, GP5, GP18, GP19

Live in the Future. It's Just Starting Now!
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 897
Posted: 11:18pm 09 Jun 2023
Copy link to clipboard 
Print this post

ILI9488 and ILI9488W are implemented differently. ILI9488W does not allow read on the SPI so the Pixel function can not work.
Latest F4 Latest H7
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3150
Posted: 11:19pm 09 Jun 2023
Copy link to clipboard 
Print this post

Works for me.
PicoMite MMBasic Version 5.07.07RC7
Copyright 2011-2023 Geoff Graham
Copyright 2016-2023 Peter Mather

>
> AUTOSAVE
Rem minimal test of ILI9844W functionality
CLS RGB(Blue)
Print MM.Info(LCDPANEL), MM.Info(VERSION)
Print Pixel(MM.HRes/2, MM.VRes/2)
Saved 100 bytes
> save "ILI9488-pixel.bas"
> run
ILI9488  5.0707
252
> list
Rem minimal test of ILI9844W functionality
CLS RGB(Blue)
Print MM.Info(LCDPANEL), MM.Info(VERSION)
Print Pixel(MM.HRes/2, MM.VRes/2)
> ?hex$(pixel(mm.hres/2,mm.vres/2))
FC
>
> option list
PicoMite MMBasic Version 5.07.07RC7
OPTION SYSTEM SPI GP18,GP19,GP16
OPTION KEYBOARD US
OPTION CPUSPEED (KHz) 378000
OPTION LCDPANEL ILI9488, RLANDSCAPE,GP21,GP20,GP17
OPTION GUI CONTROLS 40
OPTION TOUCH GP22,GP7
GUI CALIBRATE 0, 158, 282, 1252, 887

Are you sure your ILI9488 supports MISO (does BLIT READ work?)?
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2138
Posted: 11:22pm 09 Jun 2023
Copy link to clipboard 
Print this post

https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=16001&LastEntry=Y#205585#205585

Search TBS, a lot has been said on this topic.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 07:37am 10 Jun 2023
Copy link to clipboard 
Print this post

The ILI9488W is not the ILI9488. The manual is correct. The ILI9488W does not and can not support reading the framebuffer. Check the schematic to understand why
 
NPHighview

Senior Member

Joined: 02/09/2020
Location: United States
Posts: 200
Posted: 08:51pm 10 Jun 2023
Copy link to clipboard 
Print this post

Thank you, Peter. I suppose the "W" means "Write-Only".
Live in the Future. It's Just Starting Now!
 
hhtg1968
Senior Member

Joined: 25/05/2023
Location: Germany
Posts: 123
Posted: 09:08pm 10 Jun 2023
Copy link to clipboard 
Print this post

meanwhile i posted version 5 of this simulation...


lifepx5.bas.zip
 
Print this page


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

© JAQ Software 2024