NXP Semiconductors MC9S08PA4 manuals
MC9S08PA4
Table of contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Introduction
- MCU block diagram
- System clock distribution
- Device pin assignment
- Pin functions
- Oscillator (XTAL, EXTAL)
- External reset pin (RESET) and interrupt pin (IRQ)
- Background/mode select (BKGD/MS)
- Port A input/output (I/O) pins (PTA5–PTA0)
- Peripheral pinouts
- Wait mode
- Active BDM enabled in stop3 mode
- Low voltage detect (LVD) system
- Power-on reset (POR) operation
- Bandgap reference
- System Power Management Status and Control 2 Register (PMC_SPMSC2)
- Memory map
- Reset and interrupt vector assignments
- Register addresses and bit assignments
- Random-access memory (RAM)
- Flash and EEPROM
- Function descriptions
- Flash and EEPROM initialization after system reset
- Flash and EEPROM interrupts
- Protection
- Security
- Flash and EEPROM commands
- Flash and EEPROM command summary
- Flash and EEPROM registers descriptions
- Flash Security Register (NVM_FSEC)
- Flash CCOB Index Register (NVM_FCCOBIX)
- Flash Error Configuration Register (NVM_FERCNFG)
- Flash Status Register (NVM_FSTAT)
- Flash Error Status Register (NVM_FERSTAT)
- Flash Protection Register (NVM_FPROT)
- EEPROM Protection Register (NVM_EEPROT)
- Flash Common Command Object Register:High (NVM_FCCOBHI)
- Flash Common Command Object Register: Low (NVM_FCCOBLO)
- Interrupts
- Interrupt stack frame
- Interrupt vectors, sources, and local masks
- Hardware nested interrupt
- Interrupt priority level register
- Interrupt priority level comparator set
- Integration and application of the IPC
- Features
- Pin configuration options
- Interrupt Pin Request Status and Control Register (IRQ_SC)
- Interrupt priority control register
- IPC Status and Control Register (IPC_SC)
- Interrupt Priority Mask Pseudo Stack Register (IPC_IPMPS)
- System device identification (SDID)
- System options
- FTM0 channels pin reassignment
- ACMP output selection
- SCI0 RxD filter
- ADC hardware trigger
- System Reset Status Register (SYS_SRS)
- System Background Debug Force Reset Register (SYS_SBDFR)
- System Device Identification Register: Low (SYS_SDIDL)
- System Options Register 2 (SYS_SOPT2)
- System Options Register 3 (SYS_SOPT3)
- Illegal Address Register: High (SYS_ILLAH)
- Universally Unique Identifier Register 1 (SYS_UUID1)
- Universally Unique Identifier Register 3 (SYS_UUID3)
- Universally Unique Identifier Register 5 (SYS_UUID5)
- Universally Unique Identifier Register 7 (SYS_UUID7)
- Port data and data direction
- Input glitch filter setting
- Port A Data Register (PORT_PTAD)
- Port B Data Register (PORT_PTBD)
- Port High Drive Enable Register (PORT_HDRVE)
- Port B Output Enable Register (PORT_PTBOE)
- Port C Output Enable Register (PORT_PTCOE)
- Port A Input Enable Register (PORT_PTAIE)
- Port B Input Enable Register (PORT_PTBIE)
- Port C Input Enable Register (PORT_PTCIE)
- Port Filter Register 0 (PORT_IOFLT0)
- Port Filter Register 2 (PORT_IOFLT2)
- Port Clock Division Register (PORT_FCLKDIV)
- Port A Pullup Enable Register (PORT_PTAPE)
- Port B Pullup Enable Register (PORT_PTBPE)
- Port C Pullup Enable Register (PORT_PTCPE)
- Clock module
- Internal clock source (ICS)
- Function description
- Bus frequency divider
- Fixed frequency clock (ICSFFCLK)
- BDC clock
- FLL engaged internal (FEI)
- FLL engaged external (FEE)
- FLL bypassed internal low power (FBILP)
- Stop (STOP)
- FLL lock and clock monitor
- Initializing FEI mode
- Initializing FBE mode
- Bypass mode
- High-gain configuration
- kHz low-power oscillator (LPO)
- ICS Control Register 1 (ICS_C1)
- ICS Control Register 2 (ICS_C2)
- ICS Control Register 3 (ICS_C3)
- ICS Status Register (ICS_S)
- OSC Status and Control Register (ICS_OSCSC)
- System clock gating control registers
- System Clock Gating Control 1 Register (SCG_C1)
- System Clock Gating Control 2 Register (SCG_C2)
- System Clock Gating Control 3 Register (SCG_C3)
- System modules
- Memory
- Timers
- FTM0 interconnection
- FTM1 interconnection
- Communication interfaces
- SCI0 infrared functions
- Analog
- ADC channel assignments
- Alternate clock
- Analog comparator (ACMP)
- ACMP configuration information
- Human-machine interfaces HMI
- Programmer's Model and CPU Registers
- Index Register (H:X)
- Program Counter (PC)
- Addressing Modes
- Inherent Addressing Mode (INH)
- Direct Addressing Mode (DIR)
- Indexed Addressing Mode
- Indexed, 8-Bit Offset with Post Increment (IX1+)
- SP-Relative, 16-Bit Offset (SP2)
- Indexed to Direct, Post Increment
- Security mode
- HCS08 V6 Opcodes
- Instruction Set Summary
- KBI in Wait mode
- External signals description
- KBI Status and Control Register (KBIx_SC)
- KBIx Edge Select Register (KBIx_ES)
- Edge-only sensitivity
- KBI initialization
- Modes of operation
- Signal description
- EXTCLK — FTM external clock
- Status and Control (FTMx_SC)
- Counter High (FTMx_CNTH)
- Counter Low (FTMx_CNTL)
- Modulo Low (FTMx_MODL)
- Channel Value High (FTMx_CnVH)
- Channel Value Low (FTMx_CnVL)
- Clock Source
- Prescaler
- Up-down counting
- Free running counter
- Output compare mode
- Edge-aligned PWM (EPWM) mode
- Center-aligned PWM (CPWM) mode
- Update of the registers with write buffers
- CnVH:L registers
- FTM Interrupts
- RTC Status and Control Register 1 (RTC_SC1)
- RTC Status and Control Register 2 (RTC_SC2)
- RTC Modulo Register: High (RTC_MODH)
- RTC Counter Register: Low (RTC_CNTL)
- RTC operation example
- Block diagram
- SCI signal descriptions
- SCI Baud Rate Register: High (SCIx_BDH)
- SCI Baud Rate Register: Low (SCIx_BDL)
- SCI Control Register 2 (SCIx_C2)
- SCI Status Register 1 (SCIx_S1)
- SCI Status Register 2 (SCIx_S2)
- SCI Control Register 3 (SCIx_C3)
- SCI Data Register (SCIx_D)
- Baud rate generation
- Send break and queued idle
- Receiver functional description
- Data sampling technique
- Receiver wake-up operation
- Interrupts and status flags
- Baud rate tolerance
- Slow data tolerance
- Fast data tolerance
- Additional SCI functions
- Loop mode
- Analog Channel Inputs (ADx)
- Status and Control Register 2 (ADC_SC2)
- Status and Control Register 3 (ADC_SC3)
- Status and Control Register 4 (ADC_SC4)
- Conversion Result High Register (ADC_RH)
- Conversion Result Low Register (ADC_RL)
- Compare Value High Register (ADC_CVH)
- Pin Control 1 Register (ADC_APCTL1)
- Functional description
- Clock select and divide control
- Hardware trigger
- Completing conversions
- Power control
- Automatic compare function
- FIFO operation
- MCU Stop3 mode operation
- Initialization information
- Pseudo-code example
- Application information
- Analog reference pins
- Sources of error
- Code width and quantization error
- Code jitter, non-monotonicity, and missing codes
- External signal description
- ACMP Control and Status Register (ACMP_CS)
- ACMP Control Register 0 (ACMP_C0)
- ACMP Control Register 2 (ACMP_C2)
- Setup and operation of ACMP
- Resets
- Memory map and register definition
- Watchdog Control and Status Register 2 (WDOG_CS2)
- Watchdog Counter Register: High (WDOG_CNTH)
- Watchdog Timeout Value Register: High (WDOG_TOVALH)
- Watchdog Window Register: High (WDOG_WINH)
- Window mode
- Example code: Refreshing the Watchdog
- Reconfiguring the Watchdog
- Using interrupts to delay resets
- Fast testing of the watchdog
- Entering user mode
- Background debug controller (BDC)
- BKGD pin description
- Communication details
- BDC commands
- BDC hardware breakpoint
- Comparators A and B
- Bus capture information and FIFO operation
- Change-of-flow information
- Trigger modes
- Hardware breakpoints
- Memory map and register description
- BDC Breakpoint Match Register: High (BDC_BKPTH)
- BDC Breakpoint Register: Low (BDC_BKPTL)
- Debug Comparator A High Register (DBG_CAH)
- Debug Comparator A Low Register (DBG_CAL)
- Debug Comparator B High Register (DBG_CBH)
- Debug Comparator C High Register (DBG_CCH)
- Debug Comparator C Low Register (DBG_CCL)
- Debug FIFO Low Register (DBG_FL)
- Debug Comparator A Extension Register (DBG_CAX)
- Debug Comparator B Extension Register (DBG_CBX)
- Debug Comparator C Extension Register (DBG_CCX)
- Debug FIFO Extended Information Register (DBG_FX)
- Debug Trigger Register (DBG_T)
- Debug Status Register (DBG_S)
- Debug Count Status Register (DBG_CNT)
- Breakpoints
- Trigger selection
- Begin- and end-trigger
- FIFO
- Storing data in FIFO
- Reading data from FIFO
Related products
MC9S08QL4MC9S08LG32MC9S08SU16MC9S08LG16MC9S08SU8VFKMC9S08SU16VFKMC9S12GMC9S08QL8 MCU SeriesMC9S12XS128MC9S12XS64NXP Semiconductors categories
Motherboard
Microcontrollers
Computer Hardware
Controller
Amplifier
Control Unit
Power Supply
Industrial Electrical
Time Clocks
Network Hardware
manualsdatabase
Your AI-powered manual search engine