??? 10/22/04 03:00 Read: times |
#79694 - Address setup time Responding to: ???'s previous message |
3. The 6 signals i.e. RS, EN, D4, D5, D6, D7 are fed to LCD from a buffer 74HC541. The inputs of buffer 74HC541 are fed through micro P89V51RD2. The buffer has all 8 inputs and enable pulse connected to the micro pins but two outputs are floating since I needed only 6 signals for LCD. The 44780 spec requires that the data (RS, RW, D4-D7) be placed on the bus some amount of time before raising the EN line. I seem to remember 40ns. If the '541 is driving the 6 lines all at once then you are loading the lines virtually simultaneously and ignoring the 40ns required address setup time. You may be able to solve this problem by first having the '541 send out the data with the E line low and then send out the same data with the LCD's EN line high. That should give the 44780 the 40ns it requires. 1. LCD sometimes displays some junk characters which were not sent to it for display... 2. I issue LCD clear command i.e. 0x01 before displaying a new screen of data but some times this command is also ignored. I believe this is consistent with the problem I described above. Sometimes you get lucky and the 44780 is able to handle the data at the same instant that EN is pulsed and sometimes you don't get lucky. When you get lucky it works and when you don't get lucky it doesn't work. Regards, Craig Steiner |
Topic | Author | Date |
Stuck with LCD problem. | 01/01/70 00:00 | |
Address setup time | 01/01/70 00:00 | |
RE: Address setup time | 01/01/70 00:00 | |
How is it connected? | 01/01/70 00:00 | |
More Hardware Details. | 01/01/70 00:00 | |
Probably need code | 01/01/70 00:00 | |
RE: Probably need code | 01/01/70 00:00 | |
RE: Probably need code | 01/01/70 00:00 | |
Problem Solved. | 01/01/70 00:00 | |
Code in proper format | 01/01/70 00:00 | |
Floating... | 01/01/70 00:00 | |
RE: Floating... | 01/01/70 00:00 | |
LCD in india | 01/01/70 00:00 | |
RE: LCD in india | 01/01/70 00:00 | |
RE: LCD in india | 01/01/70 00:00 | |
RE: LCD in india | 01/01/70 00:00 | |
RE: Stuck with LCD problem.![]() | 01/01/70 00:00 |