We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
To follow up on the thread a few weeks ago about polled vs. interrupt UART operation I've written one up this week and have posted it at: http://www.embeddedfw.com Yes it's my site but you get a free UART driver to play with. It's fully self contained in one C file with very few external definitions required in the accompanying .h file. I'd be interested to hear if anyone tries it, if they like it, if they find bugs. I've only done some minimal testing using D-Scope. Thanks and enjoy. What driver next? - Mark
"What driver next?" Well, I think pretty high on the FAQ list would be LCD...?
Hitachi 44780? SED1330?
Whichever you choose, the first request will be for the other one! ;-)
I've considered the LCD driver. However, without real hardware I think publishing such a driver might be a dis-service. How about an I2C driver for 8051's that do not have I2C support? Then I could add chips with hardware I2C support later. - Mark
Chec http://www.keil.com/i2c for a starting point on that. Jon
Jon, Thanks, I'll check them out. Of course, I've already written such drivers. These experimental drivers are really to productize, somewhat, my experiences in hopes someone can use them. - Mark
Mark, One thing you may find helpful is that we fully simulate the I2C module on most all 8051's. Take a look in the debugger Peripherals Menu. An application note describes how to use this simulation. http://www.keil.com/appnotes/docs/apnt_153.asp Jon
Jon, Sounds good, I'll take a look. Thanks. - Mark