ATA6613-EK Atmel, ATA6613-EK Datasheet - Page 248

no-image

ATA6613-EK

Manufacturer Part Number
ATA6613-EK
Description
BOARD DEMO LIN-MCM FOR ATA6613
Manufacturer
Atmel
Datasheets

Specifications of ATA6613-EK

Main Purpose
Interface, LIN + MCU
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATA6613
Primary Attributes
LIN-SBC (System-Basis-Chip) Transceiver, LIN 2.0, Voltage Regulator, Window Watchdog
Secondary Attributes
16 kB Flash, 4 Power Modes: Pre-Normal, Normal, Sleep, Silent, 48-QFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Table 6-90.
248
Status Code
(TWSR)
Prescaler Bits
are 0
0x08
0x10
0x18
0x20
0x28
0x30
0x38
Atmel ATA6612/ATA6613
Status of the 2-wire Serial
Bus and 2-wire Serial
Interface Hardware
A START condition has
been transmitted
A repeated START
condition has been
transmitted
SLA+W has been
transmitted;
ACK has been received
SLA+W has been
transmitted;
NOT ACK has been
received
Data byte has been
transmitted;
ACK has been received
Data byte has been
transmitted;
NOT ACK has been
received
Arbitration lost in SLA+W or
data bytes
Status codes for Master Transmitter Mode
A REPEATED START condition is generated by writing the following value to TWCR:
After a repeated START condition (state 0x10) the 2-wire Serial Interface can access the
same Slave again, or a new Slave without transmitting a STOP condition. Repeated START
enables the Master to switch between Slaves, Master Transmitter mode and Master Receiver
mode without losing control of the bus.
TWCR
value
Load data byte or
No TWDR action or
No TWDR action or
No TWDR action
Load data byte or
No TWDR action or
No TWDR action or
No TWDR action
No TWDR action or
No TWDR action
No TWDR action or
No TWDR action or
No TWDR action or
No TWDR action or
Load data byte or
Load data byte or
No TWDR action
No TWDR action
Load SLA+W or
To/from TWDR
Load SLA+W
Load SLA+R
TWINT
1
Application Software Response
TWEA
X
0
1
0
1
0
1
0
1
0
1
STA
0
0
0
0
1
0
1
0
1
0
1
0
0
1
1
0
0
1
1
0
0
TWSTA
STO
0
0
0
0
0
1
1
0
0
1
1
To TWCR
1
1
1
1
1
1
1
1
1
1
1
TWINT TWEA
1
1
1
1
1
1
1
1
1
1
1
TWSTO
0
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Next Action Taken by TWI Hardware
SLA+W will be transmitted;
ACK or NOT ACK will be received
SLA+W will be transmitted;
ACK or NOT ACK will be received
SLA+R will be transmitted;
Logic will switch to Master Receiver mode
Data byte will be transmitted and ACK or NOT
ACK will be received
Repeated START will be transmitted
STOP condition will be transmitted and
TWSTO Flag will be reset
STOP condition followed by a START condition
will be transmitted and TWSTO Flag will be reset
Data byte will be transmitted and ACK or NOT
ACK will be received
Repeated START will be transmitted
STOP condition will be transmitted and
TWSTO Flag will be reset
STOP condition followed by a START condition
will be transmitted and TWSTO Flag will be reset
Data byte will be transmitted and ACK or NOT
ACK will be received
Repeated START will be transmitted
STOP condition will be transmitted and
TWSTO Flag will be reset
STOP condition followed by a START condition
will be transmitted and TWSTO Flag will be reset
Data byte will be transmitted and ACK or NOT
ACK will be received
Repeated START will be transmitted
STOP condition will be transmitted and
TWSTO Flag will be reset
STOP condition followed by a START condition
will be transmitted and TWSTO Flag will be reset
2-wire Serial Bus will be released and not
addressed Slave mode entered
A START condition will be transmitted when the
bus becomes free
TWWC
X
TWEN
1
0
9111H–AUTO–01/11
TWIE
X

Related parts for ATA6613-EK