2014-03-30 05:51 PM
I am experimenting with the STM32F429 and wish to use the LCD-TFT controller (LTDC).
I am interested in generating monochrome 640x480 VGA video and hence only need 1-bit output rather than 8-bit RGB. Does anyone know if this is possible and if so, how to do it?I have already done it with STM32F407 SPI DMA but now I want to take advantage of the STM32F429 LTDC hardware.2014-03-30 06:55 PM
Yeah, I don't know, I'm pretty sure it's all byte orientated, and doesn't have a bit shifter.
2014-03-30 08:51 PM
Poster, ''generating mono - 640x480 (VGA) video and need only1-bit output rather than 8-bit RGB...''
Would it not ease your helper's efforts if you'd describe some of the how/why of your past success under past DMA? When you state, ''8-bit RGB'' often that implies 8 bits per primary color - thus 24 bits total. In your case - under your past DMA implementation - I'd suspect you grounded 23 of the RGB signal inputs - and output to the single remaining color bit. (producing wondrous mono of that selected color - against all bits cleared low - when that single color bit is driven low.) Often our group has used just such a technique - to quickly/easily perform initial tests/adjustments. You can compare the 429's LCD outputs against that which you massaged via past DMA technique - seeking the best match for the LCD's required clocks and strobes. In the event your display is ''really'' a TFT mono (Sharp at one time made a 640x480 TFT in glorious mono - a defrocked (i.e. Blk/wht distressed peacock image) shipped w/ that unit as ''truth in advertising'' logo...) However - freed from the color management - it may be that you can input far beyond a single bit - with the added bits mapping to multiple, adjacent pixels. (should the display be ''real'' color - which you seek to use only as mono - this method is not proper...)