M052LAN Nuvoton Technology Corporation of America, M052LAN Datasheet - Page 281

IC MCU 32BIT 8KB FLASH 48LQFP

M052LAN

Manufacturer Part Number
M052LAN
Description
IC MCU 32BIT 8KB FLASH 48LQFP
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro M051™r
Datasheets

Specifications of M052LAN

Core Processor
ARM Cortex-M0
Core Size
32-Bit
Speed
50MHz
Connectivity
EBI/EMI, I²C, IrDA, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
40
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 8x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
48-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M052LAN
Manufacturer:
NuvoTon
Quantity:
130
Part Number:
M052LAN
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
M052LAN
Manufacturer:
NUVOTON
Quantity:
20 000
NuMicro M051
Series Technical Reference Manual
6.10.5 RS-485 Function Mode
The UART support RS-485 9 bit mode function . The RS-485 mode is selected by setting the
UA_FUN_SEL register to select RS-485 function. The RS-485 driver control is implemented using
the RTS control signal from an asynchronous serial port to enable the RS-485 driver. In RS-485
mode, many characteristics of the RX and TX are same as UART.
When in RS-485 mode, the controller can configuration of it as an RS-485 addressable slave and
th
the RS-485 master transmitter will identify an address character by setting the parity (9
bit) to 1.
For data characters, the parity is set to 0. Software can use UA_LCR register to control the 9-th
bit (When the PBE , EPE and SPE are set, the 9-th bit is transmitted 0 and when PBE and SPE
are set and EPE is cleared, the 9-th bit is transmitted 1). The Controller support three operation
mode that is RS-485 Normal Multidrop Operation Mode (NMM), RS-485 Auto Address Detection
Operation Mode (AAD) and RS-485 Auto Direction Control Operation Mode (AUD), software can
choose any operation mode by programming UA_RS-485_CSR register, and software can driving
the transfer delay time between the last stop bit leaving the TX-FIFO and the de-assertion of by
setting UA_TOR [DLY] register.
RS-485 Normal Multidrop Operation Mode (NMM)
In RS-485 Normal Multidrop operation mode, in first, software must decided the data which
before the address byte be detected will be stored in RX-FIFO or not. If software want to ignore
any data before address byte detected, the flow is set UART_FCR[RS485_RX_DIS] then enable
UA_RS-485[RS485_NMM] and the receiver will ignore any data until an address byte is detected
(bit9 =1) and the address byte data will be stored in the RX-FIFO. If software wants to receive any
data before address byte detected, the flow is disable UART_FCR [RS485_RX_DIS] then enable
UA_RS-485[RS485_NMM] and the receiver will received any data. If an address byte is detected
(bit9 =1), it will generator an interrupt to CPU and software can decide whether enable or disable
receiver to accept the following data byte by setting UA_RS-485_FCR [RX_DIS]. If the receiver is
be enabled, all received byte data will be accepted and stored in the RX-FIFO, and if the receiver
is disabled, all received byte data will be ignore until the next address byte be detected. If
software disable receiver by setting UA_RS-485_FCR [RX_DIS] register, when a next address
byte be detected, the controller will clear the UA_RS-485_FCR [RX_DIS] bit and the address byte
data will be stored in the RX-FIFO.
RS-485 Auto Address Detection Operation Mode (AAD)
In RS-485 Auto Address Detection Operation Mode, the receiver will ignore any data until an
address byte is detected (bit9 =1) and the address byte data match the UA_RS-
485[ADDR_MATCH] value. The address byte data will be stored in the RX-FIFO. The all received
byte data will be accepted and stored in the RX-FIFO until address doesn’t match the UA_RS-
485[ADDR_MATCH] value.
RS-485 Auto Direction Mode (AUD)
Another option function of RS-485 controllers is RS-485 auto direction control function . The
Publication Release Date: Sept 14, 2010
- 281 -
Revision V1.2

Related parts for M052LAN