[PDF] HT66FM5240 Jan 20 2020 The Holtek





Previous PDF Next PDF



CHEMISE DE MALADE ONTARIO TAILLE UNIQUE HOLTEX

UNIQUE HOLTEX. WONT0100. Réf. ONTARIO. MESURES. CONDITIONS DE STOCKAGE SPÉCIFIQUES : CARACTERISTIQUES. Non. Dispositif médical : Garantie (mois) :.



INFORMATION

holtex.fr. 72. TABLEAUX DES MESURES. Genre. Modèle. Taille. 0. 1. 2. 3. 4. 5. 6. Correspondance. 34-36 38-40 42-44 46-48 50-52 54-56 58-60.



TysonBio TB100 Blood Glucose Monitoring System Glucomètre

For spare parts please contact Holtex SAS at info@holtex.fr. Holtex Customer Hotline: Monday - Thursday 8.00 -12.00 13.30-17.30.



HT66F002/HT66F0025/HT66F003/HT66F004

Jun 23 2021 Holtek has provided a means of programming the microcontroller in-circuit ... the ENADC bit is high then some power will still be consumed.



Untitled

H Holtex. MANUEL D'UTILISATION / USER'S MANUAL ! J's. ANDINE 3 function is designed for people who need to know how much milk baby had consumed after.



HT66F03/HT66F04 HT68F03/HT68F04

Nov 28 2012 Holtek range of microcontrollers is attributed to their in- ... and no power consumed even if analog voltages are applied to its inputs.



HT45F85x0 Lithium Battery Protection Application Note

Apr 14 2020 article introduces how Holtek Li-Battery Protection MCUs



HT66F018

Jun 23 2021 The Holtek Flash MCU to Writer Programming Pin correspondence table is as ... the ADOFF bit is zero then some power will still be consumed.



HT66FM5240

Jan 20 2020 The Holtek Flash MCU to Writer Programming Pin correspondence table is as ... switched off and no power consumed even if analog voltages are ...



HT66F0021/HT66F0031/HT66F0041

Sep 24 2020 A key factor in the high-performance features of the Holtek range of microcontrollers is attributed to their internal system architecture.

Brushless DC Motor Flash MCU

HT66FM5240

Revision: V1.20 Date: January 20, 2020

Rev. 1.202January 20, 2020Rev. 1.203January 20, 2020

HT66FM5240

Brushless DC Motor Flash MCU

HT66FM5240

Brushless DC Motor Flash MCU

Table of Contents

Features ............................................................................................................7

CPU Features .........................................................................................................................7

Peripheral Features .................................................................................................................7

General Description .........................................................................................8

Block Diagram ..................................................................................................8

Pin Assignment ................................................................................................9

Pin Descriptions ............................................................................................10

Absolute Maximum Ratings ..........................................................................13

D.C. Characteristics .......................................................................................13

A.C. Characteristics .......................................................................................14

HIRC Frequency Accuracy over Device VDD and Temperature .............................................14

A/D Converter Characteristics ......................................................................15

D/A Converter Characteristics ......................................................................15

Comparator Electrical Characteristics ........................................................16 Power on Reset Electrical Characteristics ..................................................17

System Architecture ......................................................................................17

Clocking and Pipelining .........................................................................................................17

Program Counter ...................................................................................................................18

Stack ...........................................................................................................................

..........19

Arithmetic and Logic Unit - ALU ...........................................................................................19

Flash Program Memory .................................................................................20

Structure ............................................................................................................................

....20

Special Vectors .....................................................................................................................20

Look-up Table ........................................................................................................................20

Table Program Example ........................................................................................................21

In Circuit Programming .........................................................................................................22

On-Chip Debug Support - OCDS .........................................................................................23

RAM Data Memory .........................................................................................23

Structure ............................................................................................................................

....23 Special Function Register Description ........................................................25

Indirect Addressing Registers - IAR0, IAR1 .........................................................................25

Memory Pointers - MP0, MP1 ..............................................................................................25

Bank Pointer - BP .................................................................................................................26

Accumulator - ACC ...............................................................................................................26

Program Counter Low Register - PCL ..................................................................................26

Look-up Table Registers - TBLP, TBHP, TBLH .....................................................................26

Status Register - STATUS ....................................................................................................27

Rev. 1.202January 20, 2020Rev. 1.203January 20, 2020

HT66FM5240

Brushless DC Motor Flash MCU

HT66FM5240

Brushless DC Motor Flash MCU

EEPROM Data Memory ..................................................................................29

EEPROM Data Memory Structure ........................................................................................29

EEPROM Registers ..............................................................................................................29

Reading Data from the EEPROM ........................................................................................31

Writing Data to the EEPROM ................................................................................................31

Write Protection .....................................................................................................................31

EEPROM Interrupt ................................................................................................................31

Programming Considerations ................................................................................................32

Oscillator ........................................................................................................33

Oscillator Overview ...............................................................................................................33

Internal 20MHz RC Oscillator - HIRC ...................................................................................34

Internal 32kHz Oscillator - LIRC ...........................................................................................34

Supplementary Clocks ..........................................................................................................34

Operating Modes and System Clocks .........................................................35

System Clocks ......................................................................................................................35

System Operation Modes ......................................................................................................36

Control Register ....................................................................................................................37

Operating Mode Switching ...................................................................................................39

NORMAL Mode to SLOW Mode Switching ...........................................................................39

SLOW Mode to NORMAL Mode Switching ..........................................................................39

Entering the SLEEP Mode ....................................................................................................41

Entering the IDLE0 Mode ......................................................................................................41

Entering the IDLE1 Mode ......................................................................................................41

Standby Current Considerations ...........................................................................................42

Wake-up ...........................................................................................................................

.....42

Watchdog Timer .............................................................................................43

Watchdog Timer Clock Source ..............................................................................................43

Watchdog Timer Control Register .........................................................................................43

Watchdog Timer Operation ...................................................................................................44

Reset and Initialisation ..................................................................................45

Reset Functions ....................................................................................................................45

Reset Initial Conditions .........................................................................................................47

Input/Output Ports .........................................................................................52

Pull-high Resistors ................................................................................................................52

Port A Wake-up .....................................................................................................................53

I/O Port Control Registers .....................................................................................................54

Pin-remapping Functions ......................................................................................................55

Pin-remapping Registers .......................................................................................................55

Pin-sharing Functions ...........................................................................................................56

I/O Pin Structures ..................................................................................................................62

Programming Considerations ................................................................................................63

Rev. 1.204January 20, 2020Rev. 1.205January 20, 2020

HT66FM5240

Brushless DC Motor Flash MCU

HT66FM5240

Brushless DC Motor Flash MCU

Timer Modules - TM ......................................................................................63

Introduction ...........................................................................................................................

63

TM Operation ........................................................................................................................64

TM Clock Source ...................................................................................................................64

TM Interrupts .........................................................................................................................64

TM External Pins ...................................................................................................................64

Programming Considerations ................................................................................................65

Periodic Type TM - PTM ................................................................................66

Periodic TM Operation ..........................................................................................................67

Periodic Type TM Register Description .................................................................................67

Periodic Type TM Operating Modes ......................................................................................73

Timer/Counter Mode .............................................................................................................76

PWM Output Mode ................................................................................................................76

Single Pulse Output Mode ....................................................................................................78

Capture Input Mode ..............................................................................................................80

Capture Timer Module - CAPTM ..................................................................82

Capture Timer Overview .......................................................................................................82

Capture Timer Register Description .....................................................................................82

Capture Timer Operation .......................................................................................................86

Capture Mode Operation .......................................................................................................86

Compare Mode Operation .....................................................................................................86

Noise Filter ...........................................................................................................................

.87

Comparators ..................................................................................................88

Comparators Block Diagram .................................................................................................88

