AN Sleep programming for NXP bridge ICs. Document information

Similar documents
AN Automatic RS-485 address detection. Document information

AN Interfacing Philips Bridge IC with Philips microcontroller. Document information

Installation Manual Installation Manual for the MicroWave Office design kit version v1.0

AN10955 Full-duplex software UART for LPC111x and LPC13xx

MF1 MOA4 S50. Contactless Chip Card Module Specification. This document gives specifications for the product MF1 MOA4 S50.

AN10688_1. PN532C106 demoboard. Document information. NFC, PN532, PN532C106, demoboard. This document describes PN532C106 demoboard.

UM NVT2001GM and NVT2002DP demo boards. Document information

AN SC16IS760/762 Fast IrDA mode. Document information

PCA9633 demonstration board OM6282

AN LPC1700 Ethernet MII Management (MDIO) via software. Document information. LPC1700, Ethernet, MII, RMII, MIIM, MDIO

AN10428 UART-SPI Gateway for Philips SPI slave bridges

AN LPC1700 secondary USB bootloader. Document information. LPC1700, Secondary USB Bootloader, ISP, IAP

AN Entering ISP mode from user code. Document information. ARM ISP, bootloader

LPC1300, FM+, Fast-mode Plus, I 2 C, Cortex-M3

Installation Manual. Installation Manual for the ADS design kit version v2.1. ADS Design kit Windows Linux Unix Instruction Manual RF small signal

ES_LPC81xM. Errata sheet LPC81xM. Document information

UM NVT2008PW and NVT2010PW demo boards. Document information

IMPORTANT NOTICE. As a result, the following changes are applicable to the attached document.

UM PCAL6524 demonstration board OM Document information

Installation Manual Installation Manual for the Ansoft Designer v5.0 design kit version v1.0

IMPORTANT NOTICE. use

UM QN908x Quick Start. Document information. QN908x, Quick Start, Development Kit, QN9080 DK, QN9080 Development Kit

ES_LPC5410x. Errata sheet LPC5410x. Document information

AN10917 Memory to DAC data transfers using the LPC1700's DMA

uip, TCP/IP Stack, LPC1700

UM PCA9698 demonstration board OM6281. Rev September Document information

MF1ICS General description. Functional specification. 1.1 Key applications. 1.2 Anticollision. Energy. MIFARE card contacts La, Lb.

1.8 V single UART, 5 Mbit/s (max.) with 128-byte FIFOs, infrared (IrDA), and XScale VLIO bus interface

Dual back-to-back Zener diode

How to use the NTAG I²C plus for bidirectional communication. Rev June

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

UM ISP1181x Microcontroller Eval Kit. Document information. Keywords isp1181a, isp1181b, usb, universal serial bus, peripheral

Total power dissipation: 500 mw Small plastic package suitable for surface-mounted design Wide working voltage range Low differential resistance

NXP AN11528 sensor Application note

UM PCSerial. Document information. PCSerial, MFRD52x development board, MFRC52x, PN51x design-in kit

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment

CAUTION This device is sensitive to ElectroStatic Discharge (ESD). Therefore care should be taken during transport and handling.

550 MHz, 34 db gain push-pull amplifier

Broadband system applications i.e. WCDMA, CATV, etc. General purpose Voltage Controlled Attenuators for high linearity applications

UM10766 User manual for the I2C-bus RTC PCF85263A demo board OM13510

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

OM13071 LPCXpresso824-MAX Development board

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

LPC81x, LPC82x, LPC83x Errata Sheet and Datasheet Update for Vdd.1 Errata

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

AN Design guidelines for COG modules with NXP monochrome LCD drivers. Document information

SL2ICS5311EW/V7. Name Description. Diameter: 8 Thickness: Material: ground + stress releave. Roughness: R t max. 5 μm. Chip size: 940 x 900 μm 2

Using LPC11Axx EEPROM (with IAP)

Low forward voltage Ultra small SMD plastic package Low capacitance Flat leads: excellent coplanarity and improved thermal behavior

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

OM bit GPIO Daughter Card User Manual

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

QSG DAC1x08D+ECP3 DB

UM LPC General Purpose Shield (OM13082) Rev November Document information. Keywords

AN NTAG I²C plus memory configuration options. Application note COMPANY PUBLIC. Rev June Document information

AN BGA GHz 18 db gain wideband amplifier MMIC. Document information. Keywords. BGA3018, Evaluation board, CATV, Drop amplifier.

UM PR533 - PCSC Tool. User manual COMPANY PUBLIC. Rev November Document information

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

PESD5V0U2BT. 1. Product profile. Ultra low capacitance bidirectional double ESD protection diode. 1.1 General description. 1.

PMEG2010EH; PMEG2010EJ; PMEG2010ET

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

UM LPC54018 IoT module. Document information. LPC54018, OM40007, Amazon FreeRTOS, AWS, GT1216 LPC54018 IoT module user manual

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

AN LPC82x Touch Solution Quick Start Guide. Document information. Keywords

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

AN BGA301x Wideband Variable Gain Amplifier Application. Document information. Keywords

LH79524/LH Application Note. Static Memory System Design INTRODUCTION STATIC MEMORY OPERATION

UART Register Set. UART Master Controller. Tx FSM. Rx FSM XMIT FIFO RCVR. i_rx_clk o_intr. o_out1 o_txrdy_n. o_out2 o_rxdy_n i_cs0 i_cs1 i_ads_n

PRTR5V0U2X Ultra low capacitance double rail-to-rail ESD protection diode Rev January 2008 Product data sheet

PESD5V0U1BA; PESD5V0U1BB; PESD5V0U1BL

PMEG3015EH; PMEG3015EJ

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

YHY202D RfidLoginer Datasheet

AN CBTL08GP053 Programmer's Guide. Document information. Keywords Abstract

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

UM User Manual for LPC54018 IoT Module. Rev November Document information

LPC540xx_LPC54S0xx. Errata sheet LPC540xx_LPC54S0xx. Document information

PMEG1030EH; PMEG1030EJ

UM NXP USB PD shield board user manual COMPANY PUBLIC. Document information

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

Figure 1. CP2108 USB-to-Quad UART Bridge Controller Evaluation Board

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

PESD3V3L1UA; PESD3V3L1UB; PESD3V3L1UL

QPP Proprietary Profile Guide

NWP2081T. 1. General description. 2. Features and benefits. 3. Applications. 4. Ordering information. Half-bridge driver IC

ES_LPC5411x. Errata sheet LPC5411x. Document information LPC54113J256UK49, LPC54114J256UK49, LPC54113J128BD64, LPC54113J256BD64, LPC54114J256BD64

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

74ABT General description. 2. Features and benefits. 3. Ordering information. Quad 2-input AND gate

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

AN10942 MFRX852 Evaluation Board- Quick start up Guide

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

SC68C652B. 1. General description. 2. Features

SiGe:C Low Noise High Linearity Amplifier

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

UM OM bit GPIO Daughter Card User Manual. Document information. Keywords Abstract

XR16M V TO 3.63V HIGH PERFORMANCE OCTAL UART WITH 16-BYTE FIFO

PNP 500 ma, 50 V resistor-equipped transistor; R1 = 2.2 kω, R2 = open

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

Transcription:

Rev. 01 5 January 2007 Application note Document information Info Keywords Abstract Content SC16IS750, Bridge IC, Sleep programming The sleep programming of NXP Bridge ICs such as SC16IS750 (I 2 C-bus/SPI to single UART) is discussed in this application note. The conditions of sleep and wake-up are described. In addition, a sample code for sleep programming is provided. This application note is also applicable to other bridge ICs such as SC16IS740, SC16IS760, SC16IS752, and SC16IS762.

Revision history Rev Date Description 01 20070105 Application note; initial version. Contact information For additional information, please visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com _1 Application note Rev. 01 5 January 2007 2 of 7

1. Introduction The NXP Bridge IC is a new generation of interface solutions for managing high-speed serial data communication among various bus interfaces such as SPI, I 2 C-bus, and UART including RS-232 and RS-485. The Bridge IC is commonly used to overcome the limitation of the host bus interface to peripherals and provides easy to interface with existing different serial buses interface. The Bridge IC features a Sleep mode that can reduce the current consumption by putting the Bridge IC into sleep when there is no activity on the bus. The Sleep mode programming described in Section 2 shows how a microcontroller or an embedded processor programs the Bridge IC into sleep so users can quickly understand the implementation of NXP Bridge IC serial interface for RS-232 point-point communication. The goal is to help users to design the Bridge IC in their applications, especially battery-operated applications, and also shorten their product development cycle. 2. Sleep mode programming 2.1 Programming Sleep mode Enabling the Sleep mode must happen after the divisor latches, DLL and DLH, have been programmed because the DLL or DLH can only be written before the Sleep mode is enabled (IER[4] = 1). Therefore, it is advisable to disable the Sleep mode (IER[4] = 0) before writing to DLL or DLH registers. To enable the Sleep mode feature, bit 4 of the Enhanced Register Set (EFR) must be set prior to setting bit 4 of Interrupt Enable Register (IER) as follows: // Sample code void SC16IS750_init (void) { writeregister (LCR, 0x80); // access program baud rate writeregister (DLL, 0x08); // baud rate low byte set to 115.2 Kbaud // with X1 = 14.456 MHz writeregister (DLM, 0x00); // program baud rate high byte writeregister (LCR, 0XBF); // access enhanced register writeregister (EFR, 0X10); // enable enhanced functions writeregister (LCR, 0x03); // set 8 data bit, 1 stop bit, no parity writeregister (FCR, 0x07); // reset TXFIFO, reset RXFIFO, // and enable FIFO mode writeregister (IER, 0x11); // enable sleep mode and receive // data interrupt } _1 Application note Rev. 01 5 January 2007 3 of 7

