Enhanced Universal Serial Communication Interface B (eUSCI_B) Overview
822
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Enhanced Universal Serial Communication Interface (eUSCI) – I
2
C Mode
32.1 Enhanced Universal Serial Communication Interface B (eUSCI_B) Overview
The eUSCI_B module supports two serial communication modes:
•
I
2
C mode
•
SPI mode
If more than one eUSCI_B module is implemented on one device, those modules are named with
incrementing numbers. For example, if one device has two eUSCI_B modules, they are named eUSCI0_B
and eUSCI1_B.
32.2 eUSCI_B Introduction – I
2
C Mode
In I
2
C mode, the eUSCI_B module provides an interface between the device and I
2
C-compatible devices
connected by the two-wire I
2
C serial bus. External components attached to the I
2
C bus serially transmit or
receive serial data to or from the eUSCI_B module through the 2-wire I
2
C interface.
The eUSCI_B I
2
C mode features include:
•
7-bit and 10-bit device addressing modes
•
General call
•
START, RESTART, STOP
•
Multi-master transmitter or receiver mode
•
Slave receiver or transmitter mode
•
Standard mode up to 100 kbps and fast mode up to 400 kbps support
•
Programmable UCxCLK frequency in master mode
•
Designed for low power
•
8-bit byte counter with interrupt capability and automatic STOP assertion
•
Up to four hardware slave addresses, each having its own interrupt and DMA trigger
•
Mask register for slave address and address received interrupt
•
Clock low time-out interrupt to avoid bus stalls
•
Slave operation in LPM4
•
Slave receiver START detection for auto wake-up from LPMx modes (not LPM3.5 and LPM4.5)
shows the eUSCI_B when configured in I
2
C mode.