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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/27/06 11:55
Modified:
  08/27/06 12:04

Read: times


 
#123133 - \"It works\"
Responding to: ???'s previous message
Ashwin, apart from stating 'it works' - does it comply with the Hitachi datasheet? This answers any argument and removes personal judgement. Can you say your code complies with the Hitachi( or applicable) datasheet?

I've written a lot of stuff 'that worked' then failed when something changed - different brand, differnet batch etc. Only when it complies with the datasheet can you be reasonably confident you have done everything in your power to make sure it works.

I just had a quick look at your code in the library:

1/the initialisation doesn't seem to follow the hitachi datasheet for 4 bit initialisation

2/ You allow plenty of setup time (8 NOPS) which is unecessary for a 12 clock cpu @11.0592MHz. Sure, it is conservative, but the other critical time is the EN high time that one would expect would have some NOPs also to cope with higher speed cpus.

I posted some code in another recent discussion of the 4bit mode - there's no comments so that (hopefully) the person using it will refer to the hitachi datasheet and it will explain what is happening.

List of 52 messages in thread
TopicAuthorDate
4-bit LCD ... single PORT            01/01/70 00:00      
   there's a datasheet            01/01/70 00:00      
      LCD datasheets ...            01/01/70 00:00      
         the Hitachi Datasheet for HD44780 is not like that            01/01/70 00:00      
         VFDs: Lucky b*stard            01/01/70 00:00      
   4-bit LCD            01/01/70 00:00      
      There are examples on 8052.COM if you search            01/01/70 00:00      
         And you don't need R/W*            01/01/70 00:00      
            but be aware! You discard several functions.            01/01/70 00:00      
               on saving pins            01/01/70 00:00      
                  wait a minute ...            01/01/70 00:00      
                     Richard, please            01/01/70 00:00      
                        Why should he change direction?            01/01/70 00:00      
                           no such impilcation            01/01/70 00:00      
                              well, the logic is simple ...            01/01/70 00:00      
                                 OK, as always            01/01/70 00:00      
                  Richard, quit bickering            01/01/70 00:00      
                     it goes to an OLD issue            01/01/70 00:00      
                        as I see it is that this is GREAT.            01/01/70 00:00      
                  On saving pins            01/01/70 00:00      
                  read the forum messages, don't glance            01/01/70 00:00      
   Here is my example            01/01/70 00:00      
      why do you persist in 'advertising' this CRAP            01/01/70 00:00      
         Attack, Attack, Attack.            01/01/70 00:00      
            get your facts straight            01/01/70 00:00      
               Did you understand real life ?            01/01/70 00:00      
                  yes, I do            01/01/70 00:00      
   Answer            01/01/70 00:00      
      Jon, great answer            01/01/70 00:00      
         Yes, indeed, ... BUT ...            01/01/70 00:00      
            How do you know...            01/01/70 00:00      
               It's possible that things worked that way            01/01/70 00:00      
   Better late than never            01/01/70 00:00      
      \"It works\"            01/01/70 00:00      
         Yes, it does            01/01/70 00:00      
            does that mean they're all alike?            01/01/70 00:00      
               Yes, if all guys would read the datasheets...            01/01/70 00:00      
                  Hitachi JHD 162a            01/01/70 00:00      
                     Point missed            01/01/70 00:00      
                     That's not relevant!            01/01/70 00:00      
                        Advice appriciated            01/01/70 00:00      
                           where are you going to find that?            01/01/70 00:00      
      well, you just posted your own 'comment'            01/01/70 00:00      
   Simple Guidance            01/01/70 00:00      
      One LCD, One Port            01/01/70 00:00      
      horsefeathers, male cow manure            01/01/70 00:00      
   GOD!!!            01/01/70 00:00      
      try a shadow register            01/01/70 00:00      
   Full assembly Code ... LCD 4 bit            01/01/70 00:00      
      On first reading...            01/01/70 00:00      
      probs in 2 SUBROUTINES ...            01/01/70 00:00      
   Many ways to skin a cat            01/01/70 00:00      

Back to Subject List