Keil Logo

MCBSTM32F400: LCD Display on MCBSTM32F400 Boards


Information in this knowledgebase article applies to:

  • MCBSTM32F400 Evaluation Boards

SYMPTOM

The MCBSTM32F400 LCD display does not work properly when running unmodified Keil example projects.

CAUSE

MCBSTM32F400 boards may ship with different versions of the Ampire LCD. Each requires a different driver setup. To identify which LCD you have, remove the 4 screws from the LCD board, and carefully unplug the LCD board from the MCBSTM32F400 board. The Ampire number is printed on the flex-circuit cable located on the back of the LCD board.

RESOLUTION FOR MDK V5.xx USERS

MCBSTM32F400 boards now ship with the LG version of the MCBQVGA board. You can easily reconfigure the project to use the LD version of the board. To do that:

  1. Copy and open the emWin GUI Demo project from the Pack Installer.
  2. Click the Manage Run-time Environment icon (Project — Manage — Run-time Environment).
  3. Expand the Graphics folder, then the Display folder (Note: not the Graphics Display folder).
  4. Select the MCBQVGA_LD component, then select 16-bit IF from the Variant column.
  5. Unselect the MCBQVGA_LG component if it is selected.

    The above graphic was created with V2.3.0 of the Keil::STM32F4xx_DFP pack.
  6. Click OK, rebuild the project, and download.

RESOLUTION FOR MDK V4.xx USERS

Download the updated MCBSTM32F400 example projects from the Attached Files section of this article. To overwrite the older Keil example projects, extract the files to the "installation_path"\ARM\Boards\Keil\ folder, where: "installation_path" is the path name where your MDK-ARM tools were installed. The default installation path is C:\Keil.

To allow for the different revisions of the Ampire LCD, each example project in C:\Keil\ARM\Boards\Keil\MCBSTM32F400\ includes the following 2 targets:

Target              Should be used with ...
MCBSTM32F400        MCBSTM32F400 Board with older LCD (Ampire 240320LD or 240320L8)
MCBSTM32F400 LCD_LG MCBSTM32F400 Board with newer LCD (Ampire 240320LG)

You may also just try loading each target on your board. Make sure you Rebuild All Target Files after you change targets.

MORE INFORMATION

  • Refer to Schematics in the MCBSTM32F200/400 User's Guide.

ATTACHED FILES

Request the files attached to this knowledgebase article.

Last Reviewed: Friday, March 1, 2019


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.