26.11.2012 Views

Beyond Bits VII - Freescale Semiconductor

Beyond Bits VII - Freescale Semiconductor

Beyond Bits VII - Freescale Semiconductor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Back to Table of Contents<br />

The universal asynchronous receiver/<br />

transmitter (UART) module in Vybrid<br />

devices allows for asynchronous,<br />

full-duplex serial communication in a<br />

variety of formats.<br />

Features of the UART include:<br />

• Standard mark/space non-return-tozero<br />

format<br />

• Supports IrDA 1.4 return-to-zeroinverted<br />

format<br />

• Supports ISO 7816 protocol for<br />

interfacing with SIM cards and<br />

smartcards (feature supported on<br />

one UART module only)<br />

• 13-bit baud rate selection with<br />

by-32 fractional divide<br />

• Programmable eight- or nine-bit<br />

data formats<br />

• Ability to select MSB or LSB to be<br />

first on the wire<br />

• Hardware flow control support for<br />

request to send and clear to send<br />

signals<br />

• Separate transmit and receive<br />

(feature supported on two UART<br />

modules only) FIFOs with DMA<br />

request capability<br />

ISO 7816 Support<br />

Two of the UART modules support<br />

the ISO 7816 standard, allowing<br />

communication with SIM cards and<br />

smartcards. This feature has the<br />

following characteristics:<br />

• Supports T=0 and T=1 protocols<br />

• Automatic retransmission<br />

of NACKed packets with<br />

programmable retry threshold<br />

• Supports 11 and 12 ETU transfers<br />

• Detects initial packet and automated<br />

transfer parameter programming<br />

freescale.com/Vybrid<br />

UART Transmit Logic<br />

UART Transmit Logic<br />

Module<br />

Clock<br />

ISO ISO 7816 7816 Timing Timing Diagrams Diagrams<br />

ISO 7816 Format without Parity Error (T=0)<br />

START<br />

BIT<br />

BIT 0<br />

BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7<br />

PARITY<br />

BIT STOP<br />

BIT<br />

STOP<br />

BIT<br />

ISO 7816 Format with Parity Error (T=0)<br />

START<br />

BIT<br />

BIT 0<br />

ISO 7816 Format (T=1)<br />

START<br />

BIT<br />

Baud Rate Generator<br />

SBR12:0 BRFA4:0<br />

PE<br />

PT<br />

BIT 0<br />

M10<br />

M<br />

TXINV<br />

MSBF<br />

Parity<br />

Generation<br />

<strong>Beyond</strong> <strong>Bits</strong> Vybrid Edition<br />

Universal Asynchronous Receiver/<br />

Transmitter<br />

A flexible approach to full-duplex serial communication<br />

Stop<br />

IRQ/DMA<br />

Logic<br />

Internal Bus<br />

SCI Data Register (SCID)<br />

Variable 12-bit Transmit<br />

Shift Register<br />

Shift Direction<br />

7816 Logic<br />

Infrared Logic<br />

Start<br />

Transmitter<br />

Control<br />

TXDIR<br />

SBK<br />

TE<br />

BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7<br />

PARITY<br />

BIT<br />

BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7<br />

PARITY<br />

BIT<br />

R485 Contol<br />

Loop Control To Receiver<br />

NACK<br />

ERROR<br />

STOP<br />

BIT<br />

TXD Pin Control<br />

Tx port en<br />

Tx output buffer en<br />

Tx input buffer en<br />

DMA Done<br />

TxD<br />

NEXT<br />

START<br />

BIT<br />

TxD<br />

DMA Requests<br />

IRQ Requests<br />

LOOPS<br />

RSRC<br />

RTS_B<br />

CTS_B<br />

NEXT<br />

START<br />

BIT<br />

STOP<br />

BIT<br />

NEXT<br />

START<br />

BIT<br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!