Page 1 of 1

Cortex M Systems on module with LCD controller

Posted: Thu Sep 13, 2012 1:12 pm
by mobyfab
Hey guys,

As I am working on LCD modules, I was looking for cheap modules with an integrated TFT LCD controller, such as kinenis K70 or LPC178x/435x.
These MCUs typically use DDR/SDR as frame buffer + some dedicated DMA. Hence they are much faster than external controllers connected via 8080 interface.
Also most of these only come in BGA packages, same with DDR memory. Which makes using modules mandatory if you only have access to 2 layers PCBs.

I would like to share what I've found.

LPC 1788
The cheapest, which just came out: http://www.ghielectronics.com/catalog/product/373 $42.5 and its through hole version: https://www.ghielectronics.com/catalog/product/388 $25 (discount) normal price is $50
Also since this is a surface mount module, it can be used for prodution :D
Olimex has a complete board with LCD for not so much: https://www.olimex.com/Products/Modules/LCD/MOD-LCD4.3''/ 80€
Most expensive is embedded artists: http://www.embeddedartists.com/products/oem/lpc1788_oem.php 99€

LPC4350
http://www.lpc4350.com/ $99
More expensive but much more powerful, and dualcore.

K70
http://www.emcraft.com/index.php/products/135 $99, $49 for 500+
This is the smallest and best performance/size ration IMO. Also uClinux is supported.
LCD controller supports Alpha blending, scrolling, etc, with not processing overhead.

In the end I think, for developping, Olimex's board is the best, then the 1788 modules from GHI are the best for production.
There are also other SOMs using cortex Ax but those are application processors and therefore are lacking peripherals such as timer/DAC, etc

Hope this can prove usefull for someone :)

Re: Cortex M Systems on module with LCD controller

Posted: Fri Sep 14, 2012 11:50 am
by mobyfab
One other solution that came to my mind it to drive the LCD panel directly, using FSMC and PSRAM, via DMA.
ST has done it in with SRAM AN3241

Pros:
- PSRAM is cheap in 16mbits which is enough for up to 720p (sub 3€)
- Access time is slow, but burst is fast
- Good temperature range

Cons:
- Hard to find: Only Micron makes it.
- Only comes in BGA-54 packages, might still be doable on 2 layers
- Needs 1.8 LDO but pins tolerant to 3.6v
- AHB bus saturation?
- Need to allocate timers/interrupts to generate Vsync/Hsync and pixel clock
- Need to use DMA
- Can only write to memory during front/back porch and between pixels, but that should be ok

Any thoughts?

Re: Cortex M Systems on module with LCD controller

Posted: Fri Sep 14, 2012 3:00 pm
by Abhishek
A good idea, but I guess in some situations only.
For simple applications, it can definitely make sense to drive LCDs directly. A sample scenario being a digital photo frame.

For more sophisticated or intensive designs, maybe we could do with those kind of modules

Re: Cortex M Systems on module with LCD controller

Posted: Fri Sep 14, 2012 5:31 pm
by mobyfab
Just did a test:
Image

so yeah it's possible to route a BGA54 chip on one layer with some overlap on the NC pins. This passes the seeedstudio design rules.

Another solutions that comes to my mind is to use an FPGA/CPLD + DDR yo drive the panel.
There is a guy designing a universal LCD controller here: http://www.recontech.co.uk/index.php/projects/series-1-a-lq043t3dx02-display-driver-board

Re: Cortex M Systems on module with LCD controller

Posted: Fri Sep 14, 2012 5:53 pm
by Badger
If you want 4 layer you can get it done quite cheaply at OSH park. I've not had any 4 layer boards done before, but I've used their 2 layer service several times and it is great quality. I'd be interested in helping with the design for a STM32 direct drive lcd module, it is something I'd find use for. What I'm not so sure about is how to connect an lcd panel, they seem to be quite fiddly..

Re: Cortex M Systems on module with LCD controller

Posted: Fri Sep 14, 2012 6:49 pm
by mobyfab
Badger wrote:If you want 4 layer you can get it done quite cheaply at OSH park. I've not had any 4 layer boards done before, but I've used their 2 layer service several times and it is great quality. I'd be interested in helping with the design for a STM32 direct drive lcd module, it is something I'd find use for. What I'm not so sure about is how to connect an lcd panel, they seem to be quite fiddly..


$10 a square inch means 155€ for x3 4 layers 10x10CM boards :? or $77 for the same with 2 layers. Seed is $25 for 10x10cm 2 layers, x10 boards.
And the clearances are not better then seeed. Only the drilling is more precise afaik.

So yeah 4 layers is clearly not cheap :(

Re: Cortex M Systems on module with LCD controller

Posted: Mon Sep 17, 2012 2:02 pm
by mobyfab
Found some other PSRAM chips.

Actually Micron is not the only manufacturer :oops:

There is this one from ISSI in TSOP44: http://www.issi.com/pdf/66WV51216DALL-DBLL.pdf
It is sub $3 for 8mbit so implementing an LCD up to 800*480*16b can be really cheap. :D

Cypress makes some as well: http://datasheet.octopart.com/CYK512K16SCAU-70BAXI-Cypress-Semiconductor-datasheet-128254.pdf