ATA6613-EK Atmel, ATA6613-EK Datasheet - Page 190

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
190
Atmel ATA6612/ATA6613
Table 6-67.
Table 6-68.
Table 6-69.
• Bit 4 – MSTR: Master/Slave Select
• Bit 3 – CPOL: Clock Polarity
• Bit 2 – CPHA: Clock Phase
• Bits 1, 0 – SPR1, SPR0: SPI Clock Rate Select 1 and 0
This bit selects Master SPI mode when written to one, and Slave SPI mode when written
logic zero. If SS is configured as an input and is driven low while MSTR is set, MSTR will
be cleared, and SPIF in SPSR will become set. The user will then have to set MSTR to
re-enable SPI Master mode.
When this bit is written to one, SCK is high when idle. When CPOL is written to zero, SCK
is low when idle. Refer to
tionality is summarized below:
The settings of the Clock Phase bit (CPHA) determine if data is sampled on the leading
(first) or trailing (last) edge of SCK. Refer to
The CPOL functionality is summarized below:
These two bits control the SCK rate of the device configured as a Master. SPR1 and
SPR0 have no effect on the Slave. The relationship between SCK and the Oscillator Clock
frequency f
SPI2X
0
0
0
0
1
1
1
1
CPOL
CPHA
0
1
0
1
CPOL Functionality
CPHA Functionality
Relationship Between SCK and the Oscillator Frequency
osc
is shown in the following table:
SPR1
0
0
1
1
0
0
1
1
Figure 6-67
Leading Edge
Leading Edge
Sample
Falling
Rising
Setup
and
SPR0
0
1
0
1
0
1
0
1
Figure 6-68
Figure 6-67
SCK Frequency
f
f
f
f
f
f
f
f
osc
osc
osc
osc
osc
osc
osc
osc
/
/
/
/
/
/
/
/
4
16
64
128
2
8
32
64
for an example. The CPOL func-
and
Figure 6-68
Trailing Edge
Trailing Edge
Sample
Falling
Rising
Setup
for an example.
9111H–AUTO–01/11

Related parts for ATA6613-EK