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 : (MM) TFT-LCD module on MMBASIC ???
Author | Message | ||||
Sumit Newbie Joined: 13/09/2011 Location: Posts: 23 |
Hi !! Is it possible to use TFT-LCD in place of VGA/Composite to use/replace it as the primary display device using the video-buffer-address to send the data out on the lcd, as discused in other posts ? Does MMBASIC has enough power to generate timing signals and speed ? Thanks Sumit |
||||
Olimex Senior Member Joined: 02/10/2011 Location: BulgariaPosts: 226 |
yes, it's possible but will involve both firmware and hardware changes eMega have special PMP port which is possible to connect to TFT-LCD this is how PIC32-MAXI-WEB connects to the TFT-LCD it have |
||||
Sumit Newbie Joined: 13/09/2011 Location: Posts: 23 |
Cant we just using MMBASIC to put the binary data from the video buffer to the TFT through some sophisticated coding ? |
||||
darthmite Senior Member Joined: 20/11/2011 Location: FrancePosts: 240 |
Hmmmmm ... I have made some TFT LCD drivers in the past and i can say that it have to be done directly in the firmware or it will be allot to slow to be usable. The bigger problem is that each TFT screen have is own chip as drivers like the solomon SSD1928 ... etc ... If it's done in the firmware it will only work with this chip , if it's done in basic it will be too slow ... If the MM go to evolve to a TFT config in the future to be a portable computer then it will be possible to do. Else i don't think that something like that will be integrated in the firmware due to all possible TFT drivers configurations available. Cheers. Darth. Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3800 |
Easy with the LoadC() function I suggested and fast, too. Also avoids all the various drivers cluttering the flash as you'd just load the one you wanted. John |
||||
djuqa Guru Joined: 23/11/2011 Location: AustraliaPosts: 447 |
I also suggested similar idea, it would solve a LOT of these issues with memory / unusual hardware support. VK4MU MicroController Units |
||||
Sumit Newbie Joined: 13/09/2011 Location: Posts: 23 |
Can we first try using a normal mono graphical LCD based on KS0108 or similar using the newly developed MM version 3 through the console mode or direct vedio-buffer data display on the LCD? **Console mode may restrict us from using graphical features of MMBASIC but the second option may allow that** It will give us some ideas about the problems we are likely to face ? |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
Hi Sumit, I guess that you are asking me and I am sorry to say that it is not practically possible. The MM is organised around a video stream (eg, VGA) and the sort of LCD you are talking about has a parallel interface. The video is at the core of the MM, you can not pull it out and replace it with something else without a huge amount of work including a new hardware design. Geoff Geoff Graham - http://geoffg.net |
||||
djuqa Guru Joined: 23/11/2011 Location: AustraliaPosts: 447 |
What is really needed is a slave board that interfaces that TFT-LCD and talks to and from the MM/DM similiar to the GameDuino Board. Often a little more Hardware is better than trying to get really clever with software. VK4MU MicroController Units |
||||
Sumit Newbie Joined: 13/09/2011 Location: Posts: 23 |
Thankyou Geoff. I understand the complications. It maybe better to leave the video as it is sumit |
||||
Print this page |