AT32UC3C1512C Automotive Atmel Corporation, AT32UC3C1512C Automotive Datasheet - Page 735

no-image

AT32UC3C1512C Automotive

Manufacturer Part Number
AT32UC3C1512C Automotive
Description
Manufacturer
Atmel Corporation
28.8.2.2
28.8.2.3
9166C–AVR-08/11
Setting Up and Performing a Transfer
Address Matching
TLOWS: Prescaled clock cycles used to time SMBUS timeout T
TTOUT: Prescaled clock cycles used to time SMBUS timeout T
SUDAT: Non-prescaled clock cycles for data setup and hold count. Used to time T
EXP: Specifies the clock prescaler setting used for the SMBUS timeouts.
Figure 28-6. Bus Timing Diagram
Operation of the TWIS is mainly controlled by the Control Register (CR). The following list pres-
ents the main steps in a typical communication:
The interrupt system can be set up to generate interrupt request on specific events or error con-
ditions, for example when a byte has been received.
The NBYTES register is only used in SMBus mode, when PEC is enabled. In I²C mode or in
SMBus mode when PEC is disabled, the NBYTES register is not used, and should be written to
zero. NBYTES is updated by hardware, so in order to avoid hazards, software updates of
NBYTES can only be done through writes to the NBYTES register.
The TWIS can be set up to match several different addresses. More than one address match
may be enabled simultaneously, allowing the TWIS to be assigned to several addresses. The
1. Before any transfers can be performed, bus timings must be configured by writing to the
2. If the Peripheral DMA Controller is to be used for the transfers, it must be set up.
3. The Control Register (CR) must be configured with information such as the slave
Timing Register (TR).
address, SMBus mode, Packet Error Checking (PEC), number of bytes to transfer, and
which addresses to match.
S
t
t LOW
HD:STA
t
SU:DAT
t HIGH
t
HD:DAT
t LOW
t
t
SU:DAT
SU:STA
Sr
TIMEOUT
LOW:SEXT
.
.
AT32UC3C
t
SU:STO
SU_DAT
P
.
735

Related parts for AT32UC3C1512C Automotive