Page 1 of 1
Color LCD project
Posted:
Thu Mar 13, 2014 10:50 pm
by wilson
Hi,
I am planning to do some GUI using PIC32 with TFT LCD, anyone have suggestion?
I have found a source with video from
http://www.lelong.com.my/tft-lcd-module ... Sale-P.htmBut it is using STM32. Is PIC32 sufficient to draw LCD?
Thanks for help.
Re: Color LCD project
Posted:
Sat Mar 15, 2014 8:50 am
by takao21203
Sure it is but use a PIC with a larger FLASH- 128K or more.
Because number of instructions = FLASH kbytes/4.
The 80MHz PICs are very fast actually.
Re: Color LCD project
Posted:
Sat Mar 15, 2014 9:50 am
by wilson
takao21203 WROTE:Sure it is but use a PIC with a larger FLASH- 128K or more.
Because number of instructions = FLASH kbytes/4.
The 80MHz PICs are very fast actually.
But Stm32F4 series is up to 180MHz
my worry is refreshing color LCD will be slow and reduce response. Thanks.
Re: Color LCD project
Posted:
Sat Mar 15, 2014 11:05 am
by takao21203
I would worry about that at all. What do you want to display?
Re: Color LCD project
Posted:
Sat Mar 15, 2014 11:12 am
by wilson
I want to use color lcd to display text that received from Bluetooth, meanwhile, also need to draw a graphics meter to represent angle sensor position, that mean, when angle change, meter will move.
Re: Color LCD project
Posted:
Sat Mar 15, 2014 11:43 am
by Brian Griffin
Do you have the datasheet for the LCD? These LCDs often contain a "Vertical Sync" pulse pin, so you can update the frame (display) by microcontroller everytime the Vertical Sync pin is up.
For a lot more speed, you have to use the DMA (Direct Memory Access) modules in the ARM/PIC32 processors. The DMA streams (moves) blocks of data without CPU intervention into the GPIOs where these will be connected to the data lines for the LCD.
Re: Color LCD project
Posted:
Mon Mar 17, 2014 11:57 pm
by wilson
Thanks for your suggestion. I have datasheet, but not familiar with DMA anyway i will try.