2010-06-28 08:16 AM
LCD programming on the ST3210E board
2011-05-17 04:56 AM
The LCD on STM3210E-EVAL evaluation board is controlled by FSMC and seen by the microcontroller as just a memory.
So if you write to the entire memory you have no choice, the LCD internal driver (hw) will internally load data in a predefined order (ie. left to right, top to bottom). If you want to write in a different order you'll have to write line per line or column per column (which finally means point per point). This will make you waste a lot of time and instructions.2011-05-17 04:56 AM
The bigger question I have is where is the documentation describing all the registers listed in the st3210e_eval_lcd header file? That would be a big help!
P.S. - I am looking at the HX8312-A data sheet, but I am not sure if it is the correct one for the board, or if I am looking at the right document.
Thanks,
Michael
2011-05-17 04:56 AM
/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/DispForm.aspx?ID=12591&RootFolder=/public/STe2ecommunities/mcu/Lists/ARM CortexM3 STM32/DMA SRAM to LCD (FSMC)
.2011-05-17 04:56 AM
Hey Stuart - Yes, I've perused the info. you posted in the other thread. Perhaps you could give me a hand interpreting the document? Have you worked with the std. peripheral library and the STM3210E-EVAL board? How much of the HX8312-A LCD controller is made available to us through registers? For example, I looking at page 95 in the section entitled ''Register Description'' and I am wondering if these are available to the programmer?
Michael
2011-05-17 04:56 AM
The LCD module connects to the CPU via the FSMC peripheral and therefore appears as memory locations in the address space. As I recall the controller has two directly addressable registers but many internal indirectly addressable ones.
The demo firmware for the STM3210E board can behttp://www.st.com/stonline/products/support/micro/files/um0549.zip
The LCD driver source code is all there for you to look at. I'm deep into a product design that uses a STM32F103VET6 and a TFT display module but it uses a different controller. I don't have the time to help much more.