Specifications

mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 6: Serial Communication Modules
Fig. 6-30 Data Reception in I²C Master Mode
Start - Address - Acknowledge - Data - Acknowledge .... Data - Acknowledge - Stop!
In this pulse condition, the acknowledge bit is sent to slave device.
Baud Rate Generator
In order to synchronize data transmission, all events taking place on the SDA pin must be synchronized with the clock
generated in master device. This clock is generated by a simple oscillator whose frequency depends on the
microcontroller’s main oscillator frequency, value written to the SSPADD register and the current SPI mode.
The clock frequency of the mode described in this book depends on selected quartz crystal and the SPADD register. The
formula used to calculate it is shown in figure below.
http://www.mikroe.com/en/books/picmcubook/ch6/ (25 of 27)5/3/2009 11:34:00 AM