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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/22/08 00:39
Read: times


 
#153794 - Nibble Mode...
Responding to: ???'s previous message
Erik:
The location of the bits for the RW, RS, and E are not specified but if they are located in the low 4-bits of P1 then I do not like how the code that outputs the two nibbles to P1 causes these to clear to 0000b each time a nibble goes out.

There is also a bugaboo in the implementation wherein the busy bit is being polled after every nibble is sent out. This is incorrect and should be done only after the pair of nibbles are sent out. As a matter of fact I would lift the busy bit poll logic out of the low level routine completely and make it its own routine that is called when necessary. I do not even like to have the busy poll down in the lowest routine because then it is more difficult to support a busy wait timeout.

Michael Karas


List of 7 messages in thread
TopicAuthorDate
Hantronix LCD 4 bit mode            01/01/70 00:00      
   Busy bit checking            01/01/70 00:00      
   Nibble Mode...            01/01/70 00:00      
   appreciate all            01/01/70 00:00      
   your datasheet is compatable with HD44780            01/01/70 00:00      
   No busy flag until the end of software init            01/01/70 00:00      
      the code 'runs'            01/01/70 00:00      

Back to Subject List