element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
STM32F4DISCOVERY Expansion Boards
  • Products
  • Dev Tools
  • STM32F4DISCOVERY Expansion Boards
  • More
  • Cancel
STM32F4DISCOVERY Expansion Boards
Forum Problem with "official" LCD software example on STM32F4 Discovery Expansion Board
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join STM32F4DISCOVERY Expansion Boards to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 15 replies
  • Subscribers 8 subscribers
  • Views 3724 views
  • Users 0 members are here
  • discovery
  • stm32f4-lcd
  • stm32
  • stm32f4dis-bb
  • stm32f4dis_software_examples
  • stm32f4discovery
Related

Problem with "official" LCD software example on STM32F4 Discovery Expansion Board

Former Member
Former Member over 12 years ago

Hi,

 

I've just started to use my STM32F4 discovery expansion board (discovery board, base board, LCD and camera) and as a first shot I want to try out the software examples found here:

 

http://www.element14.com/community/docs/DOC-51670/l/stm32f4dis-bb-discover-more-software-examples

 

I've tried to run the LCD example called "LCD_35T" located in the folder "STM32F4xx_LCD_Example" but ran into some problems...

 

I'm using IAR Embedded Workbench for ARM as my IDE and have performed the following steps:

 

  • Open the project file located in "LCD_35T/EWARM" folder
  • Rebuild all --> Results in a successful build without errors/warnings
  • Download and debug --> Code is flashed and debugger started (using ST-LINK)
  • Running program (Go) --> Expecting LCD to show color bars according to the example but the screen is just white...


Does anyone have an idea what I'm doing wrong?

 

Thanks in advance for all response!

  • Sign in to reply
  • Cancel

Top Replies

  • Kilohercas
    Kilohercas over 12 years ago +1
    do you have LCD with same controller/pinout ? Right code with wrong init ( set registers for refresh rate, color type, bus type and so on) will produce white screen Check if RESET is high. Disable opt…
  • Kilohercas
    Kilohercas over 12 years ago in reply to Former Member +1
    IF LCD reset Line is LOW, you never get LCD working. some one mentioned bad contacts, also make RESET High after power up at if not by default code, than yourself. #define LCD_RST_PIN (GPIO_Pin_3) #define…
  • ChuckMcM
    ChuckMcM over 12 years ago +1
    So I too was having issues with the code provided by Embest so I wrote some of my own. You can pull a copy from Github here: https://github.com/ChuckM/bb-lcd This puts up a simple display on the LCD with…
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    After the looooooooong download it worked o.k.

    Tried the LAN demo but it is > 32k the code limit!  This is where providing a demo preloaded or hex file on the net would be useful to customers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    why do we have to use external driver like SSD1963 when STM32F429 has inbuilt LCD controller ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Kilohercas
    0 Kilohercas over 10 years ago in reply to Former Member

    Maybe because original board dos not have LTDC controller ? also, it can take a lot of buss time for FMC.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Thanks for the reply.

     

    Do you have any experience in using the LTDC controller in the STM MCUs ? I need a starting point to interface a RGB display 800*480. Most of the exmaples I see interface via SPI or parallel 8-bit mode.

     

    Cheers!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Kilohercas
    0 Kilohercas over 10 years ago in reply to Former Member

    i was able to make it work with 800x480 amoled screen from HTC desire, but it use lot of bus time tu push data, you will only get 5-10 real FPS from your system, due to limitation. So that will cause tearing and other effects on moving objects

     

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    Its very simple. first you must use correct SRAM for your frame buffer. Just make your panel as RGB565. Connect all RGB data, VSYNC, HSYNC, PCLK, DE pins to your panel, and use corrcet SPI/I2C init code for your panel, that it. you can download LTDC examples from www.st.com

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube