??? 01/13/06 13:35 Read: times |
#107273 - you can get working code by using Responding to: ???'s previous message |
you can get working code by using the CodeArchitect for LPC93x free from www.esacademy.com for the 669 all you have to do is to redo the oscillator setup which is different. What I did initially was to use the code as is (working) and then gradually, while verifying functionality, changing it to an exact match to my needs. One thing is that you usually throw out half the code because it generates both master and slave functionality.
I have, in the olden days, generated IIC code from scratch and, for some reason, always had a heck of a time to get the final small annoying glitches out, this has not happened with the above approach. Since I usually bitch about this, let me say that it is so very nice to see someone post well commented code. Since CodeArchitect was released I have used it, in the above fashion, without any hiccups for P89C668, 8051f122, 8051f132 and, of course the LPC. Erik |
Topic | Author | Date |
I2C routine getting stuck. | 01/01/70 00:00 | |
you can get working code by using | 01/01/70 00:00 | |
Re: Getting code working | 01/01/70 00:00 | |
I took aquick look at the I2con use and | 01/01/70 00:00 | |
Re: Why not interrupt. | 01/01/70 00:00 | |
24MHz without four layer board? | 01/01/70 00:00 | |
Re: 24MHz | 01/01/70 00:00 | |
What max freq can be used with two layer | 01/01/70 00:00 | |
who knows | 01/01/70 00:00 | |
I2C routine getting stuck. | 01/01/70 00:00 | |
Working very well with C668 @ 94khz bus | 01/01/70 00:00 | |
Bit Bangin Works fine. | 01/01/70 00:00 | |
Problem Solved. | 01/01/70 00:00 | |
maybe worth putting it into code library | 01/01/70 00:00 | |
Uploaded into code library.![]() | 01/01/70 00:00 |