+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Member level 2
    Points: 521, Level: 4

    Join Date
    Mar 2018
    Posts
    45
    Helped
    0 / 0
    Points
    521
    Level
    4

    LCD 16*2 Data Sequence Flow chart

    Good evening to all

    I am not speaking about code I want to understand communication between MCU and LCD how does microcontroller send data to LCD so I made one flow chart that explain my understanding

    I have attached PDF file and I am looking advice with my flow chart

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 30,108, Level: 42
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Brazil
    Posts
    8,985
    Helped
    1138 / 1138
    Points
    30,108
    Level
    42
    Blog Entries
    9

    Re: LCD 16*2 Data Sequence Flow chart

    Have a look on datasheet pinout waveforms of the LCD you are talking about (presumably based on the HD7780 chipset) and you will have a better understanding of the whole process, it just describes what the above flowchart depitcs for example for the writing command:

    Click image for larger version. 

Name:	waveform.png 
Views:	10 
Size:	149.1 KB 
ID:	156852
    --------------------------------------------------------------------------------------------------
    Part of the world that you live in, You are the part that you're giving ( Renaissance )


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  3. #3
    Member level 2
    Points: 521, Level: 4

    Join Date
    Mar 2018
    Posts
    45
    Helped
    0 / 0
    Points
    521
    Level
    4

    Re: LCD 16*2 Data Sequence Flow chart

    Quote Originally Posted by andre_teprom View Post
    Have a look on datasheet pinout waveforms of the LCD you are talking about (presumably based on the HD7780 chipset) and you will have a better understanding of the whole process, it just describes what the above flowchart depitcs for example for the writing command:

    Click image for larger version. 

Name:	waveform.png 
Views:	10 
Size:	149.1 KB 
ID:	156852

    RS=0; // Select the Command Register by pulling RS LOW
    RW=0; // Select the Write Operation by pulling RW LOW
    EN=1; // Send a High-to-Low Pusle at Enable Pin
    Wait = 450 ;



    •   AltAdvertisement

        
       

  4. #4
    Super Moderator
    Points: 264,284, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    46,183
    Helped
    14044 / 14044
    Points
    264,284
    Level
    100

    Re: LCD 16*2 Data Sequence Flow chart

    EN=1; // Send a High-to-Low Pusle at Enable Pin
    Confusing description. Actually E is pulsed high for Pweh >= 450 ns.

    E is pulsed for each byte read from or written to the LCD controller. In so far I don't understand why it's described only as prepare action in your diagram.


    1 members found this post helpful.

  5. #5
    Member level 2
    Points: 521, Level: 4

    Join Date
    Mar 2018
    Posts
    45
    Helped
    0 / 0
    Points
    521
    Level
    4

    Re: LCD 16*2 Data Sequence Flow chart

    Quote Originally Posted by FvM View Post
    Confusing description. Actually E is pulsed high for Pweh >= 450 ns.

    In so far I don't understand why it's described only as prepare action in your diagram.
    What it should be ?



--[[ ]]--