Hi,
newbie getting a little tired of ARM and this hardware/software thing...
Using uVision4 with the MCBSTM32E board with a STM32F103ZE processor.
Besides the startup problem if I download some other example (RTX_Blinky) from the installation Cd-rom then the onboard color display shows the text as MIRRORED text! As if one is reading from the backside of the display.
Where are the experts? ;-)
B.t.w. I'm using Windows7.
Henk
Please install the latest MDK v4.13 as examples have been updated for both older and newer displays and you should not have mirrored problems.
Hi all,
problem solved. Here's how:
As I learnt from the LCD datasheet, the display controller is an ILI9320. Datatsheets for that one are easy to find on the web. So I cross-checked the register values in the GLCD_init() function with the list from the datasheet.
There is a GS bit ("gate scan [direction]"?) in register 0x60 ("driver output control 2"). It was set to 0 by the init code ("wr_reg(0x60, 0x2700);"). By flipping it to 1 ("wr_reg(0x60, 0xA700);"), the display got flipped as well - along the axis intended, fortunately. :)
Thanks everyone, this helped! Dan
Congrats! Thanks for the update. Bradford