![]() ![]() Expecially, why I use this protocol? Thanks this tutorial I "saw the light at the end of the tunnel".įor example if I compare this protocol with SPI, the first big difference are the number of pins required. ![]() With I2C you can connect up to 128 devices.Īt the beginning it wasn't very clear at all.NACK: one or high means that there is an error and transmission ends.ACK: zero or low means that the byte is acknowledged and the slave device should continue sending.There is a 9th bit who recognize the received bytes:.The 8th bit is reserved for write/read direction: Each device have a 7 bits address and every communication between master and slave begin with it.It is FULL-DUPLEX, which means that both device can send and receive data at the same time.It is SYNCHRONOUS protocol, so there is a clock master who controls the communication by sending out the timing signal.SCL for "serial clock", it is always generate by the current bus master.I2C it's a serial protocol for networking communication who use two pins (in addition to GND and VCC pins):. ![]() I decided to read chapter 17 of Make: AVR programming cause it explain clearly what I2C is. I thought that the best thing that I could do was read something about it. THEORY: AVR PROGRAMMING AND OTHER TUTORIAL Design and build a wired &/or wireless network connecting at least two processors. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |