Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/21/06 06:53
Read: times


 
#129879 - some clarification
Responding to: ???'s previous message

The EN is used for the read or write bus cycle. If you look at the bus timing specs for the display, you need to set your RS, RW and DATA(if you're writing) ,have these stable for about 400nS(off the top of my head) set the EN signal,keep this high around 1uS (again check the actual value),read the data if you're doing a read then put EN low.

Reading the busy flag requires a bus operation - ie read the status register.

You can also keep EN high and keep reading the busy status on DB7. When the device is not busy, then you bring EN low. Personally, I don't like doing it that way - the datasheet really doesn't say it will work - even though it does is many cases.


Everybody gets tripped up on these devices - and there's heaps of bad code to talk to them out there. Best to understand and obey the datasheet.




List of 12 messages in thread
TopicAuthorDate
44780 LCD            01/01/70 00:00      
   have a look at the datasheet, maybe?            01/01/70 00:00      
      I Did            01/01/70 00:00      
         some clarification            01/01/70 00:00      
   Dont check BUSY flag.            01/01/70 00:00      
      Use the datasheet, Luke ...            01/01/70 00:00      
         Got It!            01/01/70 00:00      
         Lazy dog!            01/01/70 00:00      
            Can yours train mine ?            01/01/70 00:00      
            My dogs like cats ...            01/01/70 00:00      
   LCD            01/01/70 00:00      
      The "gotcha" is that it has to be initialized            01/01/70 00:00      

Back to Subject List