Download - Application of Uart
-
7/31/2019 Application of Uart
1/53
Solutions using UARTs andSerial Protocol Bridges
Interface ProductsNXP Semiconductors
September 2006
-
7/31/2019 Application of Uart
2/53
2
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 fewQuick Poll questions
throughout thepresentation !
-
7/31/2019 Application of Uart
3/53
3
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)
What is a UART?
HostProcessor
Intel
MotorolaASIC
FPGA
UA
RT
Receive
Transmit
UA
RT
Transmit
ReceiveTX RX
TXRX
8-bit
Parallel
8-bit
Parallel
Local System Remote System
Serial
HostProcessor
Intel
MotorolaASIC
FPGA
-
7/31/2019 Application of Uart
4/53
4
How Does a UART Work?
Means of communication between multiple systemsTransmit UART:
takes data from the Transmit Processor & sends the byte in bitsReceiver UART:
receives the data one bit at a time & assembles the bits and sends the data tothe Receiving Processor
In both operations the UART: checks for communication errors
greatly relieves the processor the task of managing the communication channel
TransmitterShift Reg
CPUTransmitting
CPUTransmitting
Transmit UART
Interrupt
tx
tx
Empty
Full
FIFOFIFO CntrCntr
ReceiverShift Reg
CPUReceiving
CPUReceiving
Receive UART
Interrupt
rx
rx
Empty
Full
CntrCntr FIFOFIFO
Serial
(RS-232)
Parallel1 1
2 2
3 4
-
7/31/2019 Application of Uart
5/53
5
Why choose NXP UARTs?
We are an established and committed long termsupplier
We offer a broad portfolio in the industry
All products are manufactured and assembled
in-house
Extensive application support including on-line
technical support: [email protected]
Multiple Channels
Low Voltage
Deep FIFO
Auto Flow Control
Low Power
Pin-to-Pin Migration
Small Package
Much More!
-
7/31/2019 Application of Uart
6/53
6
Why Customers choose NXP?
Innovation is key, we constantly develop new solutions !
SC28L201/202: first high speed, low power UART with real-time data error
detection, intelligence interrupt arbitration, and 256 byte FIFO (1-2 Channel)
SC16CxxxB: advanced high speed with the broadest voltage range, 5Mbps
baud rates, fast bus cycle times, IrDA, Industrial temperature at commercial
pricing, and lead free
Micro-UART: the smallest 1-2-4 channel UARTs in HVQFN, shrunk LQFP,
and BGA package
SC68C752B, SC68C652B: 16CxxxB Dual UART with Motorola Interface
SC16C850L, SC16C852L, SC16C852V: 1.8V UART with 128-byte FIFO, and
Intel/Motorola and VLIO Interface
-
7/31/2019 Application of Uart
7/53
7
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
UART
-
7/31/2019 Application of Uart
8/53
8
Mobile UART: Smart, Small and Practical
Ideal for portable applications WCDMA mobile phones - Bluetooth link PDA, Smartphones, Gaming, Navigation
1-2-4 Channel UARTs
Low power and high data rate 5Mbps data rate 1.8V-2.5V-3.3V-5V operation
IrDA for wireless links
New : Our advanced SC16C85x family
-
7/31/2019 Application of Uart
9/53
9
Industrial UART family
-
7/31/2019 Application of Uart
10/53
10
Commercial 16CxxxB UART Family
BB
-
7/31/2019 Application of Uart
11/53
11
Single (SC28L201) and Dual (SC28L202) channels UARTFull duplex independent UART
256-byte FIFO for receiver and transmitter13 programmable I/O ports3V and 5V operation with 5V-tolerant inputsPin programming for Motorola or Intel bus interfacesBaud Rates up to 3.125MbpsAuto RTS/CTS and Xon/Xoff Flow ControlPower-down mode (< 10A)Xon/Xoff Character Recognition
16-bit programmable Counter/TimerIntelligence Interrupt Arbitration (I2A)Auto Wake-up (9-bit) mode for RS485 applicationsLine break detection and Change of state detectionReceiver Time-out mode and Watchdog timer for receiverReal time transmission Error checkUART channels mode for system debugging
Interrupt Request and Acknowledgement pinsIndustrial temperature at Commercial pricing48-pin TSSOP package
SC28L201/202 Features
Intel and MotorolaConversion
WRN -> R/WN
RDN -> DACKN
High-PerformanceSingle Channel
UART
-
7/31/2019 Application of Uart
12/53
12
Easily Interface to many Microcontrollers
Intel/Motorola and VLIO busLow 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 rateFIFOs: 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 ordouble)
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
SC16C85xxSingle and dual channels, High Speed Low Voltage UARTs
-
7/31/2019 Application of Uart
13/53
13
SC16C85x solutions offered
YESYES(1)YES1.8VVLIO2SC16C852V
YESYES2.5-3.3VINTEL/MOTO2SC16C852
YESYESTBD1.8VINTEL/MOTO2SC16C852L
YESTBD1.8VVLIO1SC16C850V
YESYES2.5-3.3VINTEL/MOTO1SC16C850
YESYESYES1.8VINTEL/MOTO1SC16C850L
LQFP
(9X9)
HVQFN
(5x5)
TFBGA
(3.5x3.5)
VccHost InterfaceChannelPart Number
For more information contact us at : [email protected] now! Production in Q406
Ideal for new designs that require :High speed UARTs to support BluetoothHigh performance UARTs that can interface with new generation CPUsDeep FIFO UARTs that enable transfer of larger data with minimum CPU overheadand more!
-
7/31/2019 Application of Uart
14/53
14
Why use the UARTs over integrated UARTs?
Faster baud rates up to 5Mbps (good for Bluetooth)
Deeper FIFOs up to 256 byte
Low current consumption
Programmable UART baud rate with high resolution clock prescaler
Extra GPIO with change-of-state detectors for general-purpose or modemcontrol
More Flexible interrupt systemIndependent transmit and receive channel control
More Channels (1, 2, 4, and 8)
Better Auto software and hardware flow controls prevent loss of data
Better Auto multi-drop (RS-485) mode prevent software overhead
Flexible character length format 5 to 8 data, parity, 9-bit, and stop bitsBuilt-in IrDA interface circuitry enable wireless links communication
Upgrade the UART for future interfaces without replacing the CPU/ ASIC
-
7/31/2019 Application of Uart
15/53
15
UARTs in New Designs
Enable data to be transmitted
rapidly to various links (LCD, GPS, GPRS,Bluetooth, IrDA, Wireless Headset)
Provide optimal solutions tomeet new designs demands
Extra channels (up to 8 channels)
Fast bus cycle times Deep FIFO (up to 256 bytes) High baud-rates (up to 5Mbps) Advance interrupts RS232 and RS485 (multi-drop mode) Software compatible to the system
Relieve CPU significantly from basic tasks!
The CPU can now focus on the essential tasks
CPU
UART Debug
LCD
BLUETOOTH
GPRS
SYSTEMDATA BUS
PHILIPSUART
GPS
-
7/31/2019 Application of Uart
16/53
-
7/31/2019 Application of Uart
17/53
17
Navigation
Processor
D
U
AR
T
GPS
Receiver
Parallel Data Bus
Control
Interrupt
RS-232
Line
Drivers
U
A
R
T
DVD
Processor
RS-232Line
DriversInterrupt
ControlKeyboard
TX/RX
RTS/CTS
SC16C752B
SC28L202
SC16C750B
SC28L201
TX/RX
8
SerialParallel
Using the UARTs, the processor can manage the communication easily amongGPS receiver, DVD processor, and keyboard
DVD Navigation System
-
7/31/2019 Application of Uart
18/53
18
HostProcessor
QualcommMSM6550 SC16C750BIBS
Bluetooth
Chip
Tx
Rx
Host Control
UART in Bluetooth ApplicationEx. WCDMA phone
Low Voltage, High-Speed Bluetooth Interface 2.7V, 1.5Mbps
8-bitParallel
SC16C750BIBSINT
High-speed
UART (5Mbps)
Bluetooth
RF
Advantages:
-64-byte FIFO-Auto flow controls-Low power mode-Sleep mode
-
7/31/2019 Application of Uart
19/53
19
HostProcessor
QualcommMSM6280
SC16C750BIBS
Bluetooth
EDR
Tx
Rx
Host Control
UART in Bluetooth ApplicationEx. WCDMA phone
Low Voltage, High-Speed Bluetooth Interface 1.8V, 3.125Mbps
8-bitParallel
SC16C850LINT
High-speedUART (5Mbps)
BluetoothRF
Advantages:
-128-byte FIFO-Auto flow controls-Low power mode-Sleep mode
-
7/31/2019 Application of Uart
20/53
20
What is a Bridge IC?
New generation of interface solutions for managing communication
among various bus interfacesPurpose to overcome the limitation of the host bus interface toperipherals
Benefits: Greater design flexibility Ability to retain original design investment
Faster time to market Link legacy and new systems and vice versa
UART
I2C
SPI
UART
I2C
SPI
IrDA
GPIO
-
7/31/2019 Application of Uart
21/53
21
Connectivity Bridges in Production now!
?I2C to SPI buscontroller
?Low power and lowvoltage
?Full-duplex high-speed SPI interface
?Fast I2C deviceinterface
?Programmable
GPIO
?High datathroughput and
integrity
?TSSOP
?UART to I2C buscontroller
?Low power and lowvoltage
?Supports RS232
?Fast I2C device
interface?Programmable
GPIO and baud rate
?High data
throughput andintegrity
?TSSOP
?SPI to I2C buscontroller
?Low power andlow voltage
?Full-duplex high-speed SPI interface
?Fast I2C deviceinterface
?Programmable
GPIO
?High datathroughput and
integrity
?TSSOP
?SPI/I2C to high-speedUART
?Low power and lowvoltage
?Minimal hostconnection
?Supports RS232 /RS485
?IrDA for wireless links
?Configurable GPIO
?SPI speed: 4Mbps-15Mbps
?High data throughputand integrity
?TSSOP, HVQFN
SC18IS602SC18IM700SC18IS600SC16IS7xx
-
7/31/2019 Application of Uart
22/53
22
SC16IS7xxI2C/SPI to UART/IrDA/GPIO
SC16IS750I2C/SPI Slave to 1-channel UART with 8 GPIOSupport IrDA speeds up to 115.2Kbit/sSPI speed up to 4Mbps
SC16IS760I2C/SPI Slave to 1-channel UART with 8 GPIOSupport IrDA speeds up to 115.2Kbit/sSPI speed up to 15Mbps
SC16IS740I2C/SPI Slave to 1-channel UART without GPIO
SC16IS752I2C/SPI Slave to 2-channel UART with 8 GPIOSupport IrDA speeds up to 115.2Kbit/sSPI speed up to 4Mbps
SC16IS762I2C/SPI Slave to 2-channel UART with 8 GPIOSupport IrDA speeds up to 1.152Mbit/s
SPI speed up to 15Mbps
-
7/31/2019 Application of Uart
23/53
23
SC16IS75x/76xIC/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 programmableXon/Xoff characters (single or double)
Auto RS485 support (automatic slave addressdetection and auto direction)
Programmable I/O pins (up to 8)
Support IrDA SIR speed up to 1.152Mbps
Software reset
I2C slave speed up to 400 Kbps
SPI slave speed up to 15Mbps
Small package: HVQFN, TSSOP
15 Mbps-16-1SC16IS740
2
2
1
1
# of
Ports
28
28
24
24
TSSOP
Pins
32
32
24
24
HVQFN
Pins
8
8
8
8
# of
GPIO
4 MbpsSC16IS752
15 MbpsSC16IS762
15 MbpsSC16IS760
4 MbpsSC16IS750
SPI Max
Speed
Part
Number
Supply
SCL/CLK
-CS/A0
S0
I2C/-SPI
-IRQ
X1 X2
SDA
Oscillator
Subaddress
decoder
I2C-SPI businterface
ResetPOR
UART
GPIO
CONTROL
SI/A1
TX
RX
RTS
CTS
GPIO0
GPIO1
GPIO7
-RESET
-
7/31/2019 Application of Uart
24/53
24
Reduce host interface interconnection Less wires : 3 wires (I2C) or 5 wires (SPI) with interrupt support
Compatible with industry standard UARTs
Easy to use, Software can be ported from another platform
Allow host interfacing to either I2C or SPI bus through a selectable pin One chip for both I2C and SPI bus interface
Enable automatic slave address detection for RS485 applications Auto enable receiver when the slave address is matched
Enable auto direction in RS485 mode Auto inverted RTS pin during transmission
Regulate data flow automatically to prevent data overflow/lost Auto hardware and software flow control (single/double)
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
SPI/I2C to UART/IrDA/GPIO Bridge
-
7/31/2019 Application of Uart
25/53
25
Application Areas: Synchronous to Asynchronous interface bridge
Synchronous serial communication to processors
Asynchronous serial communication to peripherals
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
Example Applications: 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
SPI/I2C to UART/IrDA Bridge w/GPIO
-
7/31/2019 Application of Uart
26/53
26
Application Diagram of SC16IS7xx Bridge
The above diagram shows:
The SPI or IC master sends/receives data to/from a remote UARTdevice(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
CPU Serial Devices
PDA / Remote Control
Fan Control, LED
SPIMaster
Embedded
Processor
I2CMaster
SC16IS752/762
UART /IrDA
Ch2
GPIO(8 total)
I2CSlave
SPI Bus
I2C Bus
Bluetooth
GPS
Smart Cards
Peripherals
RS232UART
Ch1
SPISlave
RS485
OR
OR
-
7/31/2019 Application of Uart
27/53
27
Fewer wire connection to the host
Compatible with industry standardUARTs
Allow I2C or SPI bus host interface
Automatic slave address detection forRS485 (multi-drop) applications
8 Programmable I/O pins for modemcontrol, keypad, and led blinker
Infrared-link wireless communication
Shrink board size with small ICpackage
Suitable for hand-held, battery
operated applications
SC16IS7xx ApplicationsBenefits
-
7/31/2019 Application of Uart
28/53
28
Demonstrate Bridge solutions for high-speed serial data communicationbetween a SPI / I2C host and a UART device via RS232 / RS485 and a
wireless device via IrDA
Modular :
- Simple interface to an external SPI / I2C master through headers
- On-board I2
C / SPI microcontroller host interface- Direct connect a UART device through DB9 connector- IrDA SIR module for wireless communication
The demo boards are availablenow
Sample Code:
- SC16IS7x0 device initialization- RS232/RS485, and IrDA setup
The demo boards are availablenowVisit: http://www.standardics.nxp.com/support/boards/sc16is7xx/
SC16IS750/760 Demo BoardSPI/ I2C slave to UART Bridge
-
7/31/2019 Application of Uart
29/53
29
SC18IM700UART to I2C 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
2.3V 3.6V Operation5V 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
UART I2C MasterBridge
Supply
RX
TX
Oscillator
UART
Reset
wakeup
POR
I2C
CONTROLLER
GPIO
-RESET
SDA
SCL
GPIO0GPIO1
GPIO7-WAKEUP
-
7/31/2019 Application of Uart
30/53
30
Benefits: Industry standard serial communication UART and I2C 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 I2C devices Enable UART systems communicating with I2C devices
Pin Out Diagram:
SC18IM700UART to I2C Master Bridge
-
7/31/2019 Application of Uart
31/53
31
Application Areas: Any application which requires I2C Master capability Adapter for I2C devices Enabling I2C support in systems Processors need multiple I2C 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
SC18IM700UART to I2C Master Bridge
-
7/31/2019 Application of Uart
32/53
32
Host / CPU SC18IM700
I2CMaster
I2C Slave Devices
I2C EEPROM(PCF85116)
I2C LED Dimmer(PCA9531)
I2C GPIO(PCA9554A)
UART
I2C Bus
RS-232
8GPIOs
UART
Peripherals
LEDs Switches
Example message : 53 CE 06 11 97 80 00 00 AA 50
I
2
Ccommands
Application DiagramUART to I2C Master Bridge
-
7/31/2019 Application of Uart
33/53
33
UART to I2C 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
The demo boards are availablenow
Sample Code:-SC18IM700 device initialization-I2C slave devices commands
SC18IM700 Board
Board and sampling is available through [email protected]
-
7/31/2019 Application of Uart
34/53
34
SC18IS600/601SPI to I2C Master Bridge w/GPIO
Full duplex communication
SPI host interfaceI2C Bus Controller
I2C Multi-master capability
Five configurable General Purpose I/O ports
5V tolerant I/O pins
SPI speed up to 3Mbps
I2C 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 oscillatorActive low interrupt output
I2C Time-Out
Very small 16 pin TSSOP package3 Mbps
1Mbps
Max
SPI Clock
ExternalSC18IS601
InternalSC18IS600
OscillatorPart Number
SPI
PCA9564compatiblefunction ®ister set
-WAKEUP
MOSI
-SCLK
SDA
SCL
5
VCC VSS
-CS
MISO
-RESET
GPIOsGPIO REG.
-INT
-
7/31/2019 Application of Uart
35/53
35
SC18IS600/601SPI 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, SwitchesSignificantly reduces effort and hardware resources
Ready to use and sample codes are available
Significantly reduces the cost of connecting multiple devices
Direct connect an I2C device to the I2C 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
-
7/31/2019 Application of Uart
36/53
36
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 I2C bus ports
Multi-master communication
Example Applications: Cell Phones, Handheld Computers
Industrial Equipment Control
Telecom / Networking Medical Equipment
Sensor, Storage,
Gaming machines and More!
SC18IS600/601SPI to I2C Master Bridge
-
7/31/2019 Application of Uart
37/53
37
The above diagram shows
- 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
Host / CPU SC18IS600
SPISlave
I2CMaster
I2C Slave Devices
I2C EEPROM(PCF85116)
I2C LED Dimmer(PCA9531)
I2C GPIO(PCA9554A)
SPI
Master
I2C Bus
SPIBus
5GPIOs
Peripherals
LEDs, SwicthesHost / CPU
I2C
Master
Application DiagramSPI-to-I2C Master Bridge
-
7/31/2019 Application of Uart
38/53
38
SPI to I2C Serial Interface Demo Board
Demonstrate the Bridge solutions for serial datacommunication between a SPI host and multiple
I2C slave devices.
Modular :
- Simple interface to a SPI master and external I2Cslave devices through headers
- On-board I2C slave devices
The demo boards availablenow
Sample Code:- SC18IS600/601 device initialization- I2C slave devices commands
SC18IS600/601 Board
Board and sampling is available through: [email protected]
-
7/31/2019 Application of Uart
39/53
39
SC18IS602/603I2C 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)
Very small 16-pin TSSOP package 4 Mbps
1.8 Mbps
Max
SPI Clock
ExternalSC18IS603
InternalSC18IS602
OscillatorPart Number
-
7/31/2019 Application of Uart
40/53
40
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
Significantly reduces a large number of traces across the system Two I2C traces to Master and Four SPI traces to Slave
Significantly reduces effort and hardware resources Ready to use and sample codes are available
Significantly reduces the cost of connecting multiple devices Direct connect to the hosts via I2C-bus and the devices via SPI-bus
Minimizes interconnections Smaller packages so less expensive PCBs
Enables controlling peripherals with programmable GPIO ports Four ports can be used to control LEDs output
SC18IS602/603I2C to SPI Master Bridge
-
7/31/2019 Application of Uart
41/53
41
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!
SC18IS602/603I2C to SPI Master Bridge
-
7/31/2019 Application of Uart
42/53
42
The above diagram shows
The host processor with I2C-bus master interface sends data to control SPI slave devices such asSPI EEPROM
The programmable GPIOs can be used to control multiple peripherals such as LEDs
Application DiagramI2C-to-SPI Master Bridge
The Usage Scenario of SC18IS602/603 (I C-to-SPI) Bridge
Host
Processor
SC18IS602/603
I2C
Slave
SPI
Master
SPI Slave Devices
SPI EEPROM
I2C
Master
SPI
BusI2C
Bus
I2C-to-SPI Bridge
GPIO
Peripheral
LED
SPI LCD
-
7/31/2019 Application of Uart
43/53
43
Demonstrate the Bridge solutions for serial data communicationbetween a I2C host and multiple SPI slave devices.
Modular :
-Simple interface to an external I2C master and SPI slave devicesthrough headers
-Selectable I2C device address
The demo boards availablenow
Sample Code:-SC18IS602/603 device initialization
-SPI slave bridge commands
SC18IS602/603 Demo BoardI2C-to-SPI Serial Interface
Board and sampling is available through: [email protected]
B id IC i H S it S t
-
7/31/2019 Application of Uart
44/53
44
New Design, New Solution
Bridge IC in a Home Security Systems
Using the Bridge IC - SC16IS750, the home control reports a summary of itsdevices about once a second to the home monitor over a High-speed SPI-to-RS232
link
Security
Security
Remote
Controls
Door
Window
IR Sensor
Door
Window
Rooms
SecurityConsole
Home ControlHandheld
Remotes
Zone &Alarm Status
Power Line
Interface Lights
Appliances
Home Monitor
HomeControl
Monitor
SC16IS750
Status
Cmd
Cmd &
Sensor
Device &
Security &
Control
Status
Cmd &
CmdStatus
Power
VideoSPI RS-232
TV
UHFModular
Smart RFRepeater
Home
Control
B id IC i POS A li i
-
7/31/2019 Application of Uart
45/53
45
Scale
Bridge IC in a POS Application
SC16IS752SC16IS752
I2C
Bus
POS
ARM7Processor
ARM7Processor
SDRAMSDRAMAddress
Data Bus
Monitor
Printer
Server
Barcode
Reader
Bridge IC SC16IS752 enables the processor to expand the
communication for multiple peripherals such as Barcode reader and Scale
UART
C
-
7/31/2019 Application of Uart
46/53
46
Using the Bridge IC SC16IS752 for managing high-speed communication amongthe data collection modules
NXP LPC21381.8V ARM7 Processor
Data
CollectionModule 1
Data
CollectionModule 2
Bridge IC in a Power Meter Application
SC16IS752
Debug
Port
I2C
U
A
R
T
U
A
R
T
GPRS
LCD
B id IC i S lli R di A li i
-
7/31/2019 Application of Uart
47/53
47
RF BasebandReceiver ARM9PROCESSOR
TI DM320
SC16IS760
SPI-to-RS485
DockingStation
IrDA
AUDIODAC
AUDIO OUT
UART
SPI
I2S
RS485
Bridge IC in a Satellite Radio Application
Using the Bridge IC - SC16IS760 (SPI-to-RS-485) enables the processor seamlesslycommunicate with the docking station and touch-screen monitor in high-speed
New Design, New Solution
Bridge IC in a Cell phone Application
-
7/31/2019 Application of Uart
48/53
48
New Design. New Solution.
Bridge IC in a Cell phone Application
CPUOnly fewwires forcontrol
BluetoothModule
High-SpeedUART
(5Mbps)
IrDA SIR
(1.152Mbps)
SC16IS752/762
* Coming soon, winCEdriver for SC16C75xsolution for portableapplications by Bsquare
B id IC S t
-
7/31/2019 Application of Uart
49/53
49
Bridge ICs - Support
Application Notes
AN10397 : How to use the SC18IM700 to
control any I2C-bus device
AN10428 : UART-SPI Gateway for SPI slave bridges
AN10452 : Interfacing Bridge IC with microcontrollers
AN10462 : SPI programming for Bridge ICs
For more information about the Bridge ICs, visit our website:
www.standardics.nxp.com/products/bridges
www.standardics.nxp.com/support/interface
Software, User Manual, Demo Board
Extensive application support including online technical support:
Bridge ICs Development Kits
-
7/31/2019 Application of Uart
50/53
50
Bridge ICs Development KitsAsk your distributor for one
-
7/31/2019 Application of Uart
51/53
51
Visit our websitewww.standardics.nxp.com/interface
Survey Questions after the presentation
-
7/31/2019 Application of Uart
52/53
52
Survey Questions after the presentationParticipate in specifying the next perfect part
What do you think about these possible bridges?
SPI (50MHz) to high speed USB (480Mbps) 8-bit parallel data bus to SDIO/MMC/CE ATA host controller SDIO Slave to UART
Please rate each bridge device we covered today SC16IS7xx IC/SPI to UART SC18IS600/601 SPI to IC Master SC18IM70x UART to IC Master SC18IS602 IC to SPI Master
Could you see using a bridge or UART in your next design ? Why cant your microcontroller do this function ? How does your application use serial ports ? If so, what benefit do you see in using it ?
What bridges would you like NXP to make next ? If you were to add more features to thebridges, what new features
Higher I2C speed
Faster SPI speed Lower operating voltage Different protocols Other features please specify
C l i
-
7/31/2019 Application of Uart
53/53
Conclusion
As systems and markets converge, there is an increase in a multitude ofinterface
Technology is enabling the development and growth of a wide variety ofserial 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, real-time error detection, flexible interrupt system, and small packages
Bridges 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