??? 03/07/08 20:22 Read: times |
#152013 - TWI and AT89C5131 Responding to: ???'s previous message |
The TWI module works just fine. It is effectively exactly the same as used on the AVR range. You just change the names of the registers.
I would agree that the Atmel app notes make everything look complicated. If you are using the 5131 purely as a Master with several slaves, then it is a lot simpler to not use interrupts. I have not driven 24AA512 but have done 24LC512. You should be able to clock it at 400kHz. I have only clocked at 100kHz. I suggest you try CR2,CR1,CR0 = 0 to start with. I was restricted to 100kHz because of the other devices on the bus. The bit-rate is set differently with the AVR. David. |
Topic | Author | Date |
Problem using TWI of AT89C5131AM | 01/01/70 00:00 | |
TWI | 01/01/70 00:00 | |
I2C is a Philips/NXP Trademark | 01/01/70 00:00 | |
Problem using TWI of AT89C5131AM | 01/01/70 00:00 | |
There's an echo in here | 01/01/70 00:00 | |
Register addressing of i2c devices | 01/01/70 00:00 | |
TWI and AT89C5131 | 01/01/70 00:00 | |
how do you know?? | 01/01/70 00:00 | |
Try reading the Atmel app notes. | 01/01/70 00:00 | |
Problem using TWI of AT89C5131AM | 01/01/70 00:00 | |
There's an echo in here | 01/01/70 00:00 | |
just had a look![]() | 01/01/70 00:00 |