element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum STM32F411 Disco incompatible with STM32F4DIS-LCD?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 12 replies
  • Answers 2 answers
  • Subscribers 461 subscribers
  • Views 1976 views
  • Users 0 members are here
  • stm32f4-discovery
Related

STM32F411 Disco incompatible with STM32F4DIS-LCD?

richoxski
richoxski over 6 years ago

Hi all,

 

I have had an STM32F411 Disco board for a while now along with the baseboard.

 

I have only just recently hooked up the STM32F4DIS-LCDSTM32F4DIS-LCD TFT display only to find out that the example code that can be downloaded is not compatible with my controller.

 

Unless I'm mistaken, the F411 controller seems to be incompatible with the TFT display.

 

From the reference manual, the F411 lacks an FSMC which is what is used in the example (The F407 controllers which are the basis of another discovery board do have an FSMC).

 

I want to begin using the LCD, so my solution is easy - Get the F407 controller.

 

But I was wondering if an alternate solution to the FSMC is possible and viable with the F411 controller? e.g. Bit banged GPIO interface

 

Has anyone attempted this with the disco boards or has anyone got a completely different solution

 

Cheers

 

Rich

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 6 years ago in reply to richoxski +2 suggested
    This is confusing ! The Farnell datasheet is useless - no schematic. Googling for schematics finds them in odd places. The LCD connector on the main board doesn't quite match with the LCD display. I've…
  • michaelkellett
    michaelkellett over 6 years ago +1 suggested
    Hello Richard, You need a processor with an LCD controller to operate this display. There is no way it could be bit banged - look up the spec of typical 320 x 240 LCD s with parallel RGB interfaces to…
  • richoxski
    richoxski over 6 years ago in reply to jc2048 +1
    Hi Jon, Yes - That may prove quite a challenge. It would be good if they provided a module that was flexible enough to allow mode changes and corresponding code. I will still have a crack at the bit banging…
  • michaelkellett
    0 michaelkellett over 6 years ago

    Hello Richard,

    You need a processor with an LCD controller to operate this display.

    There is no way it could be bit banged - look up the spec of typical 320 x 240 LCD s with parallel RGB interfaces to get an idea of the timing involved.

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • richoxski
    0 richoxski over 6 years ago in reply to michaelkellett

    Hi Michael,

     

    Thanks for the insight and the confirmation.

     

    Just to clarify, is the integrated SSD2119 controller on this module insufficient?

     

    The timing on the data sheet for 16 bit parallel 8080 mode only shows minimum time constraints - I have looked at a couple of examples for similar controllers but still only get lower limits

     

    Am I missing something?

     

    Cheers

     

    Rich

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 6 years ago in reply to richoxski

    I looked at the published schematic for the STM32F4DIS-LCDSTM32F4DIS-LCD and there is no SSD2119 controller - can you post the schematic you are using - or a link.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • richoxski
    0 richoxski over 6 years ago in reply to michaelkellett

    Hi Michael,

     

    I am going from the datasheet

     

    Link below

     

    http://www.farnell.com/datasheets/1671831.pdf

     

    Same information given in the product link below

     

    https://au.element14.com/stmicroelectronics/stm32f4dis-lcd/module-3-5inch-lcd-f4-discovery/dp/2250207

     

    image

     

    I am not sure if the product has changed, but as far as my knowledge goes these features are included

     

    Thanks

     

    Rich

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 6 years ago in reply to richoxski

    This is confusing !

     

    The Farnell datasheet is useless - no schematic.

    Googling for schematics finds them in odd places.

    The LCD connector on the main board doesn't quite match with the LCD display.

    I've attached the .pdfs I found.

     

    I agree that the 2 page flyer on the board set talks about about the display having the driver IC ??

     

    My guess is that they made more than one - can you get a schematic of the display baord you have (and does it have the SSD2119 vivisble)

     

    If it does have the SSD2119 you should be able to drive it.

     

    MK

    Attachments:
    imageSTM32F4DIS-BB REV1.0.pdf
    imageSTM32F4DIS-LCD_REV1.0.pdf
    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • richoxski
    0 richoxski over 6 years ago in reply to michaelkellett

    These are the same schematics I was able to retrieve

     

    Agree, the 20 pin DIP on the LCD schematic you have provided is quite confusing.

     

    It highlights both RGB and 8080 interface pins

     

    However, the other connector on this schematic has 4 pins PS[0:3]

     

    image

    These pins match the mode selector pins for the SSD2119 - specifically for a 16 bit 8080 parallel interface

    image

     

     

     

    Cheers

     

    Rich

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 6 years ago in reply to richoxski

    I think you may be right - I was thrown by them labeling the data pins as R,G, B.

    Have you tried running (or looking at) the example code - it would be worth looking at it because it is very hard to work out all the settings for the display controller.

     

    Bit banging could work - you'll need to be careful with timing - GPIO pins set for max speed to try to meet that 4ns max rise and fall time but watch out for some of the min times which the processor can easily beat.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jc2048
    0 jc2048 over 6 years ago in reply to richoxski

    or has anyone got a completely different solution

    If you don't need moving graphics, you might consider putting it into one of the SPI modes and control it that way.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • richoxski
    0 richoxski over 6 years ago in reply to michaelkellett

    All good - it happens to the best of us

     

    I have actually had a crack at the example code, albeit I wasn't trying very hard. I started second guessing the viability of bit banging - I have a rough template which uses the same commands. I figured I could get it to just turn on then I could start experimenting with different commands or I could build a command set from the example code

     

    Bit banging could work - you'll need to be careful with timing - GPIO pins set for max speed to try to meet that 4ns max rise and fall time but watch out for some of the min times which the processor can easily beat.

    It's awesome you say this - I figured if something is going wrong it's definitely with the timing but I wanted to ensure that I was on the right path. I will try to get this thing to startup

     

    Many thanks

     

    Rich

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • richoxski
    0 richoxski over 6 years ago in reply to jc2048

    Hi Jon,

     

    Is it possible to easily reconfigure the interface mode for the LCD module? I am not a hardware guy, but always willing to learn new things

     

    Rich

    • 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