Beruflich Dokumente
Kultur Dokumente
Agenda
What is a UART? How does a UART work? Why choose NXP UARTs? Why do Next Generation Designs Still Need UARTs? Why choose NXP UARTs over integrated UARTs? What is a serial protocol bridge? How are these new bridges used? How can you qualify for free samples or demo board? Survey Stay alert for a few Quick Poll questions throughout the presentation !
What is a UART?
UART is Universal Asynchronous Receiver and Transmitter Easy and low cost serial interface to connect two computing systems Industry standard asynchronous communication data interfaces More reliable for high-speed serial communication Need less wires than parallel transmission Enable long distance serial communication (RS232=50ft, RS485=4Kft)
Local System
Host Processor Intel Motorola ASIC FPGA Transmit U A R T Receive RX TX TX RX
Remote System
Receive U A R T Transmit Host Processor Intel Motorola ASIC FPGA
8-bit Parallel
Serial
8-bit Parallel
Transmit UART:
takes data from the Transmit Processor & sends the byte in bits receives the data one bit at a time & assembles the bits and sends the data to the Receiving Processor checks for communication errors greatly relieves the processor the task of managing the communication channel
CPU CPU Receiving Receiving
1
Parallel Full
Interrupt
Full
3
FIFO
Cntr
2
FIFO
Receiver Shift Reg
Empty
Empty
Transmit UART
Receive UART
4
Multiple Channels Low Voltage Deep FIFO Auto Flow Control Low Power Pin-to-Pin Migration Small Package Much More!
UART
Benefits
Improve the system performance Free up the processor Provide context sensitive interrupt vector Verify the correct data arrived at the destination in real time Processor can send a large data packet per interrupt in short time Warn of short messages in the receiver FIFO for high data throughput Prevent data loss and the need for re-transmission Ideal solution for battery-operated applications
Applications
Telecom / networking : routers, servers, VoIP systems Consumer electronic and security devices Industrial control and Medical equipment Portable devices : cell phone, PDA, GPRS, gaming Multi-drop industrial remote stations : display, sensor, meter POS systems : vending screen, banking terminal, gas station Remote access router : console, terminal, diagnostic, modem
10
SC28L201/202 Features
Single (SC28L201) and Dual (SC28L202) channels UART Full duplex independent UART 256-byte FIFO for receiver and transmitter 13 programmable I/O ports 3V and 5V operation with 5V-tolerant inputs Pin programming for Motorola or Intel bus interfaces Baud Rates up to 3.125Mbps Auto RTS/CTS and Xon/Xoff Flow Control Power-down mode (< 10A) Xon/Xoff Character Recognition 16-bit programmable Counter/Timer Intelligence Interrupt Arbitration (I2A) Auto Wake-up (9-bit) mode for RS485 applications Line break detection and Change of state detection Receiver Time-out mode and Watchdog timer for receiver Real time transmission Error check UART channels mode for system debugging Interrupt Request and Acknowledgement pins Industrial temperature at Commercial pricing 48-pin TSSOP package
Intel and Motorola Conversion WRN -> R/WN RDN -> DACKN
11
SC16C85xx
Single and dual channels, High Speed Low Voltage UARTs
Easily Interface to many Microcontrollers
Intel/Motorola and VLIO bus
Low voltage operation 1.8 to 3.3V operation with 5V tolerant inputs on modem side Low Power, Sleep Mode < 10A UART Baud Rate up to 5Mbps High resolution clock prescaler
Choose any nearby clock to generate the perfect baud rate
FIFOs: 128 bytes (transmitter and receiver) Transmit and Receive FIFO level fill reports Auto hardware flow control using RTS/CTS or DTR/DSR pins Auto software flow control with programmable Xon/Xoff characters (single or double) Auto RS485 support (automatic slave address detection and auto direction) IrDA support: 115.2Kbps UART Software reset Standard and Ultra Small package: LQFP, HVQFN and TFBGA
12
For more information contact us at : interface.support@nxp.com Sampling now! Production in Q406 Ideal for new designs that require : High speed UARTs to support Bluetooth High performance UARTs that can interface with new generation CPUs Deep FIFO UARTs that enable transfer of larger data with minimum CPU overhead and more!
13
14
CPU
UART
Debug
LCD
PHILIPS UART
BLUETOOTH
Relieve CPU significantly from basic tasks! The CPU can now focus on the essential tasks
GPRS
GPS
15
BLUETOOTH MODULE
IrDA TRANSCEIVER
UART
TXB RXB
CPU
D[7..0]
CHA
A[2..0] A[2..0] A[2..0]
CHB
INT
16
Navigation Processor
Control Interrupt 8
TX/RX
RTS/CTS
TX/RX
Control Interrupt
Keyboard
Parallel
Serial
Using the UARTs, the processor can manage the communication easily among GPS receiver, DVD processor, and keyboard
17
Tx Rx
Advantages: -64-byte FIFO -Auto flow controls -Low power mode -Sleep mode <30uA -HVQFN32 (5x5x0.85mm) -Enhanced features
18
Tx Rx
1.8V EBI2
Advantages: -128-byte FIFO -Auto flow controls -Low power mode -Sleep mode <30uA -TFBGA36 (3.5x3.5x0.8mm) -Enhanced features
19
Benefits:
Greater design flexibility Ability to retain original design investment Faster time to market Link legacy and new systems and vice versa
20
SC18IS600
?SPI to I2C bus controller ?Low power and low voltage
SC18IM700
?UART to I2C bus controller ?Low power and low voltage
SC18IS602
?I2C to SPI bus controller ?Low power and low voltage ?Full-duplex highspeed SPI interface ?Fast I2C device interface ?Programmable GPIO ?High data throughput and integrity ?TSSOP
?Full-duplex high?Supports RS232 speed SPI interface ?Fast I2C device ?Fast I2C device interface interface ?Programmable ?Programmable GPIO and baud rate GPIO ?High data ?High data throughput and throughput and integrity integrity ?TSSOP ?TSSOP
21
SC16IS7xx
I2C/SPI to UART/IrDA/GPIO SC16IS750
I 2C/SPI Slave to 1-channel UART with 8 GPIO Support IrDA speeds up to 115.2Kbit/s SPI speed up to 4Mbps
SC16IS760
I 2C/SPI Slave to 1-channel UART with 8 GPIO Support IrDA speeds up to 115.2Kbit/s SPI speed up to 15Mbps
SC16IS740
I2C/SPI Slave to 1-channel UART without GPIO
SC16IS752
I 2C/SPI Slave to 2-channel UART with 8 GPIO Support IrDA speeds up to 115.2Kbit/s SPI speed up to 4Mbps
SC16IS762
I 2C/SPI Slave to 2-channel UART with 8 GPIO Support IrDA speeds up to 1.152Mbit/s SPI speed up to 15Mbps
22
SC16IS75x/76x
IC/SPI to UART/IrDA/GPIO
Single, Dual full-duplex UART Selectable I2C or SPI bus interface 2.5V or 3.3V operation with 5V tolerant inputs Low Power, Sleep Mode < 30A UART Baud Rate up to 5Mbps FIFO : 64 bytes (transmitter and receiver) Auto HW flow control using RTS/CTS pins Auto SW flow control with programmable Xon/Xoff characters (single or double) Auto RS485 support (automatic slave address detection and auto direction) Programmable I/O pins (up to 8) Support IrDA SIR speed up to 1.152Mbps Software reset I 2C slave speed up to 400 Kbps SPI slave speed up to 15Mbps Small package: HVQFN, TSSOP
Part Number SC16IS740 SC16IS750 SC16IS760 SC16IS752 SC16IS762 # of Ports 1 1 1 2 2 # of GPIO 8 8 8 8
Supply POR SDA SCL/CLK -CS/A0 S0 SI/A1 -IRQ I2C/-SPI I2C-SPI bus interface CONTROL UART TX RX RTS CTS Sub address decoder Oscillator GPIO0 GPIO1 GPIO GPIO7 X2 Reset -RESET
X1
TSSOP Pins 16 24 24 28 28
HVQFN Pins 24 24 32 32
23
Programmable 8 I/O pins for modem or general purpose multi-function pins Significantly reduce
effort and hardware resources ready to use the cost of connecting multiple devices bus sharing a large number of traces across the system easy to design
Shrink board size and small IC package size less expensive to build Suitable for hand-held, battery operated applications low power and small
24
SPI / I2C to RS232 / RS485 interface conversion Adapter for RS232 / RS485 devices Wireless communication IrDA Point to point communication RS232 Multi-drop communication RS485 More UART channels needed in SPI / I2C systems High performance UART required in SPI / I2C systems Cell phone, Handheld Devices Battery-Powered Equipment Network Diagnostic Terminal Point of Sale (POS) Industrial Front-Panel Interfaces Remove Access Server Bluetooth, GPS, and GPRS interface Wireless IrDA data port Gaming machines
Example Applications:
25
SC16IS752/762
RS232 UART Ch1 SPI Slave I2C Slave UART / IrDA Ch2
OR
Serial Devices
Bluetooth GPS Smart Cards
SPI Master
RS485
SPI Bus
OR
I2C Bus
I 2C Master
Embedded Processor
GPIO (8 total)
Peripherals
Fan Control, LED
The above diagram shows: The SPI or IC master sends/receives data to/from a remote UART device(s) The programmable GPIO can be used to control multiple peripherals for example LED, fan control, etc The built-in IrDA SIR enables point-to-point wireless communications with speed up to 1.152Mbps
26
SC16IS7xx Applications
Benefits
Fewer wire connection to the host Compatible with industry standard UARTs Allow I2C or SPI bus host interface Automatic slave address detection for RS485 (multi-drop) applications 8 Programmable I/O pins for modem control, keypad, and led blinker Infrared-link wireless communication Shrink board size with small IC package Suitable for hand-held, battery operated applications
27
28
SC18IM700
UART to I 2C Master Bridge w/GPIO
UART host interface I2C master bus controller RS-232 with baud rate up to 460.8 Kbps I2C speed up to 400 kbps 16-byte Transmitter and Receiver FIFO 8 programmable I/O pins Programmable baud rate generator
-RESET -WAKEUP Oscillator Supply RX TX POR SDA I2C
UART
CONTROLLER
SCL
2.3V 3.6V Operation 5V tolerant input pins Sleep mode (Power down) I2C-like RS-232 Protocol in ASCII format I2C multi-master capability Fixed 8N1 RS-232 format (1 start, 8 data, 1 stop, no parity bit) Support hardware reset After reset, the baud rate is 9600 bps (then, can be changed through Baud Rate Generator) WAKEUP pin Very small 16-pin TSSOP package
Reset wakeup
29
SC18IM700
UART to I 2C Master Bridge Benefits:
Industry standard serial communication UART and I2 C Simple and cost effective interface Make a multitasking system more efficient Deep FIFO Significantly reduces complexity of system interconnections Significantly reduces software overhead and hardware resources Simplify PCB layout less traces and IC pins needed Enable long distance communication between host and I2 C devices Enable UART systems communicating with I 2C devices
30
SC18IM700
UART to I 2C Master Bridge Application Areas:
Any application which requires I2C Master capability Adapter for I2C devices Enabling I2C support in systems Processors need multiple I2 C bus ports Point to point serial communication I2C devices diagnostic / debug tool
Example Applications:
Cell Phones, Handheld Computers, PCs / Laptops Industrial Equipment Control Telecom / Networking Medical Equipment Sensor, Storage Gaming machines I2C instrumentation and control
31
Application Diagram
UART to I 2C Master Bridge
I2 C Bus I2 C Slave Devices I 2C EEPROM (PCF85116) I 2C LED Dimmer (PCA9531) 8 GPIOs I 2C GPIO (PCA9554A)
I2C commands
Example message : 53 CE 06 11 97 80 00 00 AA 50
32
SC18IM700 Board
UART to I 2C Serial Interface Demo Board Demonstrate NXP Bridge solutions for serial data communication between a UART host and multiple I2C slave devices Modular :
-Simply interface to a hosts UART port -On-board I2C slave devices -Easy connect to external I2C slave devices through headers -Board power provided by nearby USB port
SC18IS600/601
SPI to I2C Master Bridge w/GPIO
Full duplex communication SPI host interface I 2C Bus Controller I 2C Multi-master capability Five configurable General Purpose I/O ports 5V tolerant I/O pins SPI speed up to 3Mbps I 2C speed: 400 Kbps 96 byte TX FIFO 96 byte RX FIFO 2.4V 3.6V operation Power down mode with Wakeup pin Internal oscillator or external oscillator Active low interrupt output I 2C Time-Out
SC18IS600 SC18IS601 Part Number Max SPI Clock 1Mbps 3 Mbps Internal External Oscillator
GPIO REG. -INT MOSI MISO SDA -SCLK -CS -RESET -WAKEUP
SPI PCA9564 compatible function & register set
VCC
VSS
SCL
5 GPIOs
34
SC18IS600/601
SPI to I2C Master Bridge
Simple communication protocol almost no overhead Full duplex communication with very high data rates Two-way simultaneous independent transmission (two lines) Suitable for I2C communication with devices that are accessed intermittently LED Dimmer, Data Storage, Switches Significantly reduces a large number of traces across the system LED Dimmer, Data Storage, Switches Significantly reduces effort and hardware resources Ready to use and sample codes are available Significantly reduces the cost of connecting multiple devices Direct connect an I 2C device to the I 2C bus Minimizes interconnections smaller and less expensive PCBs Enables controlling peripherals with programmable GPIO ports Five ports can be used as General Purpose Input and Output Efficient in a single master single slave scenario
35
SC18IS600/601
SPI to I2C Master Bridge Application Areas:
Synchronous serial communication of host processor and peripherals SPI to I2C serial interface conversion Adapter for I2C devices Enabling I2C support in a system Processors need multiple I2 C bus ports Multi-master communication
Example Applications:
Cell Phones, Handheld Computers Industrial Equipment Control Telecom / Networking Medical Equipment Sensor, Storage, Gaming machines and More!
36
Application Diagram
SPI-to-I2C Master Bridge
Host / CPU SPI Master SC18IS600 SPI Slave I2C Master 5 GPIOs I2C Slave Devices I2C EEPROM (PCF85116) I2C LED Dimmer (PCA9531) I2C GPIO (PCA9554A)
SPI Bus
The SPI master sends data to control I2C slave devices such as I2C LED Dimmer The programmable GPIOs can be used to control multiple peripherals such as LEDs
37
SC18IS600/601 Board
SPI to I2C Serial Interface Demo Board
Demonstrate the Bridge solutions for serial data
communication between a SPI host and multiple I2C slave devices. Modular :
- Simple interface to a SPI master and external I2C slave devices through headers - On-board I2C slave devices
SC18IS602/603
I2C to SPI Master Bridge
I2C-bus slave interface operating up to 400KHz Full duplex SPI master interface operating up to 4Mbps Deep data buffer up to 200 byte Up to four SPI slave select output pins Up to four programmable GPIO pins Operating supply voltage: 2.4V to 3.6V Low power mode Internal oscillator option Active low interrupt output Industrial temperature range (-40 to +85 C)
SC18IS602 Part Number Max SPI Clock 1.8 Mbps 4 Mbps Internal External Oscillator
SC18IS603
39
SC18IS602/603
I2C to SPI Master Bridge
Simple I2C and SPI communication protocol Full duplex SPI communication with very high data rates
Two way simultaneous independent transmission (two lines)
Enables controlling up to four SPI slave devices Suitable for I2C-to-SPI communication with devices that are accessed intermittently
SPI EEPROM for data storage
Minimizes interconnections
Smaller packages so less expensive PCBs
40
SC18IS602/603
I2C to SPI Master Bridge Application Areas:
Synchronous serial communication between processors and peripherals I2C slave-to-SPI master serial interface conversion Adapter for SPI devices Enabling SPI support in an existing system Processors needs multiple SPI-bus ports Broadcasting SPI communication
Example Applications:
Cell Phones, Handheld Computers Industrial Equipment Control Telecom / Networking Medical Equipment Sensor, Storage, Gaming machines and More!
41
Application Diagram
I2C-to-SPI Master Bridge
The Usage Scenario of SC18IS602/603 (I 2C-to-SPI) Bridge Host Processor I2C Master SC18IS602/603 I2C Bus I2C Slave SPI Master GPIO I2C-to-SPI Bridge
The above diagram shows The host processor with I 2C-bus master interface sends data to control SPI slave devices such as SPI EEPROM The programmable GPIOs can be used to control multiple peripherals such as LEDs
SPI Bus
Peripheral LED
42
Security Console
Smart RF Repeater
Cmd
Home Monitor
TV
Video
UHF
Modular
Power
Using the Bridge IC - SC16IS750, the home control reports a summary of its devices about once a second to the home monitor over a High-speed SPI-to-RS232 link
44
Monitor
Processor Processor
Address
POS
ARM7 ARM7
UART
Data Bus
SDRAM SDRAM
I2C Bus
Printer
SC16IS752 SC16IS752
Scale
Bridge IC SC16IS752 enables the processor to expand the communication for multiple peripherals such as Barcode reader and Scale
45
GPRS
U A R T
U A R T
Debug Port
SC16IS752
Data Collection Module 1 Data Collection Module 2
Using the Bridge IC SC16IS752 for managing high-speed communication among the data collection modules
46
IS
AUDIO DAC
Using the Bridge IC - SC16IS760 (SPI-to-RS-485) enables the processor seamlessly communicate with the docking station and touch-screen monitor in high-speed
47
Bluetooth Module
48
49
50
51
What bridges would you like NXP to make next ? If you were to add more features to the bridges, what new features
Higher I 2C speed Faster SPI speed Lower operating voltage Different protocols Other features please specify
52
Conclusion
As systems and markets converge, there is an increase in a multitude of interface Technology is enabling the development and growth of a wide variety of serial interfaces More and more systems use several serial interfaces UART, I2C, SPI, and IrDA are widely used for data communication UARTs
Offer low voltage, low power, deep FIFO, high data rate, more channels, realtime error detection, flexible interrupt system, and small packages Provide cost effective, ready to use, and seamless way to communicate between the protocols Result in greater system flexibility and significantly reduces software as well as CPU overhead Provide high speed UART with minimal host connection via I2C or SPI
Bridges
53