欢迎访问ic37.com |
会员登录 免费注册
发布采购

SM8954BW44JP 参数 Datasheet PDF下载

SM8954BW44JP图片预览
型号: SM8954BW44JP
PDF下载: 下载PDF文件 查看货源
内容描述: SM8954B\n8位微控制器\n16KB闪存\n和1KB RAM的嵌入式 [SM8954B 8-Bit Micro-controller 16KB Flash & 1KB RAM embedded]
分类和应用: 闪存微控制器
文件页数/大小: 49 页 / 1595 K
品牌: SYNCMOS [ SYNCMOS TECHNOLOGIES,INC ]
 浏览型号SM8954BW44JP的Datasheet PDF文件第30页浏览型号SM8954BW44JP的Datasheet PDF文件第31页浏览型号SM8954BW44JP的Datasheet PDF文件第32页浏览型号SM8954BW44JP的Datasheet PDF文件第33页浏览型号SM8954BW44JP的Datasheet PDF文件第35页浏览型号SM8954BW44JP的Datasheet PDF文件第36页浏览型号SM8954BW44JP的Datasheet PDF文件第37页浏览型号SM8954BW44JP的Datasheet PDF文件第38页  
SM8954B
8-Bit Micro-controller
16KB Flash
& 1KB RAM embedded
8. Serial interface – UART
The serial buffer consists of two separate registers, a transmit buffer and a receive buffer.
Writing data to the Special Function Register SBUF sets this data in serial output buffer and starts the transmission.
Reading from the SBUF reads data from the serial receive buffer. The serial port can simultaneously transmit and
receive data. It can also buffer 1 byte at receive, which prevents the receive data from being lost if the CPU reads
the first byte before transmission of the second byte is completed.
Mnemonic
PCON
SCON
SBUF
Description
Power Control
Serial Port
Control Register
Serial Port Data
Buffer
Dir.
87H
98H
99H
Bit 7
SMOD
SM0
Bit 6
Bit 5
Serial interface
-
-
SM1
SM2
Bit 4
-
REN
Bit 3
GF1
TB8
Bit 2
GF0
RB8
Bit 1
PD
TI
Bit 0
IDLE
RI
RST
00H
00H
00H
Address: 98h
0
Reset
RI
00H
SBUF[7:0]
Mnemonic: SCON
7
6
5
SM0
SM1
SM2
4
REN
3
TB8
2
RB8
1
TI
SM0, SM1: Serial Port mode selection.
SM0
SM1 Mode
0
0
0
0
1
1
1
0
2
1
1
3
The 4 modes in UART, Mode 0 ~ 3, are explained later.
SM2: Enables multiprocessor communication feature.
REN: If set, enables serial reception. Cleared by software to disable reception.
TB8: The 9th transmitted data bit in modes 2 and 3. Set or cleared by the CPU depending on
the function it performs such as parity check, multiprocessor communication etc.
RB8: In modes 2 and 3, it is the 9th data bit received. In mode 1, if SM2 is 0, RB8 is the stop
bit. In mode 0, this bit is not used. Must be cleared by software.
TI: Transmit interrupt flag, set by hardware after completion of a serial transfer. Must be
cleared by software.
RI: Receive interrupt flag, set by hardware after completion of a serial reception. Must be
cleared by software.
8.1
Serial interface
The Serial Interface can operate in the following 4 modes:
SM0
0
0
1
1
SM1
0
1
0
1
Mode
0
1
2
3
Description
Shift register
8-bit UART
9-bit UART
9-bit UART
Board Rate
Fosc/12
Variable
Fosc/32 or Fosc/64
Variable
Here Fosc is the crystal or oscillator frequency.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M083
Ver A SM8954B 3/7/2014
- 34 -