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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/27/07 06:14
Read: times


 
#146275 - Think?
Responding to: ???'s previous message

Mike, you seem to forget that most of us around here are professionals that do this stuff every day! If i kept on doing dodgy designs, I'd be out of a job. We don't 'know' - we've actually DONE it and got the t-shirt to boot.

You obviously didn't understand what I was saying regarding the 1mS tick - your code doesn't have to wait to write anything to the display - the interrupt code makes it happen in the background. The main code just puts what it wants on the display in a ram array and it magically appears on the display. Did you manage to understand how my 4bit lcd code worked that I posted some time ago. You seemed to think I was performing some 'black magic' or something - you seemed to be the only one suggesting that it wouldn't work!


As for your requirements - we seem to have a conflict. On one hand you want performance and small code, but yet you choose a graphic lcd with the dumbest controller! Let alone using a graphic lcd - the font(s) alone can chew up a bit of code space and then you have the code to write the font to the display and draw pixels etc. All not conducive to 'small code'.

So why the worry about waiting? The KS0108 is quite a bit faster than the HD44780 + derivatives. I recently interfaced one of these displays to a LPC2194 running at 55MHz. I had to put a few small (uS) delays in the code, but I definitely don't poll for busy - I just copy the ram array to the display.

List of 27 messages in thread
TopicAuthorDate
I\'m debating this 8052 circuit...            01/01/70 00:00      
   Do you understand why that was done?            01/01/70 00:00      
      I understand, but my debate is not solved.            01/01/70 00:00      
         Avoid the situation!            01/01/70 00:00      
         It should be ...            01/01/70 00:00      
            ...            01/01/70 00:00      
               startup.a51 will do just that unless modified            01/01/70 00:00      
                  What's a "startup.a51"            01/01/70 00:00      
                     C startup            01/01/70 00:00      
                        and if I use my own code...            01/01/70 00:00      
                           If you're smart enough to do that ...            01/01/70 00:00      
                              MMIO            01/01/70 00:00      
                                 yes, at osc/12 it's 1 MHz ... but ...            01/01/70 00:00      
                              ...            01/01/70 00:00      
                                 that's crazy            01/01/70 00:00      
                           Why worry?            01/01/70 00:00      
                              polls?            01/01/70 00:00      
                                 If you want it to be high-speed, you won't use LCD            01/01/70 00:00      
                                 experiment with the obvious            01/01/70 00:00      
                                 Complexity            01/01/70 00:00      
                                    I think!            01/01/70 00:00      
                                       If only that were true ... ...            01/01/70 00:00      
                                       Think?            01/01/70 00:00      
                                          ok            01/01/70 00:00      
                                             Not a matter of guessing..            01/01/70 00:00      
                                                careful now!            01/01/70 00:00      
                     ASM            01/01/70 00:00      

Back to Subject List