
MS51
Dec. 17, 2019
Page
20
of 316
Rev 1.01
M
S51
SE
RIES
TE
CHNICA
L REF
ERE
N
CE MA
NU
A
L
5 BLOCK DIAGRAM
5.1
MS51 16KB Series Block Diagram
Figure 5.1-1 Functional Block Diagram shows the MS51 functional block diagram and gives the outline
of the device. User can find all the peripheral functions of the device in the diagram.
1T High
Performance
8051 Core
256 Bytes
Internal RAM
1K Bytes
XRAM
(Auxiliary RAM)
P0
P1
P2
P3
PWM
Watchdog Timer
Clock Divider
Timer 0/1
Power-on Reset
and Brown-out
Detection
P0[7:0]
P1[7:0]
P20
P30
PWM0_CH0
~
PWM0_CH5
8
-b
it
In
te
rn
a
l B
u
s
T1 (P0.0)
T0 (P0.5)
VDD
GND
10 kHz
Internal RC Oscillator
(LIRC)
8
8
1
System Clock
6
Timer 2
with
Input Capture
IC0~IC7
FB (P1.4)
12-bit ADC
ADC_CH0 ~ADC_CH7
8
STADC (P1.3 or P0.4)
Self Wake-up
Timer
Timer 3
X
IN
8
1
16KB
APROM Flash
Max. 4KB
LDROM Flash
Max. Bytes
Data Flash
(page: 128B)
128 Bytes
SPROM
16 MHz/ 24MHz
Internal RC Oscillator
(HIRC)
Memory
Access
GPIO
External Interrupt
Pin Interrupt
8
Same Port
any bit
INT0 (P3.0)
INT1 (P1.7)
Serial Ports
(UARTs)
I
2
C
UART0_RXD (P0.7 or P0.6)
UART0_TXD (P0.6 or P0.7)
I2C0_SDA (P1.4 or P1.6)
I2C0_SCL (P1.3 or P0.2)
UART1_RXD (P0.2)
UART1_TXD (P1.6)
SPI
SPI0_MISO (P0.1)
SPI0_MOSI (P0.0)
SPI0_CLK (P1.0)
SPI0_SS (P1.5)
Digital
Peripheral
Analog
Peripheral
System Clock
Source
Power
Management
nRESET
Figure 5.1-1 Functional Block Diagram