Comparator Operation ..........................................................................................................89

Analog to Digital Converter ..........................................................................90

A/D Overview ........................................................................................................................90

A/D Converter Register Description ......................................................................................91

A/D Operation .......................................................................................................................95

Summary of A/D Conversion Steps .......................................................................................96

Programming Considerations ................................................................................................97

A/D Transfer Function ...........................................................................................................97

A/D Programming Examples .................................................................................................98

Over Current Detection ...............................................................................100

Over Current Functional Description ...................................................................................100

Over Current Register Description ......................................................................................100

BLDC Motor Control Circuit ........................................................................102

Functional Description .........................................................................................................102

PWM Counter Control Circuit .............................................................................................104

Mask Function .....................................................................................................................108

Other Functions ....................................................................................................................114

Hall Sensor Decoder ............................................................................................................116

Motor Protection Function ...................................................................................................124

Rev. 1.204January 20, 2020Rev. 1.205January 20, 2020

HT66FM5240

Brushless DC Motor Flash MCU

HT66FM5240

Brushless DC Motor Flash MCU

I 2

C Interface .................................................................................................129

I 2

C Interface Operation .......................................................................................................129

I 2

C Registers .......................................................................................................................130

I 2

C Bus Communication .....................................................................................................133

I 2

C Bus Start Signal ............................................................................................................134

Slave Address ....................................................................................................................134

I 2

C Bus Read/Write Signal .................................................................................................134

I 2

C Bus Slave Address Acknowledge Signal ......................................................................135

I 2

C Bus Data and Acknowledge Signal ..............................................................................135

I 2

C Time-out Control ............................................................................................................136

UART Interface .............................................................................................138

UART External Pins ............................................................................................................139

UART Data Transfer Scheme..............................................................................................139

UART Status and Control Registers....................................................................................139

Baud Rate Generator ..........................................................................................................145

UART Setup and Control.....................................................................................................146

UART Transmitter................................................................................................................147

UART Receiver ...................................................................................................................149

Managing Receiver Errors ..................................................................................................150

UART Interrupt Structure.....................................................................................................151

UART Power Down Mode and Wake-up .............................................................................153

Interrupts ......................................................................................................153

Interrupt Registers ...............................................................................................................153

Interrupt Operation ..............................................................................................................163

External Interrupt 0 ..............................................................................................................165

External Interrupt 1 ..............................................................................................................165

Noise Filtered Input Interrupt ...............................................................................................165

Comparator Interrupt ...........................................................................................................166

Time Base Interrupt .............................................................................................................166

Multi-function Interrupt ........................................................................................................167

A/D Converter Interrupt .......................................................................................................167

PWM Module Interrupts ......................................................................................................167

CAPTM Module Interrupt ....................................................................................................168

TM Module Interrupt ............................................................................................................168

EEPROM Interrupt ..............................................................................................................168

LVD Interrupt .......................................................................................................................168

I 2

C Interrupt .........................................................................................................................169

UART Interrupt ....................................................................................................................169

Interrupt Wake-up Function .................................................................................................169

Programming Considerations ..............................................................................................170

Low Voltage Detector - LVD .......................................................................171

LVD Register .......................................................................................................................171

LVD Operation .....................................................................................................................172

Rev. 1.206January 20, 2020Rev. 1.207January 20, 2020

HT66FM5240

Brushless DC Motor Flash MCU

HT66FM5240

Brushless DC Motor Flash MCU

Application Circuits .....................................................................................173

Instruction Set ..............................................................................................174

Introduction .........................................................................................................................174

Instruction Timing ................................................................................................................174

Moving and Transferring Data .............................................................................................174

Arithmetic Operations ..........................................................................................................174

Logical and Rotate Operation .............................................................................................175

Branches and Control Transfer ...........................................................................................175

Bit Operations .....................................................................................................................175

Table Read Operations .......................................................................................................175

Other Operations .................................................................................................................175

Instruction Set Summary ............................................................................176

Package Information ...................................................................................187

20-pin SSOP (150mil) Outline Dimensions .........................................................................188

28-pin SSOP (150mil) Outline Dimensions .........................................................................189

SAW Type 24-pin QFN (4mm×4mm×0.75mm) Outline Dimensions ...................................190 Rev. 1.206January 20, 2020Rev. 1.207January 20, 2020

HT66FM5240

Brushless DC Motor Flash MCU

HT66FM5240

Brushless DC Motor Flash MCU

Features

CPU Features

Operating Voltage

ȝDD=5V

Peripheral Features

ion I 2 Rev. 1.208January 20, 2020Rev. 1.209January 20, 2020

HT66FM5240

Brushless DC Motor Flash MCU

HT66FM5240

Brushless DC Motor Flash MCU

General Description

PRWRUDSSOLFDWLRQV

2 C

RUGULYLQJLQGXVWULDOFRQWUROFRQVXPHU

SURGXFWVVXEV\VWHPFRQWUROOHUVHWF

Block Diagram

VDD VSS

Position

Detection

CKT ADC

12-bit x8 TCK1/PA3/H1/C1P

I 2 C

ModuleINT1/TP2_0/PB0/HAO/AN2

PB3/C1N

PTM-10bit x2

PTM-16bitx2

[SCL]/CTIN/PB1//HBO/AN1 MCU (1)ROM:4KW (2)RAM:256x8 (3)EE:64x8 (4)Stack:8 Motor

Control

CKT

Protection

CKT

Current

Sense CKT

PA1/TCK2/AN3/AP

HIRC=20MHz

LIRC=32KHz

WDT LVR

LVDPC0/GAT

PC1/GAB

PC2/GBT

PC3/GBB

PC4/GCT

PC5/GCB

AVDD AVSS

PA7/NFIN/AN6

[TX]/PA2/SCL/OCDSCK/ICPCK [RX]/PA0/SDA/OCDSDA/ICPDA [SDA]/TP2_1/PB2/HCO/AN0

PA5/H3/C3P[C1N]/PA4/H2/C2P

[C1N]/PA6/AN7

TCK3/TP0_0/PD0/AN5

TP0_1/PD1/AN4

UART

Module

[INT1]/TP1_0/PD2

TP1_1/PD2

TP3_0/PB4

TP3_1/PB5

PB6/RX/TP2_0

PB7/TX/TP2_1

Rev. 1.208January 20, 2020Rev. 1.209January 20, 2020

HT66FM5240

Brushless DC Motor Flash MCU

HT66FM5240

Brushless DC Motor Flash MCU

Pin Assignment

PA6/[C1N]/AN7

PA7/NFIN/AN6

VSS&AVSS

VDD&AVDD

PA1/TCK2/AP/AN3

quotesdbs_dbs10.pdfusesText_16
[PDF] Holthuijzen 1 Des Paysans et des Alimentations: Comment la - France

[PDF] Holunder

[PDF] Holy Angel`s Liturgical Ministry Schedule

[PDF] HOLY COWGIRL

[PDF] Holy Cross Lutheran Church stoplist.pub - Anciens Et Réunions

[PDF] Holy Cross Roman Catholic Church - Mexique Et Amérique Centrale

[PDF] Holy Mass at St. Raphael`s Old Catholic Church

[PDF] HOLY MASS YOUTH CAMP Forni Avoltri / Italy 9th August 2013

[PDF] Holy Moses (Sabina Classen) - France

[PDF] HOLY MOTORS - Les Montreurs d`Images

[PDF] Holy Night a cappella sample!!!

[PDF] HOLY TRINITY (GOULD MEMORIAL) CHURCH STATUTS Misent à

[PDF] Holy Trinity Lutheran Church - Anciens Et Réunions

[PDF] Holy-Dis va à la rencontre de ses 278 clients du groupe Système U

[PDF] Holy-Dis, 1 fournisseur de solutions de planification - Anciens Et Réunions