at91sam9263 ATMEL Corporation, at91sam9263 Datasheet - Page 527
at91sam9263
Manufacturer Part Number
at91sam9263
Description
At91 Arm Thumb Microcontrollers
Manufacturer
ATMEL Corporation
Datasheet
1.AT91SAM9263.pdf
(1065 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
at91sam9263-CJ
Manufacturer:
ATMEL
Quantity:
181
Company:
Part Number:
at91sam9263-EK
Manufacturer:
Atmel
Quantity:
135
Company:
Part Number:
at91sam9263B-CU
Manufacturer:
IDT
Quantity:
1 043
Part Number:
at91sam9263B-CU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
at91sam9263B-CU-100
Manufacturer:
ATMEL
Quantity:
1 000
- Current page: 527 of 1065
- Download datasheet (16Mb)
33.6.4
33.6.4.1
Figure 33-20. Connection of a Smart Card to the USART
33.6.4.2
6249D–ATARM–20-Dec-07
ISO7816 Mode
ISO7816 Mode Overview
Protocol T = 0
The USART features an ISO7816-compatible operating mode. This mode permits interfacing
with smart cards and Security Access Modules (SAM) communicating through an ISO7816 link.
Both T = 0 and T = 1 protocols defined by the ISO7816 specification are supported.
Setting the USART in ISO7816 mode is performed by writing the USART_MODE field in the
Mode Register (US_MR) to the value 0x4 for protocol T = 0 and to the value 0x5 for protocol T =
1.
The ISO7816 is a half duplex communication on only one bidirectional line. The baud rate is
determined by a division of the clock provided to the remote device (see
on page
The USART connects to a smart card as shown in
tional and the Baud Rate Generator feeds the ISO7816 clock on the SCK pin. As the TXD pin
becomes bidirectional, its output remains driven by the output of the transmitter but only when
the transmitter is active while its input is directed to the input of the receiver. The USART is con-
sidered as the master of the communication as it generates the clock.
When operating in ISO7816, either in T = 0 or T = 1 modes, the character format is fixed. The
configuration is 8 data bits, even parity and 1 or 2 stop bits, regardless of the values pro-
grammed in the CHRL, MODE9, PAR and CHMODE fields. MSBF can be used to transmit LSB
or MSB first. Parity Bit (PAR) can be used to transmit in normal or inverse mode. Refer to
“USART Mode Register” on page 538
The USART cannot operate concurrently in both receiver and transmitter modes as the commu-
nication is unidirectional at a time. It has to be configured according to the required mode by
enabling or disabling either the receiver or the transmitter as desired. Enabling both the receiver
and the transmitter at the same time in ISO7816 mode may lead to unpredictable results.
The ISO7816 specification defines an inverse transmission format. Data bits of the character
must be transmitted on the I/O line at their negative value. The USART does not support this for-
mat and the user has to perform an exclusive OR on the data before writing it in the Transmit
Holding Register (US_THR) or after reading it in the Receive Holding Register (US_RHR).
In T = 0 protocol, a character is made up of one start bit, eight data bits, one parity bit and one
guard time, which lasts two bit times. The transmitter shifts out the bits and does not drive the
I/O line during the guard time.
If no parity error is detected, the I/O line remains at 1 during the guard time and the transmitter
can continue with the transmission of the next character, as shown in
511).
USART
SCK
TXD
and
CLK
I/O
“PAR: Parity Type” on page
AT91SAM9263 Preliminary
Smart
Figure
Card
33-20. The TXD line becomes bidirec-
Figure
539.
“Baud Rate Generator”
33-21.
527
Related parts for at91sam9263
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
AT91SAM ARM-based Flash MCU
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
At91sam Arm-based Flash Mcu
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
At91sam Arm-based Flash Mcu
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
At91sam Arm-based Embedded Mpu
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
At91sam Arm-based Embedded Mpu
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
At91sam Arm-based Embedded Mpu
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
At91sam Arm-based Embedded Mpu
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
At91sam Arm-based Embedded Mpu
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AT91 ARM THUMB-BASED MICROCONTROLLERS
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AT91 MEMORY EXTENSION CARD
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
AT91 ARM X40 SERIES EVAL KIT
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
AT91 ARM Cortex M3-based Processor
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet: