M0516ZAN Nuvoton Technology Corporation of America, M0516ZAN Datasheet - Page 243

IC MCU 32BIT 64KB FLASH 33QFN

M0516ZAN

Manufacturer Part Number
M0516ZAN
Description
IC MCU 32BIT 64KB FLASH 33QFN
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro M051™r
Datasheets

Specifications of M0516ZAN

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
24
Program Memory Size
64KB (64K 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 5x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
33-WFQFN Exposed Pad
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M0516ZAN
Manufacturer:
Nuvoton
Quantity:
200
Part Number:
M0516ZAN
Manufacturer:
NUVOTON
Quantity:
20 000
NuMicro M051
Example 2 , SPI controller is set as a slave device that are controlled by an off-chip master
device, and supposes the off-chip master device to access the on-chip SPI slave controller
through the SPI interface with the following specifications:
Basically, the specification of the connected off-chip master device should be configured detailed
before the following steps
1)
4) If this SPI master will transmits (writes) one byte data to the off-chip slave device, write the
5) If this SPI master just only receives (reads) one byte data from the off-chip slave device, you
6) Enable the GO_BUSY bit (SPI_CNTRL [0] = 1) to start the data transfer at the SPI interface.
7) Waiting for SPI interrupt occurred (if the Interrupt Enable IE bit is set) or just polling the
8) Read out the received one byte data from RX0 [7:0] (SPI_RX0[7:0]) register.
9) Go to 4) to continue another data transfer or set SSR [0] to 0 to inactivate the off-chip slave
5.
6.
7.
byte data that will be transmitted into the TX0[7:0] (SPI_TX0[7:0]) register.
don’t need to care what data will be transmitted and just write 0xFF into the SPI_TX0[7:0]
register.
GO_BUSY bit till it be cleared to 0 by hardware automatically.
devices.
Write the SPI_SSR register a proper value for the related settings of slave mode
Set the bit length of word transfer as 8 bits in TX_BIT_LEN bit field (SPI_CNTRL[7:3] =
0x08)
Set only one time of word transfer in TX_NUM (SPI_CNTRL[9:8] = 0x0)
Set MSB transfer first in MSB bit (SPI_CNTRL[10] = 0), and don’t care the SP_CYCLE
bit field (SPI_CNTRL[15:12]) due to not burst mode in this case
Data bit is latched on positive edge of serial clock
Data bit is driven on negative edge of serial clock
Data is transferred from LSB first
SPICLK is idle at high state
Only one byte of data to be transmitted/received in a transfer
Slave select signal is high level trigger
Series Technical Reference Manual
- 243 -
Publication Release Date: Sept 14, 2010
Revision V1.2

Related parts for M0516ZAN