| Electronic Components Datasheet Search |
|
SAFC161PI Datasheet(PDF) 300 Page - Infineon Technologies AG |
|
|
|||||||||||||||||||||||||||||
SAFC161PI Datasheet(HTML) 300 Page - Infineon Technologies AG |
|
300 / 400 page ![]() &3, 7KH ,& %XV 0RGXOH User’s Manual 17-6 1999-08 17.3 Operating the I 2C Bus The on-chip I 2C bus module of the C161PI can be operated in variety of operating modes. Master or Slave operation can be selected, so the I 2C module can control the external bus (master) or can be controlled via the bus (slave) by a remote master. 7-bit or 10-bit addressing can be selected, so the I 2C module can communicate with standard 7-bit devices as well as with more sophisticated 10-bit devices. 100 KBd or 400 KBd transfer speed can be selected, so the I2C module can communicate with slow devices conforming to the standard I2C bus specification as well as with fast devices conforming to the extended specification. Physical channels can be selected, so the I 2C module can use electrically separated channels or increase the addressing range by using more data lines. Note: Baudrate and physical channels should never be changed (via ICCFG) during a transfer. 17.3.1 Operation in Master Mode If the on-chip I 2C module shall control the I2C bus (i.e. be bus master) master mode must be selected via bitfield MOD in register ICCON. The physical channel is configured by a control word written to register ICCFG, defining the active interface pins and the used baudrate. More than one SDA and/or SCL line may be active at a time. The address of the remote slave that is to be accessed is written to ICRTB. The bus is claimed by setting bit BUM in register ICCON. This generates a start condition on the bus and automatically starts the transmission of the address in ICRTB. Bit TRX in register ICCON defines the transfer direction (TRX=’1’, i.e. transmit, for the slave address). A repeated start condition is generated by setting bit RSC in register ICCON, which automatically starts the transmission of the address previously written to ICRTB. This may be used to change the transfer direction. RSC is cleared automatically after the repeated start condition has been generated. The bus is released by clearing bit BUM in register ICCON. This generates a stop condition on the bus. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |