I2C Prescaler Register (I2Cpsc); I2C Clock Divider Registers (I2Cclkl And I2Cclkh); I2C Prescaler Register (I2Cpsc) Field Descriptions - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com
Table 14-11. I2C Interrupt Source Register (I2CISRC) Field Descriptions (continued)
Bit
Field
2-0
INTCODE

14.5.6 I2C Prescaler Register (I2CPSC)

The I2C prescaler register (I2CPSC) is a 16-bit register (see
input clock to obtain the desired module clock for the operation of the I2C module. See the device-specific
data manual for the supported range of values for the module clock frequency.
descriptions. For more details about the module clock, see
IPSC must be initialized while the I2C module is in reset (IRS = 0 in I2CMDR). The prescaled frequency
takes effect only when IRS is changed to 1. Changing the IPSC value while IRS = 1 has no effect.
15
Reserved
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Bit
Field
Value Description
15-8 Reserved
7-0
IPSC
NOTE: To meet all of the I2C protocol timing specifications, the module clock must be configured
between 7-12 MHz.

14.5.7 I2C Clock Divider Registers (I2CCLKL and I2CCLKH)

As explained in
Section
use as the master clock on the SCL pin. As shown in
depends on two divide-down values:
ICCL in I2CCLKL (summarized by
determines the amount of time the signal is low.
ICCH in I2CCLKH (summarized by
SPRUH22I – April 2012 – Revised November 2019
Submit Documentation Feedback
Value
Description
Interrupt code bits. The binary code in INTCODE indicates the event that generated an I2C
interrupt.
000
None
001
Arbitration lost
010
No-acknowledgment condition detected
011
Registers ready to be accessed
100
Receive data ready
101
Transmit data ready
110
Stop condition detected
111
Addressed as slave
A CPU read will clear this field. If another lower priority interrupt is pending and enabled, the value
corresponding to that interrupt will then be loaded. Otherwise, the value will stay cleared.
In the case of an arbitration lost, a no-acknowledgment condition detected, or a stop condition
detected, a CPU read will also clear the associated interrupt flag bit in the I2CSTR register.
Emulator reads will not affect the state of this field or of the status bits in the I2CSTR register.
Figure 14-21. I2C Prescaler Register (I2CPSC)
R-0
Table 14-12. I2C Prescaler Register (I2CPSC) Field Descriptions
These reserved bit locations are always read as zeros. A value written to this field has no effect.
I2C prescaler divide-down value.
IPSC determines how much the CPU clock is divided to create the module clock of the I2C module:
module clock frequency = I2C input clock frequency/(IPSC + 1)
Note: IPSC must be initialized while the I2C module is in reset (IRS = 0 in I2CMDR).
14.1.3, when the I2C module is a master, the module clock is divided down for
Figure 14-23
Figure 14-24
Copyright © 2012–2019, Texas Instruments Incorporated
Figure
14-21) used for dividing down the I2C
Section
14.1.3.
8
7
Figure
14-22, the shape of the master clock
and
Table
14-13). For each master clock cycle, ICCL
and
Table
14-14). For each master clock cycle, ICCH
I2C Module Registers
Table 14-12
lists the bit
IPSC
R/W-0
C28 Inter-Integrated Circuit Module
0
1029

Advertisement

Table of Contents
loading

Table of Contents