用户手册目录Part 1 Overview51.1 56F8322/56F8122 Features51.1.1 Hybrid Controller Core51.1.2 Differences Between Devices51.1.3 Memory61.1.4 Peripheral Circuits61.1.5 Energy Information71.2 Device Description71.2.1 56F8322 Features71.2.2 56F8122 Features81.3 Award-Winning Development Environment81.4 Architecture Block Diagram91.5 Product Documentation131.6 Data Sheet Conventions13Part 2 Signal/Connection Descriptions142.1 Introduction142.2 Signal Pins17Part 3 On-Chip Clock Synthesis (OCCS)263.1 Introduction263.2 External Clock Operation263.2.1 Crystal Oscillator263.2.2 Ceramic Resonator (Default)273.2.3 External Clock Source273.3 Use of On-Chip Relaxation Oscillator283.4 Internal Clock Operation283.5 Registers29Part 4 Memory Map304.1 Introduction304.2 Program Map304.3 Interrupt Vector Table314.4 Data Map344.5 Flash Memory Map344.6 EOnCE Memory Map364.7 Peripheral Memory Mapped Registers364.8 Factory-Programmed Memory52Part 5 Interrupt Controller (ITCN)525.1 Introduction525.2 Features525.3 Functional Description525.3.1 Normal Interrupt Handling525.3.2 Interrupt Nesting535.3.3 Fast Interrupt Handling535.4 Block Diagram545.5 Operating Modes545.6 Register Descriptions555.6.1 Interrupt Priority Register 0 (IPR0)575.6.1.1 Reserved—Bits 15–14575.6.1.2 EOnCE Breakpoint Unit 0 Interrupt Priority Level (BKPT_U0 IPL)— Bits13–12575.6.1.3 EOnCE Step Counter Interrupt Priority Level (STPCNT IPL)— Bits 11–10575.6.1.4 Reserved—Bits 9–0575.6.2 Interrupt Priority Register 1 (IPR1)575.6.2.1 Reserved—Bits 15–6585.6.2.2 EOnCE Receive Register Full Interrupt Priority Level (RX_REG IPL)—Bits 5–4585.6.2.3 EOnCE Transmit Register Empty Interrupt Priority Level (TX_REG IPL)—Bits 3–2585.6.2.4 EOnCE Trace Buffer Interrupt Priority Level (TRBUF IPL)— Bits 1–0585.6.3 Interrupt Priority Register 2 (IPR2)585.6.3.1 Flash Memory Command, Data, Address Buffers Empty Interrupt Priority Level (FMCBE IPL)—Bi...595.6.3.2 Flash Memory Command Complete Priority Level (FMCC IPL)—Bits 13–12595.6.3.3 Flash Memory Error Interrupt Priority Level (FMERR IPL)—Bits 11–10595.6.3.4 PLL Loss of Lock Interrupt Priority Level (LOCK IPL)—Bits 9–8595.6.3.5 Low Voltage Detector Interrupt Priority Level (LVI IPL)—Bits 7–6605.6.3.6 Reserved—Bits 5–2605.6.3.7 External IRQ A Interrupt Priority Level (IRQA IPL)—Bits 1–0605.6.4 Interrupt Priority Register 3 (IPR3)605.6.4.1 Reserved—Bits 15–10605.6.4.2 FlexCAN Message Buffer Interrupt Priority Level (FCMSGBUF IPL)—Bits 9–8605.6.4.3 FlexCAN Wake Up Interrupt Priority Level (FCWKUP IPL)— Bits 7–6615.6.4.4 FlexCAN Error Interrupt Priority Level (FCERR IPL)— Bits 5–4615.6.4.5 FlexCAN Bus Off Interrupt Priority Level (FCBOFF IPL)— Bits 3–2615.6.4.6 Reserved—Bits 1–0615.6.5 Interrupt Priority Register 4 (IPR4)615.6.5.1 SPI0 Receiver Full Interrupt Priority Level (SPI0_RCV IPL)— Bits 15–14625.6.5.2 SPI1 Transmit Empty Interrupt Priority Level (SPI1_XMIT IPL)— Bits 13–12625.6.5.3 SPI1 Receiver Full Interrupt Priority Level (SPI1_RCV IPL)— Bits 11–10625.6.5.4 Reserved—Bits 9–6625.6.5.5 GPIO_A Interrupt Priority Level (GPIOA IPL)—Bits 5–4625.6.5.6 GPIO_B Interrupt Priority Level (GPIOB IPL)—Bits 3–2635.6.5.7 GPIO_C Interrupt Priority Level (GPIOC IPL)—Bits 1–0635.6.6 Interrupt Priority Register 5 (IPR5)635.6.6.1 Reserved—Bits 15–12635.6.6.2 SCI1 Receiver Full Interrupt Priority Level (SCI1_RCV IPL)— Bits 11–10635.6.6.3 SCI1 Receiver Error Interrupt Priority Level (SCI1_RERR IPL)— Bits 9–8645.6.6.4 Reserved—Bits 7–6645.6.6.5 SCI1 Transmitter Idle Interrupt Priority Level (SCI1_TIDL IPL)— Bits 5–4645.6.6.6 SCI1 Transmitter Empty Interrupt Priority Level (SCI1_XMIT IPL)— Bits 3–2645.6.6.7 SPI0 Transmitter Empty Interrupt Priority Level (SPI0_XMIT IPL)— Bits 1–0645.6.7 Interrupt Priority Register 6 (IPR6)655.6.7.1 Timer C, Channel 0 Interrupt Priority Level (TMRC_0 IPL)— Bits 15–14655.6.7.2 Reserved—Bits 13–4655.6.7.3 Quadrature Decoder 0, INDEX Pulse Interrupt Priority Level (DEC0_XIRQ IPL)—Bits 3–2655.6.7.4 Quadrature Decoder 0, HOME Signal Transition or Watchdog Timer Interrupt Priority Level (...655.6.8 Interrupt Priority Register 7 (IPR7)665.6.8.1 Timer A, Channel 0 Interrupt Priority Level (TMRA0 IPL)— Bits 15–14665.6.8.2 Reserved—Bits 13–6665.6.8.3 Timer C, Channel 3 Interrupt Priority Level (TMRC3 IPL)—Bits 5–4665.6.8.4 Timer C, Channel 2 Interrupt Priority Level (TMRC2 IPL)—Bits 3–2665.6.8.5 Timer C, Channel 1 Interrupt Priority Level (TMRC1 IPL)—Bits 1–0675.6.9 Interrupt Priority Register 8 (IPR8)675.6.9.1 SCI0 Receiver Full Interrupt Priority Level (SCI0_RCV IPL)— Bits 15–14675.6.9.2 SCI0 Receiver Error Interrupt Priority Level (SCI0_RERR IPL)— Bits 13–12675.6.9.3 Reserved—Bits 11–10675.6.9.4 SCI0 Transmitter Idle Interrupt Priority Level (SCI0_TIDL IPL)— Bits 9–8685.6.9.5 SCI0 Transmitter Empty Interrupt Priority Level (SCI0_XMIT IPL)— Bits 7–6685.6.9.6 Timer A, Channel 3 Interrupt Priority Level (TMRA3 IPL)—Bits 5–4685.6.9.7 Timer A, Channel 2 Interrupt Priority Level (TMRA2 IPL)—Bits 3–2685.6.9.8 Timer A, Channel 1 Interrupt Priority Level (TMRA1 IPL)—Bits 1–0695.6.10 Interrupt Priority Register 9 (IPR9)695.6.10.1 PWM A Fault Interrupt Priority Level (PWMAF IPL)—Bits 15–14695.6.10.2 Reserved—Bits 13–12695.6.10.3 Reload PWM A Interrupt Priority Level (PWMA_RL IPL)— Bits 11–10695.6.10.4 Reserved—Bits 9–8695.6.10.5 ADC A Zero Crossing or Limit Error Interrupt Priority Level (ADCA_ZC IPL)—Bits 7–6705.6.10.6 Reserved—Bits 5–4705.6.10.7 ADC A Conversion Complete Interrupt Priority Level (ADCA_CC IPL)—Bits 3–2705.6.10.8 Reserved—Bits 1–0705.6.11 Vector Base Address Register (VBA)705.6.11.1 Reserved—Bits 15–13705.6.11.2 Interrupt Vector Base Address (VECTOR BASE ADDRESS)— Bits 12–0705.6.12 Fast Interrupt 0 Match Register (FIM0)715.6.12.1 Reserved—Bits 15–7715.6.12.2 Fast Interrupt 0 Vector Number (FAST INTERRUPT 0)—Bits 6–0715.6.13 Fast Interrupt 0 Vector Address Low Register (FIVAL0)715.6.13.1 Fast Interrupt 0 Vector Address Low (FIVAL0)—Bits 15–0715.6.14 Fast Interrupt 0 Vector Address High Register (FIVAH0)715.6.14.1 Reserved—Bits 15–5715.6.14.2 Fast Interrupt 0 Vector Address High (FIVAH0)—Bits 4–0725.6.15 Fast Interrupt 1 Match Register (FIM1)725.6.15.1 Reserved—Bits 15–7725.6.15.2 Fast Interrupt 1 Vector Number (FAST INTERRUPT 1)—Bits 6–0725.6.16 Fast Interrupt 1 Vector Address Low Register (FIVAL1)725.6.16.1 Fast Interrupt 1 Vector Address Low (FIVAL1)—Bits 15–0725.6.17 Fast Interrupt 1 Vector Address High Register (FIVAH1)725.6.17.1 Reserved—Bits 15–5735.6.17.2 Fast Interrupt 1 Vector Address High (FIVAH1)—Bits 4–0735.6.18 IRQ Pending 0 Register (IRQP0)735.6.18.1 IRQ Pending (PENDING)—Bits 16–2735.6.18.2 Reserved—Bit 0735.6.19 IRQ Pending 1 Register (IRQP1)735.6.19.1 IRQ Pending (PENDING)—Bits 32–17735.6.20 IRQ Pending 2 Register (IRQP2)745.6.20.1 IRQ Pending (PENDING)—Bits 48–33745.6.21 IRQ Pending 3 Register (IRQP3)745.6.21.1 IRQ Pending (PENDING)—Bits 64–49745.6.22 IRQ Pending 4 Register (IRQP4)745.6.22.1 IRQ Pending (PENDING)—Bits 80–65745.6.23 IRQ Pending 5 Register (IRQP5)755.6.23.1 Reserved—Bits 96–82755.6.23.2 IRQ Pending (PENDING)—Bit 81755.6.24 Reserved—Base + 17755.6.25 Reserved—Base + 18755.6.26 Reserved—Base + 19755.6.27 Reserved—Base + 1A755.6.28 Reserved—Base + 1B755.6.29 Reserved—Base + 1C755.6.30 ITCN Control Register (ICTL)755.6.30.1 Interrupt (INT)—Bit 15755.6.30.2 Interrupt Priority Level (IPIC)—Bits 14–13765.6.30.3 Vector Number - Vector Address Bus (VAB)—Bits 12–6765.6.30.4 Interrupt Disable (INT_DIS)—Bit 5765.6.30.5 Reserved—Bit 4765.6.30.6 Reserved—Bit 3765.6.30.7 IRQA State Pin (IRQA STATE)—Bit 2765.6.30.8 Reserved—Bit 1765.6.30.9 IRQA Edge Pin (IRQA Edg)—Bit 0765.7 Resets775.7.1 Reset Handshake Timing775.7.2 ITCN After Reset77Part 6 System Integration Module (SIM)776.1 Introduction776.2 Features786.3 Operating Modes786.4 Operating Mode Register796.5 Register Descriptions796.5.1 SIM Control Register (SIM_CONTROL)806.5.1.1 Reserved—Bits 15–6806.5.1.2 OnCE Enable (ONCE EBL)—Bit 5816.5.1.3 Software Reset (SW RST)—Bit 4816.5.1.4 Stop Disable (STOP_DISABLE)—Bits 3–2816.5.1.5 Wait Disable (WAIT_DISABLE)—Bits 1–0816.5.2 SIM Reset Status Register (SIM_RSTSTS)816.5.2.1 Reserved—Bits 15–6816.5.2.2 Software Reset (SWR)—Bit 5816.5.2.3 COP Reset (COPR)—Bit 4826.5.2.4 External Reset (EXTR)—Bit 3826.5.2.5 Power-On Reset (POR)—Bit 2826.5.2.6 Reserved—Bits 1–0826.5.3 SIM Software Control Registers (SIM_SCR0, SIM_SCR1, SIM_SCR2, and SIM_SCR3)826.5.3.1 Software Control Data 1 (FIELD)—Bits 15–0826.5.4 Most Significant Half of JTAG ID (SIM_MSH_ID)836.5.5 Least Significant Half of JTAG ID (SIM_LSH_ID)836.5.6 SIM Pull-up Disable Register (SIM_PUDR)836.5.6.1 Reserved—Bits 15–12836.5.6.2 RESET—Bit 11836.5.6.3 IRQ—Bit 10846.5.6.4 Reserved—Bits 9–4846.5.6.5 JTAG—Bit 3846.5.6.6 Reserved—Bits 2–0846.5.7 CLKO Select Register (SIM_CLKOSR)846.5.7.1 Reserved—Bits 15–10846.5.7.2 PHASEA0 (PHSA)—Bit 9846.5.7.3 PHASEB0 (PHSB)—Bit 8846.5.7.4 INDEX0 (INDEX)—Bit 7856.5.7.5 HOME0 (HOME)—Bit 6856.5.7.6 Clockout Disable (CLKDIS)—Bit 5856.5.7.7 CLockout Select (CLKOSEL)—Bits 4–0856.5.8 SIM GPIO Peripheral Select Register (SIM_GPS)856.5.8.1 Reserved—Bits 15–8866.5.8.2 GPIO C6 (C6)—Bit 7866.5.8.3 GPIOC5 (C5)—Bit 6866.5.8.4 GPIOB1 (B1)—Bit 5876.5.8.5 GPIOB0 (B0)—Bit 4876.5.8.6 GPIOA5 (A5)—Bit 3876.5.8.7 GPIOA4 (A4)—Bit 2876.5.8.8 GPIOA3 (A3)—Bit 1876.5.8.9 GPIOA2 (A2)—Bit 0876.5.9 Peripheral Clock Enable Register (SIM_PCE)876.5.9.1 Reserved—Bits 15–14886.5.9.2 Analog-to-Digital Converter A Enable (ADCA)—Bit 13886.5.9.3 FlexCAN Enable (CAN)—Bit 12886.5.9.4 Reserved—Bit 11886.5.9.5 Decoder 0 Enable (DEC0)—Bit 10886.5.9.6 Reserved—Bit 9886.5.9.7 Quad Timer C Enable (TMRC)—Bit 8886.5.9.8 Reserved—Bit 7886.5.9.9 Quad Timer A Enable (TMRA)—Bit 6886.5.9.10 Serial Communications Interface 1 Enable (SCI1)—Bit 5896.5.9.11 Serial Communications Interface 0 Enable (SCI0)—Bit 4896.5.9.12 Serial Peripheral Interface 1 Enable (SPI1)—Bit 3896.5.9.13 Serial Peripheral Interface 0 Enable (SPI0)—Bit 2896.5.9.14 Reserved—Bit 1896.5.9.15 Pulse Width Modulator A Enable (PWMA)—Bit 0896.5.10 I/O Short Address Location Register (SIM_ISALH and SIM_ISALL)896.5.10.1 Input/Output Short Address Low (ISAL[23:22])—Bit 1–0906.5.10.2 Input/Output Short Address Low (ISAL[21:6])—Bit 15–0916.6 Clock Generation Overview916.7 Power-Down Modes916.8 Stop and Wait Mode Disable Function926.9 Resets92Part 7 Security Features937.1 Operation with Security Enabled937.2 Flash Access Blocking Mechanisms937.2.1 Forced Operating Mode Selection937.2.2 Disabling EOnCE Access937.2.3 Flash Lockout Recovery947.2.4 Product Analysis95Part 8 General Purpose Input/Output (GPIO)968.1 Introduction968.2 Configuration968.3 Memory Maps98Part 9 Joint Test Action Group (JTAG)989.1 JTAG Information98Part 10 Specifications9910.1 General Characteristics9910.2 DC Electrical Characteristics10310.2.1 Voltage Regulator Specifications10510.2.2 Temperature Sense10710.3 AC Electrical Characteristics10710.4 Flash Memory Characteristics10810.5 External Clock Operation Timing10910.6 Phase Locked Loop Timing11010.7 Oscillator Parameters11010.8 Reset, Stop, Wait, Mode Select, and Interrupt Timing11310.9 Serial Peripheral Interface (SPI) Timing11510.10 Quad Timer Timing11810.11 Quadrature Decoder Timing11810.12 Serial Communication Interface (SCI) Timing11910.13 Controller Area Network (CAN) Timing12010.14 JTAG Timing12010.15 Analog-to-Digital Converter (ADC) Parameters12210.16 Equivalent Circuit for ADC Inputs12510.17 Power Consumption125Part 11 Packaging12711.1 56F8322 Package and Pin-Out Information12711.2 56F8122 Package and Pin-Out Information129Part 12 Design Considerations13212.1 Thermal Design Considerations13212.2 Electrical Design Considerations13312.3 Power Distribution and I/O Ring Implementation134Part 13 Ordering Information135文件大小: 873.7 KB页数: 137Language: English打开用户手册