Datasheet BA45F5440 (Holtek) - 10

HerstellerHoltek
Beschreibung9V High Voltage Smoke Detector Flash MCU
Seiten / Seite181 / 10 — BA45F5440. 9V High Voltage Smoke Detector Flash MCU. Pin Name. Function. …
Dateiformat / GrößePDF / 2.9 Mb
DokumentenspracheEnglisch

BA45F5440. 9V High Voltage Smoke Detector Flash MCU. Pin Name. Function. OPT. I/T. O/T. Description

BA45F5440 9V High Voltage Smoke Detector Flash MCU Pin Name Function OPT I/T O/T Description

Modelllinie für dieses Datenblatt

Textversion des Dokuments

BA45F5440 BA45F5440 9V High Voltage Smoke Detector Flash MCU 9V High Voltage Smoke Detector Flash MCU Pin Name Function OPT I/T O/T Description
PAPU PA3 PAWU ST CMOS General purpose I/O. Register enabled pull-high PAS0 and wake-up. SDO PAS0 — CMOS SPI serial data output PA3/SDO/TX/PTPB/AN3/ TX PAS0 — CMOS UART transmitter pin MODE PTPB PAS0 — CMOS PTM inverted output AN3 PAS0 AN — A/D Converter input channel 3 MODE — ST — Piezoelectric horn driver mode select – Feedback/ non-feedback PAPU PA4 PAWU ST CMOS General purpose I/O. Register enabled pull-high PAS1 and wake-up. PA4/PTCK/STPB/AN0/A0O PTCK PAS1 ST — PTM clock input or capture input STPB PAS1 — CMOS STM inverted output AN0 PAS1 AN — A/D Converter input channel 0 A0O PAS1 — AN SD Operational Amplifier 0 output PAPU PA5 PAWU ST CMOS General purpose I/O. Register enabled pull-high and wake-up. PA5/STCK/A1O PAS1 STCK PAS1 ST — STM clock input A1O PAS1 — AN SD Operational Amplifier 1 output PAPU PA6 PAWU ST CMOS General purpose I/O. Register enabled pull-high PAS1 and wake-up. PTP PAS1 — CMOS PTM output SDI IFS0 PA6/PTP/SDI/SDA/RX/ PAS1 ST — SPI serial data input VREF/ENCLK SDA IFS0 PAS1 ST NMOS I2C data line RX IFS0 PAS1 ST — UART receiver pin VREF PAS1 AN — A/D Converter external reference voltage ENCLK — ST — Piezoelectric horn driver enable/clock input PAPU PA7 PAWU ST CMOS General purpose I/O. Register enabled pull-high PAS1 and wake-up. STPI PAS1 ST — STM capture Input PA7/STPI/PTPI/SCK/SCL/ PTPI IFS0 PAS1 ST — PTM capture input AN1 SCK IFS0 PAS1 ST CMOS SPI serial clock SCL IFS0 PAS1 ST NMOS I2C clock line AN1 PAS1 AN — A/D Converter input channel 1 PB1 PBPU PBS0 ST CMOS General purpose I/O. Register enabled pull-high. PB1/SDO/TX SDO PBS0 — CMOS SPI serial data output TX PBS0 — CMOS UART transmitter pin Rev. 1.00 10 September 03, 2020 Rev. 1.00 11 September 03, 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 Frequency Accuracy Low Speed Internal Oscillator Characteristics – LIRC System Start Up Time Characteristics Input/Output Characteristics Memory Characteristics LVD & LVR Electrical Characteristics A/D Converter Electrical Characteristics Internal Reference Voltage Characteristics Sink Current Generator Electrical Characteristics Operational Amplifier Electrical Characteristics – Smoke Detector AFE 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 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 Source Current Selection 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 Operation Modes Smoke Detector AFE Smoke Detector AFE Registers 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 Universal Serial Interface Module – USIM SPI Interface I2C Interface UART Interface Low Voltage Detector – LVD LVD Register LVD Operation Interrupts Interrupt Registers Interrupt Operation External Interrupt A/D Converter Interrupt Time Base Interrupts USIM 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 20-pin SSOP (150mil) Outline Dimensions