參數(shù)資料
型號: LPC1111FHN33
廠商: NXP Semiconductors N.V.
元件分類: 32位微控制器
英文描述: Cortex-M0, 8 kB flash, up to 4 kB SRAM
中文描述: Cortex-M0處理器,8 kB閃存,多達4 KB靜態(tài)隨機存儲器
封裝: LPC1111FHN33/102<SOT865-3 (HVQFN32)|<<http://www.nxp.com/packages/SOT865-3.html<1<Always Pb-free,;LPC1111FHN33/102<SOT865-3 (HVQFN32)|<<http://www.nxp.com/packages/SOT865
文件頁數(shù): 3/11頁
文件大小: 390K
代理商: LPC1111FHN33
NXP Semiconductors
AN10955
Full-duplex software UART for LPC111x and LPC13xx
1. Introduction
The LPC111X and LPC13XX families of microcontrollers offer a wide range of
communication interfaces. Each microcontroller contains one on-chip Universal
Asynchronous Receiver/Transmitter (UART). However, some applications require more
UARTs than are available on the device. While the addition of an external stand-alone
UART IC could be used in some of these situations, software based UARTs result in
reduced BOM costs and take up no additional space on the PCB. This allows designers
to meet their ever increasing miniaturization requirements and ever decreasing cost
targets. This application note describes one possible implementation of the full-duplex
software UART.
This software UART for LPC111X and LPC13XX is migrated from the LPC2000 software
UART. For the principle of software UART implementation, please refer to AN10689 –
LPC2000 software UART for details. This application note made use of the Embedded
Artists’ LPCXpresso 1114 Rev A and LPCXpresso Base Board Rev A evaluation kits with
Code Red LPCXpresso 3.3.4. Care should be taken to make sure that the proper jumper
configuration on the Base Board is in place, in particular that the thermal sensor is not
connected to P1.5 nor is the potentiometer connected to P0.11
Be aware that the example software packages are not optimized. The additional space
required by adding the software UART functionality to an existing design can be as low
as 1 kB when additional care is taken to optimize the code density. If full-duplex
operation is not required by a particular application, code size can be further reduced by
trimming the unused features of the UART.
2. Implementation
This solution relies on a general purpose 32-bit timer and its ability to toggle a dedicated
pin while simultaneously monitoring the state of another pin. While the capture and
toggle functions of the timer are used, the receive routine also uses an additional match
register of the timer. Each timer has four match registers;
Table 1
indicates their
allocation. In this application note, Timer32_0 was used. See
Table 2
for the transfer
format used in the example code.
Table 1.
Timer MRn
Match register usage
Function
MR0
RX
MR1
RX
MR2
Available to user
MR3
TX
The software implementation has variable depth FIFOs enabling buffering for both
transmission and reception. It should be noted that the UART baud rate, as well as
transmitter and receiver FIFO depth, are configured during the compilation process and
thus cannot be changed at runtime.
AN10955
All information provided in this document is subject to legal disclaimers.
NXP B.V. 2010. All rights reserved.
Application note
Rev. 1 — 13 July 2010
3 of 11
相關PDF資料
PDF描述
LPC1112FHN33 Cortex-M0, 16 kB flash, up to 4 kB SRAM
LPC11C12FBD48 Cortex-M0 with 16 kB flash, 8 kB SRAM, CAN and CANopen drivers on-chip
LPC11D14FBD100 32-bit ARM Cortex-M0 microcontroller; 32 kB flash and 8 kB SRAM; 4 x 40 segment LCD driver
LPC11U12FBD48 32-bit ARM Cortex-M0 microcontroller; up to 16 kB flash; 6 kB SRAM; USB device; USART; 2 SSPs
LPCXpresso
相關代理商/技術參數(shù)
參數(shù)描述
LPC1111FHN33/101 制造商:NXP Semiconductors 功能描述:MCU 32BIT 8K FLASH CORTEX-M0 33HVQFN 制造商:NXP Semiconductors 功能描述:MCU, 32BIT, 8K FLASH, CORTEX-M0, 33HVQFN 制造商:NXP Semiconductors 功能描述:MCU, 32BIT, 8K FLASH, CORTEX-M0, 33HVQFN; Controller Family/Series:ARM Cortex-M0; Core Size:32bit; No. of I/O's:28; Supply Voltage Min:1.8V; Supply Voltage Max:3.6V; Digital IC Case Style:HVQFN; No. of Pins:33; Program Memory ;RoHS Compliant: Yes
LPC1111FHN33/101,5 功能描述:ARM微控制器 - MCU Cortex M0 Ultra Low Power 32 Bit MCU RoHS:否 制造商:STMicroelectronics 核心:ARM Cortex M4F 處理器系列:STM32F373xx 數(shù)據(jù)總線寬度:32 bit 最大時鐘頻率:72 MHz 程序存儲器大小:256 KB 數(shù)據(jù) RAM 大小:32 KB 片上 ADC:Yes 工作電源電壓:1.65 V to 3.6 V, 2 V to 3.6 V, 2.2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:LQFP-48 安裝風格:SMD/SMT
LPC1111FHN33/101,551 制造商:NXP Semiconductors 功能描述:
LPC1111FHN33/1015 制造商:NXP Semiconductors 功能描述:IC 32BIT MCU ARM 50MHZ HVQFN-33
LPC1111FHN33/101551 制造商:Rochester Electronics LLC 功能描述: 制造商:NXP 功能描述: 制造商:NXP Semiconductors 功能描述: