Follow the high-level UNICOMM
configurations in Section 22.3 before executing the below I2CT-specific configurations.
- Clear the ENABLE bit in the
CTR register before making any of the below configuration changes.
- Configure at least one target
address by writing the OAR register. An additional target address can be
enabled and configured for Advanced I2CT UNICOMM instances using the OAR2
register.
- Configure the desired FIFO trigger levels in the IFLS
register.
- Configure acknowledgement settings in the ACKCTL register.
- Configure clock stretching, TXTRG/RXTRG interrupt modes,
default device addresses, and SMBUS feature settings (only available on
Advanced I2CT instances) in the CTR register.
- Enable desired interrupts
and/or DMA event by using CPU_INT, DMA_TRIG_RX, DMA_TRIG_TX group IMASK
registers.
- (Optionally) Configure the
emulation mode for the peripheral in the PDBGCTL register.
- Enable the I2CT by setting
the CTR.ENABLE bit.