Sign In
Upload
Manuals
Brands
HOLTEK Manuals
Storage
BS66F340
HOLTEK BS66F340 Manuals
Manuals and User Guides for HOLTEK BS66F340. We have
1
HOLTEK BS66F340 manual available for free PDF download: Manual
HOLTEK BS66F340 Manual (242 pages)
Touch A/D Flash MCU with LED Driver
Brand:
HOLTEK
| Category:
Storage
| Size: 3 MB
Table of Contents
Table of Contents
2
Features
7
CPU Features
7
Peripheral Features
7
General Description
8
Selection Table
8
Block Diagram
9
Pin Assignment
9
Pin Descriptions
14
Absolute Maximum Ratings
28
D.C. Characteristics
28
A.C. Characteristics
30
A/D Converter Characteristics
31
Temperature Sensor Electrical Characteristics
31
LVD/LVR Electrical Characteristics
32
Touch Key Electrical Characteristics
32
Power-On Reset Characteristics
34
System Architecture
35
Clocking and Pipelining
35
Program Counter
36
Stack
37
Arithmetic and Logic Unit - ALU
37
Flash Program Memory
38
Structure
38
Special Vectors
38
Look-Up Table
39
In Circuit Programming - ICP
40
On-Chip Debug Support - OCDS
41
In Application Programming - IAP
41
Data Memory
52
Structure
52
Data Memory Addressing
53
General Purpose Data Memory
53
Special Purpose Data Memory
53
Special Function Register Description
58
Indirect Addressing Registers - IAR0, IAR1, IAR2
58
Memory Pointers - MP0, MP1H/MP1L, MP2H/MP2L
58
Accumulator - ACC
60
Program Counter Low Register - PCL
60
Look-Up Table Registers - TBLP, TBHP, TBLH
61
Status Register - STATUS
61
Bit 7 6 5 4 3 2
62
EEPROM Data Memory
63
EEPROM Data Memory Structure
63
EEPROM Registers
63
Bit 7~1
63
Bit 7 6 5 4 3 2
64
Bit 7~2
64
Bit 1~0
64
Reading Data from the EEPROM
65
Writing Data to the EEPROM
65
Write Protection
65
EEPROM Interrupt
65
Programming Considerations
66
Oscillators
67
Oscillator Overview
67
System Clock Configurations
67
External Crystal/Ceramic Oscillator - HXT
68
Internal High Speed RC Oscillator - HIRC
69
External 32.768 Khz Crystal Oscillator - LXT
69
Internal 32Khz Oscillator - LIRC
70
Operating Modes and System Clocks
70
System Clocks
70
System Operation Modes
71
Control Registers
72
Operating Mode Switching
75
Standby Current Considerations
79
Wake-Up
79
Watchdog Timer
80
Watchdog Timer Clock Source
80
Watchdog Timer Control Register
80
Watchdog Timer Operation
81
Reset and Initialisation
82
Reset Functions
82
Reset Initial Conditions
85
Input/Output Ports
91
Pull-High Resistors
93
Port a Wake-Up
93
I/O Port Control Registers
93
I/O Port Source Current Control
94
Pin-Shared Functions
95
I/O Pin Structures
104
Programming Considerations
105
Timer Modules - TM
106
Introduction
106
TM Operation
106
TM Clock Source
106
TM Interrupts
107
TM External Pins
107
TM Input/Output Pin Selection
107
Programming Considerations
108
Compact Type TM - CTM
109
Compact TM Operation
109
Compact Type TM Register Description
110
Compact Type TM Operation Modes
113
Standard Type TM - STM
119
Standard TM Operation
119
Standard Type TM Register Description
120
Standard Type TM Operation Modes
123
Periodic Type TM - PTM
132
Periodic TM Operation
132
Periodic Type TM Register Description
133
Periodic Type TM Operation Modes
136
Analog to Digital Converter
145
A/D Converter Overview
145
Registers Descriptions
146
A/D Converter Operation
150
A/D Converter Reference Voltage
151
A/D Converter Input Pins
152
Conversion Rate and Timing Diagram
152
Summary of A/D Conversion Steps
153
Programming Considerations
153
A/D Converter Transfer Function
153
A/D Programming Examples
154
Serial Interface Module - SIM
156
SPI Interface
156
I 2 C Interface
162
UART Interface
171
UART External Pin
172
UART Data Transfer Scheme
172
UART Status and Control Registers
172
Baud Rate Generator
178
UART Setup and Control
179
UART Transmitter
180
UART Receiver
181
Managing Receiver Errors
183
UART Interrupt Structure
184
UART Power down and Wake-Up
185
Touch Key Function
186
Touch Key Structure
186
Touch Key Register Definition
187
Touch Key Operation
193
Touch Key Interrupt
199
Progrsmming Considerations
199
Low Voltage Detector - LVD
200
LVD Register
200
LVD Operation
201
Interrupts
202
Interrupt Registers
202
Interrupt Operation
207
External Interrupt
208
Touch Key Interrupt
209
UART Transfer Interrupt
209
A/D Converter Interrupt
209
Multi-Function Interrupt
209
Time Base Interrupt
210
Serial Interface Module Interrupt
211
LVD Interrupt
212
EEPROM Interrupt
212
TM Interrupt
212
Programming Considerations
213
Application Circuits
214
Instruction Set
215
Introduction
215
Instruction Timing
215
Moving and Transferring Data
215
Arithmetic Operations
215
Logical and Rotate Operation
216
Branches and Control Transfer
216
Bit Operations
216
Other Operations
216
Instruction Set Summary
217
Extended Instruction Set
219
Instruction Definition
221
Extended Instruction Definition
230
Package Information
237
28-Pin SSOP (150Mil) Outline Dimensions
238
44-Pin LQFP (10Mm×10Mm) (Fp2.0Mm) Outline Dimensions
239
48-Pin LQFP (7Mm×7Mm) Outline Dimensions
240
64-Pin LQFP (7Mm×7Mm) Outline Dimensions
241
Advertisement
Advertisement
Related Products
HOLTEK BS66F350
HOLTEK BS66F370
HOLTEK BS66F360
Holtek BS66F340C
Holtek BS66F350C
Holtek BS66F360C
HOLTEK BS67F340
HOLTEK BS67F350
HOLTEK BS67F360
HOLTEK BS67F370
HOLTEK Categories
Microcontrollers
Storage
Computer Hardware
Control Unit
Controller
More HOLTEK Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL