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 StatesPosts: 200 |
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 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: AustraliaPosts: 897 |
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 StatesPosts: 3150 |
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: AustraliaPosts: 2138 |
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 KingdomPosts: 9129 |
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 StatesPosts: 200 |
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: GermanyPosts: 123 |
meanwhile i posted version 5 of this simulation... lifepx5.bas.zip |
||||
Print this page |