3. Conclusion 2.2 Sleep mode conditions All of the following conditions must be satisfied for the UART to enter the sleep mode: The receiver data input lines must be idling at logic 1 (HIGH state). The transmitter FIFO and transmitter shift register must be empty. There are no interrupts pending for UART channels (ISR[0] = 1) except THR and Time-out interrupts. There is no data in the receiver FIFO. No change of state on any of the modem input pins (RI, CTS, DSR, DCD) or general-purpose serial inputs. Reading Modem Status Register bit 0 to bit 3 (MSR[3:0]) should be logic 0. 2.3 UART clock and baud rate clock stopped in Sleep mode In Sleep mode, the UART clock and baud rate clock are stopped and XTAL2 is floating. Since most registers are using these clocks, the current consumption is greatly reduced. 2.4 Wake-up condition from the Sleep mode A receive data start bit transition from logic 1 to logic 0. A change of state on any of the modem input pins (RI, CTS, DSR, DCD) or general-purpose serial inputs. A data byte is written to the transmitter FIFO. If the UART is awakened by one of the conditions described above, it will return to the Sleep mode automatically after the last character is transmitted or read by the host processor. The UART will stay in Sleep mode until setting IER[4] to logic 0 disables it. The inputs must remain steady at V DD or V SS (ground) state to minimize the sleep current. The inputs are address, data, read, write, chip selects, and all modem inputs. Also, the UART receiver inputs must idle at logic 1 state while at sleep. Floating inputs may result in sleep currents in the ma range. Also, the sleep current might be higher if there is any activity on the UART data bus during Sleep mode. The NXP Bridge IC provides easy interface to microcontrollers or embedded processors and enables seamless high-speed SPI or Fast I 2 C-bus to RS-232 or RS-485 protocols convergence including GPIO for general-purpose input/output and IrDA for wireless data links. Also, the Bridge IC offers low voltage operation, low current consumption, and compact design in very small packages, which is suitable for battery-operated applications. In addition, the Bridge IC reduces software overhead, frees up the host controller s resources, increases design flexibility, and improves overall system performance. For more details about the Bridge ICs, please visit our website at http://www.nxp.com/interface to download the data sheets. _1 Application note Rev. 01 5 January 2007 4 of 7

4. Abbreviations Table 1. Acronym FIFO GPIO I 2 C-bus IC IrDA SPI THR UART Abbreviations Description First In, First Out General-Purpose Input/Output Inter-Integrated Circuit bus Integrated Circuit Infrared Data Association Serial Peripheral Interface Transmit Holding Register Universal Asynchronous Receiver Transmitter _1 Application note Rev. 01 5 January 2007 5 of 7

5. Legal information 5.1 Definitions Draft The document is a draft version only. The content is still under internal review and subject to formal approval, which may result in modifications or additions. NXP Semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information. 5.2 Disclaimers General Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. Right to make changes NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof. Suitability for use NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in medical, military, aircraft, space or life support equipment, nor in applications where failure or malfunction of a NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors accepts no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer s own risk. Applications Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. 5.3 Trademarks Notice: All referenced brands, product names, service names and trademarks are the property of their respective owners. I 2 C-bus logo is a trademark of NXP B.V. _1 Application note Rev. 01 5 January 2007 6 of 7

6. Contents 1 Introduction............................ 3 2 Sleep mode programming................. 3 2.1 Programming Sleep mode................ 3 2.2 Sleep mode conditions................... 4 2.3 UART clock and baud rate clock stopped in Sleep mode........................... 4 2.4 Wake-up condition from the Sleep mode..... 4 3 Conclusion............................. 4 4 Abbreviations........................... 5 5 Legal information........................ 6 5.1 Definitions............................. 6 5.2 Disclaimers............................ 6 5.3 Trademarks............................ 6 6 Contents............................... 7 Please be aware that important notices concerning this document and the product(s) described herein, have been included in section Legal information. For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com Date of release: 5 January 2007 Document identifier: _1