This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Another MCBSTM32E board/software problem

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

Parents Reply Children
  • Andy -

    excuse the confusion, but all the things I have in front of me - the order, the invoice, and the actual box - sport exactly that name, "STM3210E-SK".

    You are absolutely correct that the starter kit and the board are two different things. The board itself is an official, genuine KEIL product (quote: "STMicroelectronics offers Keil's evaluation boards (single-board computers) to help you get started with the Keil development tools"). The starter kit, however, is actually an ST product involving a KEIL eval board. Amen. And yes, the eval board itself really seems to be the MCBSTM32E. I guess this is just an ST rewrap of the MCBSTM32E Starter Kit you referred to?

    Either way, all this nomenclature war doesn't help. I'm already working with the MCBSTM32E examples. I already know they fit the board except for the mirror effect. Hence, there is nothing to learn from the above discussion. All I'm trying to figure out is how to flip the output horizontally, or more fundamentally, where to get a proper data sheet for the LCD that explains the control registers.

    Cheers
    Dan

  • Yes, sorry - just trying to understand exactly what it is that you have!

    Shame we can't upload photos to this site...

    Have you tried searching the ST forum?
    I'm sure there's been discussion there about reversed graphics on DevKits...

  • I really have no answer for your problem but the LCD is the Ampire AM240320L8TNQW. I gooogled a couple of websites that said they have the data sheets but I found no user's guide.
    Good luck and keep us informed on your progress.
    Bradford

  • 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.

  • Thanks Al! There seems to be a sufficient datasheet on the web (www.google.com/search - check the hit at http://www.dema.net). Interestingly enough, this datasheet contains a preliminary stating that the document is confidential and may not be disclosed to third parties, so it's surprising to find it on a public product page in a freely accessible web shop (rather than in the starter kit box including the super-secret LCD hardware).

    Anyway. At a first glance, the registers and command bytes listed in the datasheet seem to match the GLCD code, so this seems to be a good point to start from. Thanks again!

    Cheers
    Dan

  • 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