Sign In
Upload
Manuals
Brands
Cmsemicon Manuals
Microcontrollers
CMS80F751 Series
Cmsemicon CMS80F751 Series Manuals
Manuals and User Guides for Cmsemicon CMS80F751 Series. We have
2
Cmsemicon CMS80F751 Series manuals available for free PDF download: Reference Manual, Application Notes
Cmsemicon CMS80F751 Series Reference Manual (273 pages)
Enhanced Flash 8-bit 1T 8051- Microcontroller
Brand:
Cmsemicon
| Category:
Microcontrollers
| Size: 5 MB
Table of Contents
Contents Cms80F751X Reference Manual
1
Table of Contents
2
Contents
2
Central Processing Unit(Cpu
13
Reset Vector(0000H
13
BOOT Partition
13
Accumulator(Acc
15
B Register(B
15
Stack Pointer Register(Sp
15
Data Pointer Register(Dptr0/Dptr1
15
Data Pointer Selection Register(Dps
16
Program Status Register(Psw
16
Program Counter(Pc
17
Timing Access Register(Ta
17
Memory and Register Map
18
Program Memory FLASH
18
Non-Volatile Data Memory Data FLASH
19
General Data Register RAM
20
General External Data Register XRAM
22
Special Function Register Table SFR
23
External Special Function Register XSFR
25
Reset
33
Power-On Reset
33
External Reset
35
LVR Low Voltage Reset
35
Watchdog Reset (WDT)
36
Software Reset
37
CONFIG Status Protection Reset
37
Power-On Configuration Monitoring Reset
37
Clock Structure
38
System Clock Structure
38
Related Registers
39
Oscillator Control Register CLKDIV
39
System Clock Switch Register SCKSEL
39
System Clock Status Register SCKSTAU
40
System Clock Monitor Register SCM
41
Function Clock Control Register
42
System Clock Switching
44
System Clock Monitoring
45
Power Management
46
Power Management Register PCON
46
Power Monitoring Register LVDCON
47
IDLE Mode
47
STOP Sleep Mode
48
Sleep and Wake-Up
48
Wake Waiting Status
48
Sleep and Wake-Up Time
49
Reset Operation During Sleep
49
Sleep Power Consumption in Debug Mode
49
Sleep Mode Application Example
50
Interrupt
51
Interruption Overview
51
External Interruption
52
INT0/INT1 Interruption
52
GPIO Interruption
52
Interruption and Wake-Up from Sleep
52
Interruption Register
53
Interruption Mask Register
53
Interruption Mask Register IE
53
Interruption Mask Register EIE2
54
Timer2 Interruption Mask Register T2IE
55
P0 Port Interrupt Control Register P0EXTIE
55
P1 Port Interrupt Control Register P1EXTIE
56
P2 Port Interrupt Control Register P2EXTIE
56
P5 Port Interrupt Control Register P5EXTIE
56
Interrupt Priority Control Register
57
Interrupt Priority Control Register IP
57
Interrupt Priority Control Register EIP1
58
Interrupt Priority Control Register EIP2
58
Interrupt Priority Control Register EIP3
59
Interrupt Flag Bit Register
60
Timer0/1、Int0/1 Interrupt Flag Bit Register TCON
60
Timer2 Interrupt Flag Bit Register T2IF
61
External Interrupt Flag Bit Register EIF2
61
SPI Interrupt Flag Bit Register SPSR
62
I2C Master Mode Interrupt Flag Bit Register I2CMCR/I2CMSR
63
I2C Slave Mode Status Register I2CSSR
63
UART Control Register Sconn
64
P0 Interrupt Flag Bit Register P0EXTIF
64
P1 Interrupt Flag Bit Register P1EXTIF
64
P2 Interrupt Flag Bit Register P2EXTIF
65
P5 Interrupt Flag Bit Register P5EXTIF
65
Clear Operation of Interrupt Flag
66
Special Interrupt Flag Bits in Debug Mode
67
I/O Port
68
GPIO Function
68
Portx Data Register Px
68
Portx Direction Register Pxtris
69
Portx Open Drain Control Register Pxod
69
Portx Pull-Up Resistor Control Register Pxup
69
Portx Pull-Down Resistor Control Register Pxrd
70
Portx Slope Control Register Pxsr
70
Portx Data Input Selection Register Pxds
70
Reuse Function
71
Port Reuse Function Table
71
Port Reuse Function Configuration Register
73
Port Input Function Allocation Register
74
Communication Input Function Allocation Register
76
External Port Interrupt Control Register
77
Reuse Functions Application Notes
78
Watchdog Timer(Wdt
79
Overview
79
Related Register
79
Watchdog Control Register WDCON
79
Watchdog Overflow Control Register CKCON
80
WDT Interrupt
81
Interruption Mask Register EIE2
81
Interrupt Priority Control Register EIP2
82
Timer 0/1(Timer0/1
83
Overview
83
Related Register
84
Timer0/1 Mode Register TMOD
84
Timer0/1 Control Register TCON
85
Timer0 Low Bit Data Register TL0
86
Timer0 High Bit Data Register TH0
86
Timer1 Low Bit Data Register TL1
86
Timer1 High Bit Data Register TH1
86
Function Clock Control Register CKCON
87
Timer0/1 Interrupt
88
Interruption Mask Register IE
88
Interrupt Priority Control Register IP
89
Timer0/1、Int0/1 Interrupt Flag Register TCON
90
Timer0 Operating Mode
91
T0 -Mode0(13-Bit Timing/Counting Mode
91
T0 -Mode1(16-Bit Timing/Counting Mode
91
T0 -Mode2(8-Bit Auto Reload Timing/Counting Mode
92
T0 -Mode3(Two Separate 8-Bit Timer/Counters
93
Timer1 Operating Mode
94
T1 -Mode0(13-Bit Timing/Counting Mode
94
T1 -Mode1(16-Bit Timing/Counting Mode
94
T1 -Mode2(8-Bit Auto Reload Timing/Counting Mode
95
T1 -Mode3(Stop Counting
95
Timer 2(Timer2
96
Overview
96
Related Register
97
Timer2 Control Register T2CON
97
Timer2 Low Bit Data Register TL2
98
Timer2 High Bit Data Register TH2
98
Timer2 Compare/Capture/Reload Register Low 8-Bit RLDL
98
Timer2 Compare/Capture/Reload Register High 8-Bit RLDH
98
Timer2 Compare/Capture Channel1 Register Low 8-Bit CCL1
99
Timer2 Compare/Capture Channel1 Register High 8-Bit CCH1
99
Timer2 Compare/Capture Channel2 Register Low 8-Bit CCL2
99
Timer2 Compare/Capture Channel2 Register High 8-Bit CCH2
99
Timer2 Compare/Capture Channel3 Register Low 8-Bit CCL3
99
Timer2 Compare/Capture Channel3 Register High 8-Bit CCH3
100
Timer2 Compare Capture Control Register CCEN
100
Timer2 Interrupt
101
Interrupt Related Register
101
Interrupt Mask Register IE
101
Timer2 Interrupt Mask Register T2IE
102
Interrupt Priority Control Register IP
103
Timer2 Interrupt Flag Register T2IF
104
Timer Interrupt
105
External Trigger Interrupt
105
Compare Interrupt
105
Capture Interrupt
105
Timer2 Function Description
106
Timing Mode
106
Reload Mode
106
Gate Control Timing Mode
107
Event Counting Mode
107
Compare Mode
107
Compare Mode0
108
Compare Mode1
109
Capture Mode
110
Capture Mode0
110
Capture Mode1
111
Timer 3/4(Timer3/4
112
Overview
112
Related Register
113
Timer3/4 Control Register T34MOD
113
Timer3 Low Bit Data Register TL3
113
Timer3 High Bit Data Register TH3
114
Timer4 Low Bit Data Register TL4
114
Timer4 High Bit Data Register TH4
114
Timer3/4 Interrupt
115
Interrupt Mask Register EIE2
115
Interrupt Priority Control Register EIP2
116
External Interrupt Flag Bit Register EIF2
117
Timer3 Operation Mode
118
T3 -Mode0(13-Bit Timing Mode
118
T3 -Mode1(16-Bit Timing Mode
118
T3 -Mode2(8-Bit Auto Reload Timing Mode
119
T3 -Mode3(Two Separate 8-Bit Timer
120
Timer4 Operation Mode
121
T4 -Mode0(13-Bit Timing Mode
121
T4 -Mode1(16-Bit Timing Mode
121
T4- Mode2(8-Bit Auto Reload Timing Mode
122
T4- Mode3(Stop Counting
122
Lse_Timer
123
Overview
123
Related Registers
123
LSE Timer Data Register Low 8-Bit LSECRL
123
LSE Timer Data Register High 8-Bit LSECRH
123
LSE Timer Control Register LSECON
124
Interrupt and Sleep Wake-Up
125
Function Description
125
Wake-Up Timer(Wut
126
Overview
126
Related Registers
126
WUTCRH Register
126
WUTCRL Register
126
Function Description
127
Baud Rate Timer(Brt
128
Overview
128
Related Registers
128
BRT Module Control Register BRTCON
128
BRT Timer Data Is Loading the Low 8-Bit Register BRTDL
128
BRT Timer Data Is Loading the High 8-Bit Register BRTDH
129
Function Description
129
Cycle Redundancy Check(Crc
130
Overview
130
Related Registers
130
CRC Data Input Register CRCIN
130
CRC Operation Result Low 8-Bit Data Register CRCDL
130
CRC Operation Result High 8-Bit Data Register CRCDH
130
Function Description
131
Multiplication/Division Unit(Mdu
132
Overview
132
Related Registers
132
Operation Register MD0
133
Operation Register MD1
133
Operation Register MD2
134
Operation Register MD3
134
Operation Register MD4
134
Operation Register MD5
135
Operation Register ARCON
135
Function Description
136
32Bit/16Bit Division Operation
137
16Bit*16Bit Multiplication Operation
138
32Bit Shift Operation
138
32Bit Normalization Operation
139
Buzzer
140
Overview
140
Related Registers
140
BUZZER Control Register BUZCON
140
BUZZER Frequency Control Register BUZDIV
140
Function Description
141
Enhanced PWM Module
142
Overview
142
Characteristic
142
Pin Configuration
143
Function Description
143
Functional Diagram
143
Edge-Aligned
144
Center-Aligned
145
Symmetric Counting
145
Asymmetric Counting
146
Complementary Mode
148
Synchronize Mode
149
Mask Output
149
Brake Function
149
PWM Related Registers
150
PWM Control Register PWMCON
150
PWM Output Enable Control Register PWMOE
150
PWM0/1 Clock Prescaler Control Register PWM01PSC
151
PWM2/3 Clock Prescaler Control Register PWM23PSC
151
PWM4/5 Clock Prescaler Control Register PWM45PSC
152
PWM Clock Division Control Register Pwmndiv(N=0-5)
152
PWM Data Load Enable Control Register PWMLOADEN
152
PWM Output Polarity Control Register PWMPINV
153
PWM Counter Mode Control Register PWMCNTM
153
PWM Counter Enable Control Register PWMCNTE
153
PWM Counter Mode Control Register PWMCNTCLR
154
PWM Period Data Low 8-Bit Register Pwmpnl (N=0-5)
154
PWM Period Data High 8-Bit Register Pwmpnh (N=0-5)
154
PWM Compare Data Low 8-Bit Register Pwmdnl (N=0-5)
154
PWM Compare Data High 8-Bit Register Pwmdnh (N=0-5)
155
PWM Compare Data Low 8-Bit Registers down Pwmddnl (N=0-5)
155
PWM Compare Data High 8-Bit Registers down Pwmddnh (N=0-5)
155
PWM Dead Zone Enable Control Register PWMDTE
155
PWM0/1 Dead Zone Delay Data Register PWM01DT
156
PWM2/3 Dead Zone Delay Data Register PWM23DT
156
PWM4/5 Dead Zone Delay Data Register PWM45DT
156
PWM Mask Control Register PWMMASKE
156
PWM Mask Data Register PWMMASKD
157
PWM Brake Control Register PWMFBKC
157
PWM Brake Data Register PWMFBKD
158
PWM Interrupt
159
Interruption Mask Register EIE2
159
Interrupt Priority Control Register EIP2
160
PWM Period Interrupt Mask Register PWMPIE
160
PWM Zero Interrupt Mask Register PWMZIE
161
PWM up Compare Interrupt Mask Register PWMUIE
161
PWM down Compare Interrupt Mask Register PWMDIE
161
PWM Period Interrupt Flag Register PWMPIF
161
PWM Zero Interrupt Flag Register PWMZIF
162
PWM up Compare Interrupt Flag Register PWMUIF
162
PWM down Compare Interrupt Flag Register PWMDIF
162
Hardware LCD Driver
163
Overview
163
Characteristic
163
Related Register
164
LCD Control Register LCDCON0
164
LCD Control Register LCDCON1
165
LCD Control Register LCDCON2
165
LCD Control Register LCDCON3
166
COM Port Enable Control Register LCDCOMEN
166
SEG Port Enable Control Register LCDSEGEN0
167
SEG Port Enable Control Register LCDSEGEN1
167
SEG Port Enable Control Register LCDSEGEN2
167
SEG Data Register 6(N=0-19)
167
COM -SEG Data-Sheet
168
1/4Duty
168
1/5Duty
169
1/6Duty
170
1/8Duty
171
Hardware LED Driver
172
Overview
172
Characteristic
172
Related Register
172
LED Control Register LEDCON
172
LED Clock Prescaler Data Register Low 8-Bit LEDCLKL
173
LED Clock Prescaler Data Register High 8-Bit LEDCLKH
173
COM Port Effective Time Selection Register LEDCOMTIME
173
COM Port Enable Control Register LEDCOMEN
174
SEG Port Enable Control Register LEDSEGEN0
174
SEG Port Enable Control Register LEDSEGEN1
174
SEG Port Enable Control Register LEDSEGEN2
174
COM0 Corresponds to SEG Data Register Ledc0Datan(N=0-2
175
COM1 Corresponds to SEG Data Register Ledc1Datan(N=0-2
175
COM2 Corresponds to SEG Data Register Ledc2Datan(N=0-2
176
COM3 Corresponds to SEG Data Register Ledc3Datan(N=0-2
176
COM4 Corresponds to SEG Data Register Ledc4Datan(N=0-2
177
COM5 Corresponds to SEG Data Register Ledc5Datan(N=0-2
177
COM6 Corresponds to SEG Data Register Ledc6Datan(N=0-2
178
COM7 Corresponds to SEG Data Register Ledc7Datan(N=0-2
178
SEG Port P04-P07 Drive Current Control Register LEDSDRP0H
179
SEG Port P10-P13 Drive Current Control Register LEDSDRP1L
179
SEG Port P14-P17 Drive Current Control Register LEDSDRP1H
180
SEG Port P20-P23 Drive Current Control Register LEDSDRP2L
180
SEG Port P24-P27 Drive Current Control Register LEDSDRP2H
181
COM Port Current Sink Selection Register P0DR
182
LED Driver Output Waveform
183
Spi
184
Overview
184
SPI Port Configuration
185
SPI Hardware Description
186
SPI Related Register
187
SPI Control Register SPCR
187
SPI Data Register SPDR
188
Slave Select Control Register SSCR
188
SPI State Register SPSR
189
SPI Master Model
190
Write Collision Error
191
SPI Slave Mode
192
Addressed Error
192
Write Collision Error
192
SPI Clock Control Logic
194
SPI Clock Phase and Polarity Control
194
SPI Transport Format
194
CPHA=0 Transport Format
194
CPHA=1 Transport Format
195
SPI Data Transmission
196
SPI Transfer Start
196
SPI Transfer End
196
SPI Timing Diagram
197
Master Mode Transmission
197
Slave Mode Transmission
197
SPI Interrupt
198
Interrupt Mask Register EIE2
198
Interrupt Priority Control Register EIP2
199
Peripheral Interrupt Flag Register EIF2
200
I 2 C Module
201
Overview
201
I 2 C Port Configuration
202
I 2 C Master Mode
202
I 2 C Period Timer Register in Master Mode
203
I 2 C Control and Status Register in Master Mode
203
I 2 C Slave Address Register
206
Sending and Receiving Data Register in I
206
Master Control Mode
206
I 2 C Slave Mode
207
I 2 C Own Address Register I2CSADR
207
I 2 C Control Register and Status Register of I
207
Slave Mode I2CSCR/I2CSSR
207
Sending and Receiving Cached Register of I C Slave Mode I2CSBUF
208
I 2 C Interrupt
209
Interrupt Mask Register EIE2
209
Interrupt Priority Control Register EIP2
210
Peripheral Interrupt Flag Register EIF2
211
I 2 C Transmission Method of Slave Mode
212
Single Receiving
212
Single Sending
212
Continuous Receiving
213
Continuous Sending
213
Uartn Moudle
214
Overview
214
Uartn Port Configuration
214
Uartn Baud Rate
215
Baud Rate Clock Source
215
Baud Rate Calculation
215
Baud Rate Deviation
216
Uartn Registers
218
UART0/1 Baud Rate Selection Register FUNCCR
218
Uartn Buffer Register Sbufn
218
UART Control Register Sconn
219
PCON Register
220
Uartn Interrupt
221
Interrupt Mask Register IE
221
Interrupt Priority Control Register IP
222
Interrupt Priority Control Register EIP3
223
Uartn Mode
224
Mode 0 - Synchronous Mode
224
Mode 1 - 8-Bit Asynchronous Mode (Variable Baud Rate)
224
Mode 2 - 9-Bit Asynchronous Mode (Fixed Baud Rate)
225
Mode 3 - 9-Bit Asynchronous Mode (Variable Baud Rate)
225
Analog to Digital Conversion (ADC)
226
Overview
226
ADC Configuration
227
Port Configuration
227
Channel Selection
227
ADC Reference Voltage
227
Conversion Clock
228
Result Formatting
228
ADC Hardware Triggered Start
229
External Port Edge Trigger ADC
229
PWM Triggered ADC
229
Hardware Trigger Delay before Starting
229
ADC Results of Comparison
230
ADC Working Principle
230
Start Conversion
230
Complete Conversion
230
Terminate Conversion
230
A/D Conversion Step
231
Enter Sleep Mode During Conversion
231
Related Register
232
AD Control Register ADCON0
232
AD Control Register ADCON1
233
AD Control Register ADCON2
233
AD Channel Selection Register ADCCHS
234
AD Comparator Control Register ADCMPC
234
AD Hardware Trigger Delay Data Register ADDLYL
235
AD Data Register High Bits ADRESH,ADFM=0(Left-Aligned)
235
AD Data Register Low Bits ADRESL,ADFM=0(Left-Aligned)
235
AD Data Register High ADRESH,ADFM=1(Right-Aligned)
236
AD Data Register Low ADRESH,ADFM=1(Right-Aligned)
236
AD Comparator Data Register ADCMPH
236
AD Comparator Data Register ADCMPL
236
AD Reference Voltage Control Register
237
ADC Interrupt
238
Interrupt Mask Register EIE2
238
Interrupt Priority Control Register EIP2
239
External Interrupt Flag Bit Register EIF2
240
Temperature Sensor
241
Overview
241
Register Description
241
Temperature Sensor Control Register TS_REG
241
Functional Description
241
Configuration
241
Functional Characteristic
242
Calculation Formula
243
Touch
244
Precautions for Using the Touch Module
244
Acmp0/1
245
Comparator Characteristics
245
Comparator Structure
245
Related Register
247
Comparator Control Register Cncon0
247
Comparator Control Register C0CON1
248
Comparator Control Register C1CON1
248
Comparator Control Register Cncon2
248
Comparator Adjust Bit Select Register C0ADJE
249
Comparator Hysteresis Control Register Cnhys
250
Comparator Reference Voltage Control Register CNVRCON
250
Comparator Brake Control Register CNFBCON
251
Comparator Interrupt
252
Interrupt Priority Control Register EIP1
252
Comparator Interrupt Mask Register CNIE
252
Comparator Interrupt Flag Register CNIF
253
Op0/1
254
OP Amp Characteristics
254
OP Amp Structure
254
Related Register
255
Op Amp Control Register Opncon0
255
Op Amp Control Register Opncon1
255
Op Amp Adjustment Bit Selection Register Opnadje
256
Flash Memory
257
Overview
257
Related Register
258
FLASH Protection Lock Register MLOCK
258
FLASH Memory Data Register MDATA
258
FLASH Memory Low Address Register MADRL
258
FLASH Memory High Address Register MADRH
259
Program CRC Operation Result Data Register Low 8-Bit PCRCDL
259
Program CRC Operation Result Data Register High 8-Bit PCRCDH
259
FLASH Memory Control Register MCTRL
260
Function Description
261
Unique ID(UID
262
Overview
262
UID Register Description
262
User Configuration
265
Online Programming and Debugging
267
Online Programming Mode
267
Online Debug Mode
268
Instruction Description
269
Symbol Description
269
List of Instruction
270
Revision History
273
Advertisement
Cmsemicon CMS80F751 Series Application Notes (27 pages)
Brand:
Cmsemicon
| Category:
Microcontrollers
| Size: 0 MB
Table of Contents
Table of Contents
2
Simulation Usage Notes
5
Bank
6
Low Power Consumption
6
Adc
7
Spi
9
Uart
10
Io Ports
10
Wdt
11
Touch
11
Interrupts
12
Cleared by Hardware
12
Cleared by Software
12
Cleared by Register Read/Write
12
External Oscillator
13
Data Flash
13
Flash Usage
14
FLASH Erase Operation
14
FLASH Locking
15
Flash Crc
15
Boot Usage
16
Chip Operating Voltage
16
Cautions for Ta Timing Operations
17
Operational Amplifier
18
Overview
18
Application Notes for the Built-In Operational Amplifier
18
Analog Comparator
19
Overview
19
Block Diagram of the Built-In Comparator
19
Application Notes for the Built-In Comparator
19
Lvd
20
Lse
21
Cautions
21
Recommended Operations
22
T Mode Ta Register Operation Notes
23
Cautions
23
Recommended Operations
23
Power on
24
Sleep Mode (Stop)
25
Others
26
Revision History
27
Advertisement
Related Products
Cmsemicon CMS80F731 Series
Cmsemicon CMS80F231 Series
Cmsemicon CMS80F253 Series
Cmsemicon CMS80F261 Series
Cmsemicon CMS80F251 Series
Cmsemicon CMS8S6980
Cmsemicon CMS8S5880
Cmsemicon CMS8S6999
Cmsemicon CMS8S6997
Cmsemicon CMS8S7895
Cmsemicon Categories
Microcontrollers
More Cmsemicon Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL