Datasheet BA45F5450 (Holtek) - 5

ManufacturerHoltek
Description9V High Voltage Smoke Detector Flash MCU
Pages / Page201 / 5 — BA45F5450. 9V High Voltage Smoke Detector Flash MCU. 16-bit Voice D/A …
File Format / SizePDF / 3.2 Mb
Document LanguageEnglish

BA45F5450. 9V High Voltage Smoke Detector Flash MCU. 16-bit Voice D/A Converter ...128. Serial Interface Module – SIM ..130

BA45F5450 9V High Voltage Smoke Detector Flash MCU 16-bit Voice D/A Converter ...128 Serial Interface Module – SIM ..130

Model Line for this Datasheet

Text Version of Document

link to page 128 link to page 129 link to page 130 link to page 130 link to page 138 link to page 147 link to page 148 link to page 148 link to page 148 link to page 154 link to page 154 link to page 155 link to page 157 link to page 158 link to page 159 link to page 160 link to page 161 link to page 161 link to page 162 link to page 163 link to page 163 link to page 167 link to page 168 link to page 169 link to page 169 link to page 170 link to page 170 link to page 171 link to page 171 link to page 171 link to page 171 link to page 172 link to page 172 link to page 173 link to page 173 link to page 174 link to page 175 link to page 175 link to page 175 link to page 175 link to page 175 link to page 176 link to page 176
BA45F5450 BA45F5450 9V High Voltage Smoke Detector Flash MCU 9V High Voltage Smoke Detector Flash MCU 16-bit Voice D/A Converter ...128
D/A Converter Registers ...129
Serial Interface Module – SIM ..130
SPI Interface ...130 I2C Interface ..138
UART Interface ..147
UART External Pins ..148 UART Data Transfer Scheme..148 UART Status and Control Registers..148 Baud Rate Generator ..154 UART Setup and Control...154 UART Transmitter..155 UART Receiver ...157 Managing Receiver Errors ..158 UART Interrupt Structure...159 UART Power Down and Wake-up ...160
Low Voltage Detector – LVD ..161
LVD Register ...161 LVD Operation ...162
Interrupts ...163
Interrupt Registers ...163 Interrupt Operation ..167 External Interrupts ...168 A/D Converter Interrupt ...169 Time Base Interrupts ...169 Multi-function Interrupt ..170 SIM Interrupt ...170 UART Interrupt ..171 LVD Interrupt ...171 EEPROM Interrupt ..171 TM Interrupts ...171 Interrupt Wake-up Function ...172 Programming Considerations ..172
Application Circuits ..173
External-Driving Buzzer Application Circuit ...173 Self-Driving Buzzer Application Circuit ..174
Instruction Set ...175
Introduction ...175 Instruction Timing ..175 Moving and Transferring Data ...175 Arithmetic Operations ..175 Logical and Rotate Operation ...176 Branches and Control Transfer ...176 Rev. 1.00 4 June 15, 2020 Rev. 1.00 5 June 15, 2020 Document Outline Features CPU Features Peripheral Features General Description Block Diagram Pin Assignment Pin Description Absolute Maximum Ratings D.C. Characteristics Operating Voltage Characteristics Operating Current Characteristics Standby Current Characteristics A.C. Characteristics High Speed Internal Oscillator – HIRC – Frequency Accuracy Low Speed Internal Oscillator – LIRC System Start Up Time Characteristics Input/Output Characteristics Memory Characteristics LVD & LVR Electrical Characteristics A/D Converter Electrical Characteristics Reference Voltage Characteristics Sink Current Generator Electrical Characteristics Sink Current Generator Characteristic Curves Operational Amplifier Electrical Characteristics – Smoke Detector AFE 16-bit Voice D/A Converter Electrical Characteristics LDO Electrical Characteristics Piezoelectric Horn Driver Characteristics Power-on Reset Characteristics System Architecture Clocking and Pipelining Program Counter Stack Arithmetic and Logic Unit – ALU Flash Program Memory Structure Special Vectors Look-up Table Table Program Example In Circuit Programming – ICP On Chip Debug Support – OCDS In Application Programming – IAP Data Memory Structure Data Memory Addressing General Purpose Data Memory Special Purpose Data Memory Special Function Register Description Indirect Addressing Registers – IAR0, IAR1, IAR2 Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H Accumulator – ACC Program Counter Low Register – PCL Look-up Table Registers – TBLP, TBHP, TBLH Status Register – STATUS EEPROM Data Memory EEPROM Data Memory Structure EEPROM Registers Reading Data from the EEPROM Writing Data to the EEPROM Write Protection EEPROM Interrupt Programming Considerations Oscillators Oscillator Overview System Clock Configurations Internal High Speed RC Oscillator – HIRC Internal 32kHz Oscillator – LIRC Operating Modes and System Clocks System Clocks System Operation Modes Control Registers Operating Mode Switching Standby Current Considerations Wake-up Watchdog Timer Watchdog Timer Clock Source Watchdog Timer Control Register Watchdog Timer Operation Reset and Initialisation Reset Functions Reset Initial Conditions Input/Output Ports Pull-high Resistors Port A Wake-up I/O Port Control Registers I/O Port Source Current Control Pin-shared Functions I/O Pin Structures Programming Considerations Timer Modules – TM Introduction TM Operation TM Clock Source TM Interrupts TM External Pins Programming Considerations Standard Type TM – STM Standard TM Operation Standard Type TM Register Description Standard Type TM Operation Modes Periodic Type TM – PTM Periodic TM Operation Periodic Type TM Register Description Periodic Type TM Operating Modes Smoke Detector AFE Smoke Detector AFE Registers Operational Amplifier Operation Operational Amplifier Input Offset Calibration Piezoelectric Horn Driver Self-driving Mode External-driving Mode Analog to Digital Converter A/D Converter Overview A/D Converter Register Description A/D Converter Operation A/D Converter Reference Voltage A/D Converter Input Signals Conversion Rate and Timing Diagram Summary of A/D Conversion Steps Programming Considerations A/D Conversion Function A/D Conversion Programming Examples Sink Current Generator Sink Current Generator Registers 16-bit Voice D/A Converter D/A Converter Registers Serial Interface Module – SIM SPI Interface I2C Interface UART Interface UART External Pins UART Data Transfer Scheme UART Status and Control Registers Baud Rate Generator UART Setup and Control UART Transmitter UART Receiver Managing Receiver Errors UART Interrupt Structure UART Power Down and Wake-up Low Voltage Detector – LVD LVD Register LVD Operation Interrupts Interrupt Registers Interrupt Operation External Interrupts A/D Converter Interrupt Time Base Interrupts Multi-function Interrupt SIM Interrupt UART Interrupt LVD Interrupt EEPROM Interrupt TM Interrupts Interrupt Wake-up Function Programming Considerations Application Circuits External-Driving Buzzer Application Circuit Self-Driving Buzzer Application Circuit Instruction Set Introduction Instruction Timing Moving and Transferring Data Arithmetic Operations Logical and Rotate Operation Branches and Control Transfer Bit Operations Table Read Operations Other Operations Instruction Set Summary Table Conventions Extended Instruction Set Instruction Definition Extended Instruction Definition Package Information 20-pin SOP (300mil) Outline Dimensions 24-pin SOP (300mil) Outline Dimensions 28-pin SOP (300mil) Outline Dimensions