Skip to main content
LMI2
Senior III
January 13, 2016
Question

Example for FSMC or driving a LCD

  • January 13, 2016
  • 2 replies
  • 703 views
Posted on January 13, 2016 at 17:06

I would like to see an example about how to drive a LCD with F10X or F20X. Like bit banking RW/WR and handling data.

I saw something for Nucleo boards, but I wonder would that help with other boards.

    This topic has been closed for replies.

    2 replies

    waclawek.jan
    Super User
    January 13, 2016
    Posted on January 13, 2016 at 18:17

    > I would like to see an example about how to drive a LCD with F10X or F20X.

    What LCD?

    > Like bit banking RW/WR and handling data.

    Do you mean

    https://en.wikipedia.org/wiki/Bit_banging

    control signals? Then why do you mention FSMC?

    > I saw something for Nucleo boards, but I wonder would that help with other boards.

    What did you see? What other boards? Why wouldn't that help with other boards?

    JW

    Tesla DeLorean
    Guru
    January 13, 2016
    Posted on January 13, 2016 at 18:39

    ST's EVAL series boards have FSMC attached LCD controllers.

    Dozens of Olimex and Keil boards have 16x2 LCD displays with bit-banged control.

    Read the Data Manuals for any given display, and look to how to emulate the data and control signals via GPIO pins, and pulling signals up and down as prescribed. I think you're creating all kinds of complications in your head that really don't exist. Examples exist for all manner of displays and processors, and it's all reasonably portable.

    What you're not going to be able to do is generate video signals for dumb panels.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..