Skip to main content
harsh2
Associate II
May 23, 2016
Question

SPC560D40L1: To drive a 26-Pin 7-segment display LCD from SPC56D-Discovery .

  • May 23, 2016
  • 5 replies
  • 1823 views
Posted on May 23, 2016 at 11:17

Hi All

i am driving a 26-Pin(4 COM+22 Segment) LCD display through 

SPC56D-Discovery BOARD Using GPIOs & want to run a counter from 1 to 100 on LCD display.

please advise how it will be possible.

attaching datasheet of LCD.

    This topic has been closed for replies.

    5 replies

    harsh2
    harsh2Author
    Associate II
    May 23, 2016
    Posted on May 23, 2016 at 14:00

    i have displayed the all segments with the help of delay logic & running the lcd at 50hz.

    Pls advise if any in-built lcd driver is there in SPC560D40L1 mcu, as i am unable to see in its datasheet.

    Regards

    Harsh

    Erwan YVIN
    ST Employee
    May 25, 2016
    Posted on May 25, 2016 at 10:27

    Hello Harsh ,

    There is no built-in driver

    Yes , it is possible.

    Could you give me your LCD Reference ?

    This LCD is supporting I2C ?

    We have already implemented some LCD drivers with I2C (sw emulated) to reduce the number of wires

               Best regards

                            Erwan

    harsh2
    harsh2Author
    Associate II
    May 30, 2016
    Posted on May 30, 2016 at 09:47

    Hi Erwan

    below is the specs of my LCD:

    Specifications:

    1. Operating Temperature: -30 to +85 deg C.

    2.Storage temperature: -40 to 95 deg C

    3.Operating Voltage: 5V

    4. LCD Type: TN Positive

    5.Connection type: Pin type

    6.Clock viewing: 6'o clock

    7. Drive condition: 1/4 DUTY, 1/3 BIAS

    8.Display type: Trasflective

    9.Polarizer colour: Grey

    Polarizer: High quality anticlar.

    Vibration On cluster: freq: 30-500Hz.

    I am attaching its datasheet also.

    No, it doesn't support I2C.

    Please advise, if i can drive it's display using GPIOs or any other best method.

    Awaiting for your kind reply.

    Regards

    Harsh

    ________________

    Attachments :

    LCD_display_-_Electronics.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtbE&d=%2Fa%2F0X0000000aS5%2FX6xBk2_lW04eDgFMta0l76s6S8_jzLTm9EVQUAeHrac&asPdf=false
    Erwan YVIN
    ST Employee
    May 31, 2016
    Posted on May 31, 2016 at 09:37

    Hello Harsh ,

    There is enough GPIOs to handle a TN Positive LCD. (cf screenshot)

    you should create your own driver by creating a new component or new drivers in SPC5Studio.

    I am checking in application team if some examples are existing.

    Best Regards

    Erwan

    ________________

    Attachments :

    2016-05-31_093435.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtfG&d=%2Fa%2F0X0000000aVX%2Fkgb80xikGIG84QMQA.8wm6ZtIV0aW28RhppRYYKMFTM&asPdf=false
    harsh2
    harsh2Author
    Associate II
    June 13, 2016
    Posted on June 13, 2016 at 13:40

    Hi Erwan

    Please let me know if there are any example codes available for this.

    Regards

    Harsh