NXP MPC560xE Reference guide

Type
Reference guide
MPC5606E Microcontroller Reference Manual Rev. 2
Freescale Semiconductor
MPC5606E Microcontroller
Reference Manual
Devices Supported:
MPC5606E
Document Number: MPC5606ERM
Rev. 2, 08/2014
THIS PAGE INTENTIONALLY BLANK
MPC5606E Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 3
Chapter 1
Overview
1.1 Chipset overview .............................................................................................................................45
1.2 Target applications ..........................................................................................................................46
1.3 Features ...........................................................................................................................................46
1.4 Block diagram .................................................................................................................................47
1.5 Application examples ......................................................................................................................49
1.5.1 CMOS vision sensor gateway ...........................................................................................49
1.6 Audio source gateway .....................................................................................................................52
1.7 Critical performance parameters .....................................................................................................54
1.8 Chip-level features ..........................................................................................................................54
1.8.1 High performance e200z0 core CPU ................................................................................55
1.8.2 Crossbar switch (XBAR) ..................................................................................................56
1.8.3 System clocks and clock generation .................................................................................57
1.8.4 Frequency Modulated Phase Lock Loop (FMPLL) ..........................................................57
1.8.5 Main oscillator ..................................................................................................................57
1.8.6 Internal RC oscillator ........................................................................................................58
1.8.7 Voltage regulator (VREG) ................................................................................................58
1.8.8 System Integration Unit (SIU-Lite) ..................................................................................58
1.8.9 Boot Assist Module (BAM) ..............................................................................................59
1.8.10 Junction temperature sensor ..............................................................................................59
1.8.11 JTAG controller (JTAGC) .................................................................................................59
1.8.12 DMA controller .................................................................................................................60
1.8.13 DMA channel multiplexer (DMA_MUX) ........................................................................60
1.8.14 Software Watchdog Timer (SWT) ....................................................................................60
1.8.15 System Timer Module (STM) ...........................................................................................61
1.8.16 Periodic Interrupt Timers (PIT) ........................................................................................61
1.8.17 FlexCAN module ..............................................................................................................61
1.8.18 Deserial Serial Peripheral Interface (DSPI) ......................................................................62
1.8.19 Serial communication interface module (LINFlex) ..........................................................63
1.8.20 eTimer ...............................................................................................................................64
1.8.21 Successive approximation Analog-to-Digital Converter (ADC) ......................................64
1.8.22 Fault Collection Unit (FCU) .............................................................................................65
1.8.23 Cyclic Redundancy Check (CRC) ....................................................................................65
1.8.24 Video encoder ...................................................................................................................66
1.8.25 Serial Audio Interface (SAI) .............................................................................................66
1.8.26 Ethernet AVB (FEC + PTP + RTC) ..................................................................................66
1.8.26.1 Precision Time Protocol ..................................................................................67
1.8.26.2 RTC .................................................................................................................67
MPC5606E Microcontroller Reference Manual, Rev. 2
4 Freescale Semiconductor
Chapter 2
Memory Map
Chapter 3
Signal Description
3.1 Introduction .....................................................................................................................................73
3.2 Signal Properties Summary .............................................................................................................73
3.3 Supply pins ......................................................................................................................................80
3.4 System pins .....................................................................................................................................83
3.5 Pinouts .............................................................................................................................................83
Chapter 4
Clock Architecture
4.1 Clock related modules .....................................................................................................................85
4.2 High-level block diagrams ..............................................................................................................85
4.3 Memory Map ...................................................................................................................................91
4.4 Internal RC oscillator (IRC) digital interface ..................................................................................93
4.4.1 Introduction .......................................................................................................................93
4.4.2 Functional description .......................................................................................................93
4.4.3 Register description ..........................................................................................................93
4.5 External crystal oscillator (XOSC) digital interface .......................................................................94
4.5.1 Main features ....................................................................................................................94
4.5.2 Functional description .......................................................................................................94
4.5.3 Register description ..........................................................................................................95
4.6 Frequency-modulated phase-locked loop (FMPLL) .......................................................................96
4.6.1 Introduction .......................................................................................................................96
4.6.2 Overview ...........................................................................................................................96
4.6.3 Features .............................................................................................................................97
4.6.4 Memory map .....................................................................................................................97
4.6.5 Register description ..........................................................................................................98
4.6.5.1 Control Register (CR) .....................................................................................98
4.6.5.2 Modulation Register (MR) ............................................................................101
4.6.6 Functional description .....................................................................................................102
4.6.6.1 Normal mode ................................................................................................102
4.6.6.2 Progressive clock switching ..........................................................................102
4.6.6.3 Normal mode with frequency modulation ....................................................103
4.6.6.4 Powerdown mode .........................................................................................104
4.6.7 Recommendations ...........................................................................................................104
4.7 Clock Monitor Unit (CMU) ..........................................................................................................105
4.7.1 Overview .........................................................................................................................105
4.7.2 Main features ..................................................................................................................105
4.7.3 Functional description .....................................................................................................105
4.7.4 Crystal clock monitor ......................................................................................................105
4.7.4.1 FMPLL clock monitor ..................................................................................106
4.7.4.2 Frequency meter ...........................................................................................106
MPC5606E Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 5
4.7.5 Memory map and register description ............................................................................107
4.7.5.1 Control status register (CMU_CSR) .............................................................107
4.7.5.2 Frequency display register (CMU_FDR) .....................................................108
4.7.5.3 High-frequency reference register A (CMU_HFREFR_A) ..........................109
4.7.5.4 Low-frequency reference register A (CMU_LFREFR_A) ...........................109
4.7.5.5 Interrupt status register (CMU_ISR) ............................................................110
4.7.5.6 Measurement duration register (CMU_MDR) .............................................111
4.8 Boot and power management concept ..........................................................................................111
4.9 Safety concept ...............................................................................................................................113
Chapter 5
Clock Generation Module (MC_CGM)
5.1 Introduction ...................................................................................................................................115
5.1.1 Overview .........................................................................................................................115
5.1.2 Features ...........................................................................................................................116
5.2 External Signal Description ..........................................................................................................117
5.3 Memory Map and Register Definition ..........................................................................................117
5.3.1 Register Descriptions ......................................................................................................117
5.3.1.1 PLL Clock Divider Register (PLL_CLK_DIV) ...........................................118
5.3.1.2 System Clock Divider Register (SYSTEM_CLK_DIV) ..............................118
5.3.1.3 RTC Clock Divider Register (RTC_CLK_DIV) ...........................................119
5.3.1.4 Output Clock Enable Register (CGM_OC_EN) ...........................................119
5.3.1.5 Output Clock Division Select Register (CGM_OCDS_SC) .........................120
5.3.1.6 System Clock Select Status Register (CGM_SC_SS) ..................................121
5.4 Functional Description ..................................................................................................................121
5.4.1 System Clock Generation ...............................................................................................121
5.4.1.1 System Clock Source Selection ....................................................................122
5.4.1.2 System Clock Disable ...................................................................................122
5.4.2 Output Clock Multiplexing .............................................................................................122
5.4.3 Output Clock Division Selection ....................................................................................123
Chapter 6
Mode Entry Module (MC_ME)
6.1 Introduction ...................................................................................................................................125
6.1.1 Overview .........................................................................................................................125
6.1.2 Features ...........................................................................................................................127
6.1.3 Modes of Operation ........................................................................................................127
6.2 External Signal Description ..........................................................................................................128
6.3 Memory Map and Register Definition ..........................................................................................128
6.3.1 Memory Map ..................................................................................................................129
6.3.2 Register Description .......................................................................................................137
6.3.2.1 Global Status Register (ME_GS) ..................................................................137
6.3.2.2 Mode Control Register (ME_MCTL) ...........................................................139
6.3.2.3 Mode Enable Register (ME_ME) .................................................................140
6.3.2.4 Interrupt Status Register (ME_IS) ................................................................142
MPC5606E Microcontroller Reference Manual, Rev. 2
6 Freescale Semiconductor
6.3.2.5 Interrupt Mask Register (ME_IM) ................................................................143
6.3.2.6 Invalid Mode Transition Status Register (ME_IMTS) .................................144
6.3.2.7 Debug Mode Transition Status Register (ME_DMTS) ................................145
6.3.2.8 RESET Mode Configuration Register (ME_RESET_MC) ..........................148
6.3.2.9 TEST Mode Configuration Register (ME_TEST_MC) ...............................148
6.3.2.10 SAFE Mode Configuration Register (ME_SAFE_MC) ...............................149
6.3.2.11 DRUN Mode Configuration Register (ME_DRUN_MC) ............................149
6.3.2.12 RUN0..3 Mode Configuration Register (ME_RUN0..3_MC) ......................150
6.3.2.13 HALT0 Mode Configuration Register (ME_HALT0_MC) ..........................150
6.3.2.14 STOP0 Mode Configuration Register (ME_STOP0_MC) ...........................151
6.3.2.15 Peripheral Status Register 0 (ME_PS0) ........................................................153
6.3.2.16 Peripheral Status Register 1 (ME_PS1) ........................................................153
6.3.2.17 Peripheral Status Register 2 (ME_PS2) ........................................................154
6.3.2.18 Peripheral Status Register 3 (ME_PS3) ........................................................154
6.3.2.19 Run Peripheral Configuration Registers (ME_RUN_PC0…7) ....................155
6.3.2.20 Low-Power Peripheral Configuration Registers (ME_LP_PC0…7) ............156
6.3.2.21 Peripheral Control Registers (ME_PCTLn) .................................................156
6.4 Functional Description ..................................................................................................................157
6.4.1 Mode Transition Request ................................................................................................157
6.4.2 Modes Details .................................................................................................................159
6.4.2.1 RESET MODE .............................................................................................159
6.4.2.2 DRUN Mode .................................................................................................159
6.4.2.3 SAFE Mode ..................................................................................................160
6.4.2.4 Test Mode ......................................................................................................161
6.4.2.5 RUN0..3 Modes ............................................................................................161
6.4.2.6 HALT0 Mode ................................................................................................162
6.4.2.7 STOP0 Mode ................................................................................................162
6.4.3 Mode Transition Process .................................................................................................163
6.4.3.1 Target Mode Request ....................................................................................163
6.4.3.2 Target Mode Configuration Loading ............................................................164
6.4.3.3 Peripheral Clocks Disable .............................................................................164
6.4.3.4 Processor Low-Power Mode Entry ...............................................................165
6.4.3.5 Processor and System Memory Clock Disable .............................................165
6.4.3.6 Clock Sources Switch-On .............................................................................165
6.4.3.7 Flash Modules Switch-On ............................................................................166
6.4.3.8 Pad Outputs-On .............................................................................................166
6.4.3.9 Peripheral Clocks Enable ..............................................................................166
6.4.3.10 Processor and Memory Clock Enable ...........................................................166
6.4.3.11 Processor Low-Power Mode Exit .................................................................166
6.4.3.12 System Clock Switching ...............................................................................167
6.4.3.13 Pad Switch-Off ..............................................................................................168
6.4.3.14 Clock Sources (with no Dependencies) Switch-Off .....................................168
6.4.3.15 Clock Sources (with Dependencies) Switch-Off ..........................................168
6.4.3.16 Flash Switch-Off ...........................................................................................168
6.4.3.17 Current Mode Update ...................................................................................168
MPC5606E Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 7
6.4.4 Protection of Mode Configuration Registers ..................................................................171
6.4.5 Mode Transition Interrupts .............................................................................................171
6.4.5.1 Invalid Mode Configuration Interrupt ..........................................................171
6.4.5.2 Invalid Mode Transition Interrupt .................................................................172
6.4.5.3 SAFE Mode Transition Interrupt ..................................................................173
6.4.5.4 Mode Transition Complete interrupt ............................................................173
6.4.6 Peripheral Clock Gating ..................................................................................................173
6.4.7 Application Example ......................................................................................................174
Chapter 7
Reset Generation Module (MC_RGM)
7.1 Introduction ...................................................................................................................................177
7.1.1 Overview .........................................................................................................................177
7.1.2 Features ...........................................................................................................................178
7.1.3 Reset Sources ..................................................................................................................179
7.2 External Signal Description ..........................................................................................................180
7.3 Memory Map and Register Definition ..........................................................................................180
7.3.1 Register Descriptions ......................................................................................................182
7.3.1.1 Functional Event Status Register (RGM_FES) ............................................183
7.3.1.2 Destructive Event Status Register (RGM_DES) ..........................................184
7.3.1.3 Functional Event Reset Disable Register (RGM_FERD) .............................185
7.3.1.4 Functional Event Alternate Request Register (RGM_FEAR) ......................187
7.3.1.5 Functional Event Short Sequence Register (RGM_FESS) ...........................188
7.3.1.6 Functional Bidirectional Reset Enable Register (RGM_FBRE) ..................189
7.4 Functional Description .................................................................................................................190
7.4.1 Reset State Machine ........................................................................................................190
7.4.1.1 PHASE0 Phase .............................................................................................192
7.4.1.2 PHASE1 Phase .............................................................................................193
7.4.1.3 PHASE2 Phase .............................................................................................193
7.4.1.4 PHASE3 Phase .............................................................................................193
7.4.1.5 IDLE Phase ...................................................................................................193
7.4.2 Destructive Resets ..........................................................................................................193
7.4.3 External Reset .................................................................................................................194
7.4.4 Functional Resets ............................................................................................................194
7.4.5 Alternate Event Generation .........................................................................................195
7.4.6 Boot Mode Capturing .....................................................................................................195
Chapter 8
Power Control Unit (MC_PCU)
8.1 Introduction ...................................................................................................................................197
8.1.1 Overview .........................................................................................................................197
8.1.2 Features ...........................................................................................................................198
8.2 External Signal Description ..........................................................................................................198
8.3 Memory Map and Register Definition .......................................................................................198
8.3.1 Memory Map ..................................................................................................................198
MPC5606E Microcontroller Reference Manual, Rev. 2
8 Freescale Semiconductor
8.3.2 Register Descriptions ......................................................................................................199
8.3.2.1 Power Domain Status Register (PCU_PSTAT) ...........................................199
Chapter 9
Power Management
9.1 Power management overview .......................................................................................................201
9.1.1 Internal voltage regulation mode ....................................................................................201
9.1.2 External voltage regulation mode ...................................................................................202
9.1.3 Voltage Regulator Electrical Characteristics ..................................................................202
9.2 Power sequencing ..........................................................................................................................203
9.3 Power Management Unit (PMU) ..................................................................................................204
Chapter 10
Interrupt Controller (INTC)
10.1 Introduction ...................................................................................................................................205
10.2 Features .........................................................................................................................................205
10.3 Block diagram ...............................................................................................................................206
10.4 Modes of operation ........................................................................................................................207
10.4.1 Normal mode ..................................................................................................................207
10.4.1.1 Software vector mode ...................................................................................207
10.4.1.2 Hardware vector mode ..................................................................................208
10.4.1.3 Debug mode ..................................................................................................208
10.4.1.4 Stop mode .....................................................................................................208
10.5 Memory map and registers description .........................................................................................209
10.5.1 Module memory map ......................................................................................................209
10.5.2 Registers description .......................................................................................................209
10.5.2.1 INTC Module Configuration Register (INTC_MCR) ..................................210
10.5.2.2 INTC Current Priority Register for Processor (INTC_CPR) ........................210
10.5.2.3 INTC Interrupt Acknowledge Register (INTC_IACKR) .............................212
10.5.2.4 INTC End-of-Interrupt Register (INTC_EOIR) ...........................................212
10.5.2.5 INTC Software Set/Clear Interrupt Registers
(INTC_SSCIR0_3–INTC_SSCIR4_7) 213
10.5.2.6 INTC Priority Select Registers (INTC_PSR0_3–INTC_PSR220_221) .......214
10.6 Functional description ...................................................................................................................216
10.6.1 Interrupt request sources .................................................................................................225
10.6.1.1 Peripheral interrupt requests .........................................................................225
10.6.1.2 Software configurable interrupt requests ......................................................225
10.6.1.3 Unique vector for each interrupt request source ...........................................225
10.6.2 Priority management .......................................................................................................225
10.6.2.1 Current priority and preemption ...................................................................225
10.6.2.1.1Priority arbitrator subblock 226
10.6.2.1.2Request selector subblock 226
10.6.2.1.3Vector encoder subblock 226
10.6.2.1.4Priority comparator subblock 226
10.6.2.2 Last-in first-out (LIFO) .................................................................................226
MPC5606E Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 9
10.6.3 Handshaking with processor ...........................................................................................227
10.6.3.1 Software vector mode handshaking ..............................................................227
10.6.3.1.1Acknowledging interrupt request to processor 227
10.6.3.1.2End of interrupt exception handler 227
10.6.3.2 Hardware vector mode handshaking .............................................................228
10.7 Initialization/application information ............................................................................................229
10.7.1 Initialization flow ............................................................................................................229
10.7.2 Interrupt exception handler .............................................................................................229
10.7.2.1 Software vector mode ...................................................................................230
10.7.2.2 Hardware vector mode ..................................................................................230
10.7.3 ISR, RTOS, and task hierarchy .......................................................................................231
10.7.4 Order of execution ..........................................................................................................232
10.7.5 Priority ceiling protocol ..................................................................................................233
10.7.5.1 Elevating priority ..........................................................................................233
10.7.5.2 Ensuring coherency .......................................................................................233
10.7.6 Selecting priorities according to request rates and deadlines .........................................233
10.7.7 Software configurable interrupt requests ........................................................................234
10.7.7.1 Scheduling a lower priority portion of an ISR ..............................................234
10.7.7.2 Scheduling an ISR on another processor ......................................................235
10.7.8 Lowering priority within an ISR .....................................................................................235
10.7.9 Negating an interrupt request outside of its ISR .............................................................235
10.7.9.1 Negating an interrupt request as a side effect of an ISR ...............................235
10.7.9.2 Negating multiple interrupt requests in one ISR ..........................................235
10.7.9.3 Proper setting of interrupt request priority ...................................................236
10.7.10Examining LIFO contents ...............................................................................................236
Chapter 11
Wakeup Unit (WKPU)
11.1 Introduction ...................................................................................................................................237
11.1.1 Overview .........................................................................................................................237
11.1.2 Features ...........................................................................................................................237
11.2 External signal description ............................................................................................................238
11.3 Memory map and register description ...........................................................................................238
11.3.1 Memory map ...................................................................................................................238
11.3.2 Register descriptions .......................................................................................................238
11.3.2.1 NMI Status Flag Register (NSR) ..................................................................238
11.3.2.2 NMI Configuration Register (NCR) .............................................................239
11.4 Functional description ...................................................................................................................241
11.4.1 General ............................................................................................................................241
11.4.2 Non-Maskable Interrupts ................................................................................................241
11.4.2.1 NMI management .........................................................................................242
Chapter 12
System Status and Configuration Module (SSCM)
12.1 Introduction ...................................................................................................................................245
MPC5606E Microcontroller Reference Manual, Rev. 2
10 Freescale Semiconductor
12.1.1 Overview .........................................................................................................................245
12.1.2 Features ...........................................................................................................................245
12.1.3 Modes of Operation ........................................................................................................246
12.2 External Signal Description ..........................................................................................................246
12.3 Memory Map/Register Definition .................................................................................................246
12.3.1 Register Descriptions ......................................................................................................246
12.3.1.1 System Status Register ..................................................................................246
12.3.1.2 System Memory and ID Register ..................................................................248
12.3.1.3 Error Configuration .......................................................................................248
12.3.1.4 Debug Status Port Register ...........................................................................249
12.3.1.5 Primary Boot Address ...................................................................................252
12.4 Functional Description ..................................................................................................................252
12.5 Initialization/Application Information ..........................................................................................252
12.5.1 Reset ................................................................................................................................252
Chapter 13
System Integration Unit Lite (SIUL)
13.1 Introduction ...................................................................................................................................253
13.2 Overview .......................................................................................................................................253
13.3 Features .........................................................................................................................................254
13.4 External signal description ............................................................................................................255
13.4.1 Detailed signal descriptions ............................................................................................255
13.4.1.1 General-purpose I/O pins (GPIO[0:70]) .......................................................255
13.4.1.2 External interrupt request input pins (EIRQ[0:21]) ......................................255
13.5 Memory map and register description ...........................................................................................255
13.5.1 SIUL memory map .........................................................................................................256
13.5.2 Register protection ..........................................................................................................257
13.5.3 Register description ........................................................................................................257
13.5.3.1 MCU ID Register #1 (MIDR1) .....................................................................257
13.5.3.2 MCU ID Register #2 (MIDR2) .....................................................................259
13.5.3.3 Interrupt Status Flag Register (ISR) .............................................................260
13.5.3.4 Interrupt Request Enable Register (IRER) ...................................................260
13.5.3.5 Interrupt Rising-Edge Event Enable Register (IREER) ...............................261
13.5.3.6 Interrupt Falling-Edge Event Enable Register (IFEER) ...............................261
13.5.3.7 Interrupt Filter Enable Register (IFER) ........................................................262
13.5.3.8 Pad Configuration Registers (PCR[0:70]) ....................................................262
13.5.3.9 Pad Selection for Multiplexed Inputs Registers (PSMI0–PSMI25) .............264
13.5.3.10GPIO Pad Data Output Registers (GPDO0_3–GPDO68_71) ......................267
13.5.3.11 GPIO Pad Data Input Registers (GPDI0_3–GPDI68_71) ............................268
13.5.3.12Parallel GPIO Pad Data Out Registers (PGPDO0 – PGPDO2) ....................269
13.5.3.13Parallel GPIO Pad Data In Register (PGPDI0 – PGPDI2) ...........................269
13.5.3.14Masked Parallel GPIO Pad Data Out Register (MPGPDO0–MPGPDO4) ..270
13.5.3.15Interrupt Filter Maximum Counter Registers (IFMC0–IFMC31) ................271
13.5.3.16Interrupt Filter Clock Prescaler Register (IFCPR) .......................................272
13.6 Functional description ...................................................................................................................273
MPC5606E Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 11
13.6.1 Pad control ......................................................................................................................273
13.6.2 General purpose input and output pads (GPIO) ..............................................................273
13.6.3 External interrupts ...........................................................................................................274
13.7 Pin muxing ....................................................................................................................................275
Chapter 14
e200z0h Core
14.1 Overview .......................................................................................................................................277
14.2 Features .........................................................................................................................................277
14.2.1 Microarchitecture summary ............................................................................................278
14.2.1.1 Block diagram ...............................................................................................279
14.2.1.2 Instruction unit features ................................................................................279
14.2.1.3 Integer unit features ......................................................................................280
14.2.1.4 Load/Store unit features ................................................................................280
14.2.1.5 e200z0h system bus features .........................................................................280
14.3 Core registers and programmer’s model .......................................................................................280
14.3.1 Unimplemented SPRs and read-only SPRs ....................................................................283
14.4 Instruction summary ......................................................................................................................283
Chapter 15
Crossbar Switch (XBAR)
15.1 Introduction ...................................................................................................................................285
15.2 Block diagram ...............................................................................................................................285
15.3 Overview .......................................................................................................................................286
15.4 Features .........................................................................................................................................286
15.5 Modes of operation ........................................................................................................................286
15.5.1 Normal mode ..................................................................................................................286
15.5.2 Debug mode ....................................................................................................................287
15.6 Functional description ...................................................................................................................287
15.6.1 Overview .........................................................................................................................287
15.6.2 General operation ............................................................................................................287
15.6.3 Master ports ....................................................................................................................288
15.6.4 Slave ports .......................................................................................................................288
15.6.5 Priority assignment .........................................................................................................288
15.6.6 Arbitration .......................................................................................................................289
15.6.6.1 Fixed priority operation ................................................................................289
15.6.6.1.1Parking 289
Chapter 16
Miscellaneous Control Module (MCM)
16.1 Introduction ...................................................................................................................................291
16.2 Overview .......................................................................................................................................291
16.3 Features .........................................................................................................................................291
16.4 Memory Map and Registers Description ......................................................................................291
16.4.1 Memory Map ..................................................................................................................292
MPC5606E Microcontroller Reference Manual, Rev. 2
12 Freescale Semiconductor
16.4.2 Registers Description ......................................................................................................293
16.4.2.1 Processor Core Type (PCT) register .............................................................293
16.4.2.2 Revision (REV) register ................................................................................293
16.4.2.3 IPS Module Configuration (IMC) register ....................................................294
16.4.2.4 Miscellaneous Interrupt Register (MIR) .......................................................295
16.4.2.5 Miscellaneous User-Defined Control Register (MUDCR) ...........................295
16.4.2.6 ECC registers ................................................................................................296
16.4.2.7 ECC Configuration Register (ECR) .............................................................297
16.4.2.8 ECC Status Register (ESR) ...........................................................................298
16.4.2.9 ECC Error Generation Register (EEGR) ......................................................300
16.4.2.10Flash ECC Address Register (FEAR) ...........................................................302
16.4.2.11 Flash ECC Master Number Register (FEMR) ..............................................303
16.4.2.12Flash ECC Attributes (FEAT) register ..........................................................304
16.4.2.13Flash ECC Data Register (FEDR) ................................................................304
16.4.2.14RAM ECC Address Register (REAR) ..........................................................305
16.4.2.15RAM ECC Syndrome Register (RESR) .......................................................306
16.4.2.16RAM ECC Master Number Register (REMR) .............................................308
16.4.2.17RAM ECC Attributes (REAT) register .........................................................309
16.4.2.18RAM ECC Data Register (REDR) ...............................................................309
16.4.3 MCM_reg_protection .....................................................................................................310
Chapter 17
Internal Static RAM (SRAM)
17.1 Introduction ...................................................................................................................................313
17.2 SRAM operating mode ..................................................................................................................313
17.3 Register memory map ...................................................................................................................313
17.4 SRAM ECC mechanism ................................................................................................................313
17.4.1 Access timing ..................................................................................................................314
17.4.2 Reset effects on SRAM accesses ....................................................................................315
17.5 Functional description ...................................................................................................................315
17.6 Initialization and application information .....................................................................................315
Chapter 18
Flash Memory
18.1 Introduction ...................................................................................................................................317
18.2 Platform flash controller ................................................................................................................318
18.2.1 Introduction .....................................................................................................................318
18.2.1.1 Overview .......................................................................................................318
18.2.1.2 Features .........................................................................................................319
18.2.2 Modes of operation .........................................................................................................319
18.2.3 External signal descriptions ............................................................................................319
18.2.4 Memory map and registers description ...........................................................................319
18.2.4.1 Memory map .................................................................................................320
18.2.4.2 Registers description .....................................................................................321
18.2.4.2.1Platform Flash Configuration Register 0 (PFCR0) 322
MPC5606E Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 13
18.2.4.2.2Platform Flash Configuration Register 1 (PFCR1) 325
18.2.4.2.3Platform Flash Access Protection Register (PFAPR) 326
18.2.5 Functional description .....................................................................................................328
18.2.6 Basic interface protocol ..................................................................................................328
18.2.7 Access protections ..........................................................................................................329
18.2.8 Read cycles — buffer miss .............................................................................................329
18.2.9 Read cycles — buffer hit ................................................................................................329
18.2.10Write cycles .....................................................................................................................329
18.2.11Error termination .............................................................................................................330
18.2.12Access pipelining ............................................................................................................330
18.2.13Flash error response operation ........................................................................................330
18.2.14Bank0 page read buffers and prefetch operation ............................................................331
18.2.14.1Instruction/data prefetch triggering ..............................................................332
18.2.14.2Per-master prefetch triggering ......................................................................332
18.2.14.3Buffer allocation ...........................................................................................332
18.2.14.4Buffer invalidation ........................................................................................333
18.2.15Bank1 temporary holding register ..................................................................................333
18.2.16Read-While-Write functionality .....................................................................................334
18.2.17Wait state emulation ........................................................................................................335
18.2.18Timing diagrams .............................................................................................................336
18.3 Code Flash Memory (C90LC) .......................................................................................................343
18.3.1 Overview .........................................................................................................................343
18.3.2 Features ...........................................................................................................................343
18.3.3 Block Diagram ................................................................................................................343
18.3.4 Functional Description ....................................................................................................344
18.3.4.1 Macrocell Structure .......................................................................................344
18.3.5 Code flash sectorization ..................................................................................................345
18.3.5.1 Test Flash Block ............................................................................................346
18.3.5.2 Shadow block ................................................................................................347
18.3.5.3 User Mode Operation ....................................................................................348
18.3.5.4 Reset ..............................................................................................................348
18.3.5.5 Disable Mode (Power-Down) .......................................................................349
18.3.5.6 Sleep Mode (Low Power Mode) ...................................................................349
18.3.6 Registers Description ......................................................................................................350
18.3.6.1 Module Configuration Register (MCR) ........................................................351
18.3.6.2 Low/Mid Address Space Block Locking register (LML) .............................356
18.3.6.3 Non-Volatile Low/Mid Address Space Block Locking register (NVLML) .356
18.3.6.4 High address space Block Locking register (HBL) ......................................358
18.3.6.5 Non Volatile High address space Block Locking register (NVHBL) ...........359
18.3.6.6 Secondary Low/Mid Address Space Block Locking register (SLL) ............359
18.3.6.7 Non-Volatile Secondary Low/Mid Address Space Block Locking register
(NVSLL) 360
18.3.6.8 Low/Mid Address Space Block Select register (LMS) ................................362
18.3.6.9 High address space Block Select register (HBS) ..........................................363
18.3.6.10Address Register (ADR) ...............................................................................364
MPC5606E Microcontroller Reference Manual, Rev. 2
14 Freescale Semiconductor
18.3.6.11 Bus Interface Unit 0 register (BIU0) ............................................................365
18.3.6.12Bus Interface Unit 1 register (BIU1) ............................................................365
18.3.6.13Bus Interface Unit 2 register (BIU2) ............................................................366
18.3.6.13.1Non-volatile Bus Interface Unit 2 register (NVBIU2) 366
18.3.6.14Non Volatile Bus Interface Unit 3 register (NVBIU3) .................................367
18.3.6.15User Test 0 register (UT0) ............................................................................367
18.3.6.16User Test 1 register (UT1) ............................................................................369
18.3.6.17User Test 2 register (UT2) ............................................................................370
18.3.6.18User Multiple Input Signature Register 0 (UMISR0) ...................................371
18.3.6.19User Multiple Input Signature Register 1 (UMISR1) ...................................371
18.3.6.20User Multiple Input Signature Register 2 (UMISR2) ...................................372
18.3.6.21User Multiple Input Signature Register 3 (UMISR3) ...................................373
18.3.6.22User Multiple Input Signature Register 4 (UMISR4) ...................................373
18.3.6.23Non-Volatile Private Censorship Password 0 register (NVPWD0) ..............374
18.3.6.24Non-Volatile Private Censorship Password 1 register (NVPWD1) ..............375
18.3.6.25Non-Volatile System Censoring Information 0 register (NVSCI0) ..............375
18.3.6.26Non-Volatile System Censoring Information 1 register (NVSCI1) ..............376
18.3.6.27Non-Volatile User Options register (NVUSRO) ...........................................377
18.3.7 Programming Considerations .........................................................................................378
18.3.7.1 Modify Operations ........................................................................................378
18.3.7.1.1Double Word Program 379
18.3.7.1.2Block Erase 381
18.3.7.1.3Erase Suspend/Resume 382
18.3.7.1.4User Test Mode 382
18.3.7.2 Error correction code ....................................................................................386
18.3.7.2.1ECC algorithms 387
18.3.7.3 EEprom emulation ........................................................................................387
18.3.7.4 Eprom Emulation ..........................................................................................387
18.3.7.4.1All ‘1’s No Error 387
18.3.7.5 Protection strategy ........................................................................................388
18.3.7.5.1Modify protection 388
18.3.7.5.2Censored Mode 388
18.4 Data Flash Memory .......................................................................................................................389
18.4.1 Block Overview ..............................................................................................................389
18.4.2 Features ...........................................................................................................................390
18.4.3 Block Diagram ................................................................................................................390
18.4.4 Functional Description ....................................................................................................391
18.4.4.1 Macrocell Structure .......................................................................................391
18.4.4.2 Data flash sectorization .................................................................................391
18.4.4.3 Test Flash Block ............................................................................................392
18.4.4.4 Reset ..............................................................................................................393
18.4.4.5 Power-down mode ........................................................................................393
18.4.4.6 Slave Mode ...................................................................................................394
18.4.5 Register description ........................................................................................................394
18.4.5.1 Module Configuration Register (MCR) ........................................................395
MPC5606E Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 15
18.4.5.2 Low/Mid Address Space Block Locking register (LML) .............................399
18.4.5.3 Non-Volatile Low/Mid Address Space Block Locking register (NVLML) .400
18.4.5.4 Secondary Low/Mid Address Space Block Locking register (SLL) ............401
18.4.5.5 Non-Volatile Secondary Low/Mid Address Space Block Locking register
(NVSLL) 402
18.4.5.6 Low/Mid Address Space Block Select register (LMS) ................................403
18.4.5.7 Address Register (ADR) ...............................................................................404
18.4.5.8 User Test 0 register (UT0) ............................................................................405
18.4.5.9 User Test 1 register (UT1) ............................................................................407
18.4.5.10User Multiple Input Signature Register 0 (UMISR0) ...................................408
18.4.5.11 User Multiple Input Signature Register 1 (UMISR1) ...................................408
18.4.6 Programming considerations ..........................................................................................409
18.4.6.1 Modify operation ..........................................................................................409
18.4.6.2 Word program ...............................................................................................410
18.4.6.3 Sector erase ...................................................................................................411
18.4.6.3.1Erase suspend/resume 412
18.4.6.4 User Test Mode .............................................................................................413
18.4.6.4.1Array integrity self check 413
18.4.6.4.2Margin read 414
18.4.6.4.3ECC logic check 415
18.4.7 Error correction code ......................................................................................................416
18.4.7.1 ECC algorithms .............................................................................................416
18.4.7.2 ECC Algorithms Features .............................................................................416
18.4.8 Protection strategy ..........................................................................................................417
18.4.8.1 Modify protection .........................................................................................417
Chapter 19
Enhanced Direct Memory Access (eDMA)
19.1 Introduction ...................................................................................................................................419
19.2 Overview .......................................................................................................................................419
19.3 Features .........................................................................................................................................420
19.4 Modes of operation ........................................................................................................................421
19.4.1 Normal mode ..................................................................................................................421
19.4.2 Debug mode ....................................................................................................................421
19.5 Memory map and register definition .............................................................................................421
19.5.1 Memory map ...................................................................................................................421
19.5.2 Register descriptions .......................................................................................................423
19.5.2.1 eDMA Control Register (EDMA_CR) .........................................................423
19.5.2.2 eDMA Error Status Register (EDMA_ESR) ................................................424
19.5.2.3 eDMA Enable Request Register (EDMA_ERQRL) ....................................427
19.5.2.4 eDMA Enable Error Interrupt Register (EDMA_EEIRL) ............................428
19.5.2.5 eDMA Set Enable Request Register (EDMA_SERQR) ...............................429
19.5.2.6 eDMA Clear Enable Request Register (EDMA_CERQR) ...........................429
19.5.2.7 eDMA Set Enable Error Interrupt Register (EDMA_SEEIR) ......................430
19.5.2.8 eDMA Clear Enable Error Interrupt Register (EDMA_CEEIR) ..................430
MPC5606E Microcontroller Reference Manual, Rev. 2
16 Freescale Semiconductor
19.5.2.9 eDMA Clear Interrupt Request Register (EDMA_CIRQR) .........................431
19.5.2.10eDMA Clear Error Register (EDMA_CERR) ..............................................432
19.5.2.11 eDMA Set START Bit Register (EDMA_SSBR) .........................................432
19.5.2.12eDMA Clear DONE Status Bit Register (EDMA_CDSBR) ........................433
19.5.2.13eDMA Interrupt Request Register (EDMA_IRQRL) ...................................433
19.5.2.14eDMA Error Register (EDMA_ERL) ...........................................................434
19.5.2.15DMA Hardware Request Status (DMAHRSL) .............................................435
19.5.2.16eDMA Channel n Priority Registers (EDMA_CPRn) ..................................436
19.5.2.17Transfer Control Descriptor (TCD) ..............................................................437
19.6 Functional description ...................................................................................................................443
19.6.1 eDMA microarchitecture ................................................................................................443
19.6.2 eDMA basic data flow ....................................................................................................445
19.6.3 eDMA performance ........................................................................................................447
19.7 Initialization / application information ..........................................................................................450
19.7.1 eDMA initialization ........................................................................................................450
19.7.2 DMA programming errors ..............................................................................................452
19.7.3 DMA request assignments ..............................................................................................453
19.7.4 DMA arbitration mode considerations ...........................................................................453
19.7.4.1 Fixed-channel arbitration ..............................................................................453
19.7.4.2 Fixed-group arbitration, round-robin channel arbitration .............................454
19.7.5 DMA transfer ..................................................................................................................454
19.7.5.1 Single request ................................................................................................454
19.7.5.2 Multiple requests ...........................................................................................455
19.7.5.3 Modulo feature ..............................................................................................456
19.7.6 TCD status ......................................................................................................................457
19.7.6.1 Minor loop complete .....................................................................................457
19.7.6.2 Active channel TCD reads ............................................................................458
19.7.6.3 Preemption status ..........................................................................................458
19.7.7 Channel linking ...............................................................................................................458
19.7.8 Dynamic programming ...................................................................................................459
19.7.8.1 Dynamic channel linking and dynamic scatter/gather ..................................459
Chapter 20
DMACHMUX
20.1 Introduction ...................................................................................................................................461
20.1.1 Overview .........................................................................................................................461
20.1.2 Features ...........................................................................................................................461
20.1.3 Modes of Operation ........................................................................................................462
20.2 External Signal Description ..........................................................................................................462
20.2.1 Overview .........................................................................................................................462
20.3 Memory Map and Register Definition ..........................................................................................462
20.3.1 Register Descriptions ......................................................................................................463
20.3.1.1 Channel Configuration Registers ..................................................................463
20.4 DMA request mapping ..................................................................................................................464
20.5 Functional Description ..................................................................................................................466
MPC5606E Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 17
20.5.1 DMA Channels with periodic triggering capability .......................................................466
20.5.2 DMA Channels with no triggering capability .................................................................468
20.5.3 "Always Enabled" DMA Sources ...................................................................................468
20.6 Initialization/Application Information ..........................................................................................469
20.6.1 Reset ................................................................................................................................469
20.6.2 Enabling and Configuring Sources .................................................................................469
20.6.3 Freezing in STOP and HALT mode ................................................................................472
Chapter 21
Video Encoder Wrapper
21.1 Introduction ...................................................................................................................................473
21.1.1 Features ...........................................................................................................................474
21.2 Block Diagram ..............................................................................................................................475
21.2.1 MJPEG Video Encoder ...................................................................................................475
21.2.2 MJPEG Operation Modes ...............................................................................................476
21.2.2.1 Configuration Mode ......................................................................................477
21.2.2.2 Encoding Mode .............................................................................................479
21.2.2.3 Rate Control operation ..................................................................................480
21.3 Memory Map and Register Definition ..........................................................................................481
21.3.1 Memory Map ..................................................................................................................481
21.3.2 Register Descriptions ......................................................................................................483
21.3.2.1 Status_config .................................................................................................483
21.3.2.2 Picture_size ...................................................................................................485
21.3.2.3 Pixel count ....................................................................................................486
21.3.2.4 Dma_address .................................................................................................486
21.3.2.5 Dma_vstart_address ......................................................................................487
21.3.2.6 Dma_vend_address .......................................................................................487
21.3.2.7 Dma_alarm_address ......................................................................................488
21.3.2.8 Subchannel buffer start .................................................................................488
21.3.2.9 JPEG In Offset Address ................................................................................489
21.3.2.10RC_REGS_SEL ............................................................................................489
21.3.2.11 LUMTH ........................................................................................................490
21.3.2.12MODE ...........................................................................................................491
21.3.2.13CFG_MODE .................................................................................................492
21.3.2.14CHRTH .........................................................................................................493
21.3.2.15Status registers ..............................................................................................494
21.3.2.16JPEG Stat 0 ...................................................................................................494
21.3.2.17JPEG Stat 1 ...................................................................................................494
21.3.2.18JPEG Stat 2 ...................................................................................................495
21.3.2.19JPEG Stat 3 ...................................................................................................495
21.3.2.20JPEG Stat 4 ...................................................................................................496
21.3.2.21JPEG Stat 5 ...................................................................................................496
21.3.2.22JPEG Stat 6 ...................................................................................................497
21.3.2.23JPEG Stat 7 ...................................................................................................497
21.3.2.24JPEG Stat 8 ...................................................................................................498
MPC5606E Microcontroller Reference Manual, Rev. 2
18 Freescale Semiconductor
21.3.2.25JPEG Stat 9 ...................................................................................................498
21.3.2.26JPEG Stat 10 .................................................................................................499
21.3.2.27JPEG Stat 11 .................................................................................................499
21.3.2.28JPEG Stat 12 .................................................................................................500
21.3.2.29JPEG Stat 13 .................................................................................................501
21.3.2.30JPEG Stat 14 .................................................................................................501
21.3.2.31JPEG Stat 15 .................................................................................................502
21.4 Functional Description ..................................................................................................................502
21.4.1 Input interface .................................................................................................................503
21.4.1.1 External Sync Interface Timing Diagram .....................................................503
21.4.1.2 ITU-BT656 sync information extraction ......................................................504
21.4.1.3 Video In Data Format for embedded Sync Mode .........................................506
21.4.1.4 Video In Format for External Sync Mode ....................................................507
21.4.2 Circular buffer .................................................................................................................508
21.4.3 Subchannel Mode ...........................................................................................................509
21.4.4 Programming Sequence ..................................................................................................511
Chapter 22
Integrated Interchip Sound (I
2
S) / Synchronous Audio Interface (SAI)
22.1 Introduction ...................................................................................................................................513
22.1.1 Features ...........................................................................................................................513
22.1.2 Modes of Operation ........................................................................................................513
22.1.2.1 Run Mode .....................................................................................................513
22.1.2.2 Debug Mode .................................................................................................513
22.2 External signals .............................................................................................................................514
22.3 Memory Map and Registers ..........................................................................................................514
22.3.1 SAI Transmit Control Register (I2S_TCSR) ..................................................................516
22.3.2 SAI Transmit Configuration 1 Register (I2S_TCR1) .....................................................518
22.3.3 SAI Transmit Configuration 2 Register (I2S_TCR2) .....................................................518
22.3.4 SAI Transmit Configuration 3 Register (I2S_TCR3) .....................................................519
22.3.5 SAI Transmit Configuration 4 Register (I2S_TCR4) .....................................................519
22.3.6 SAI Transmit Configuration 5 Register (I2S_TCR5) .....................................................520
22.3.7 SAI Transmit Data Register (I2S_TDR) .........................................................................521
22.3.8 SAI Transmit FIFO Register (I2S_TFR) ........................................................................521
22.3.9 SAI Transmit Mask Register (I2S_TMR) .......................................................................522
22.3.10SAI Receive Control Register (I2S_RCSR) ...................................................................523
22.3.11SAI Receive Configuration 1 Register (I2S_RCR1) ......................................................525
22.3.12SAI Receive Configuration 2 Register (I2S_RCR2) ......................................................526
22.3.13SAI Receive Configuration 3 Register (I2S_RCR3) ......................................................527
22.3.14SAI Receive Configuration 4 Register (I2S_RCR4) ......................................................528
22.3.15SAI Receive Configuration 5 Register (I2S_RCR5) ......................................................529
22.3.16SAI Receive Data Register (I2S_RDR) ..........................................................................529
22.3.17SAI Receive FIFO Register (I2S_RFR) .........................................................................529
22.3.18SAI Receive Mask Register (I2S_RMR) ........................................................................530
22.3.19SAI MCLK Control Register (I2S_MCR) ......................................................................531
MPC5606E Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 19
22.3.20MCLK Divide Register (I2S_MDR) ..............................................................................531
22.3.21SAI clocking ...................................................................................................................532
22.3.21.1Audio Master Clock ......................................................................................532
22.3.21.2Bit Clock .......................................................................................................533
22.3.21.3Bus Clock ......................................................................................................533
22.3.22SAI resets ........................................................................................................................533
22.3.22.1Software reset ...............................................................................................533
22.3.22.2FIFO reset .....................................................................................................533
22.3.23Synchronous Modes ........................................................................................................533
22.3.23.1Synchronous Mode .......................................................................................534
22.3.23.2Multiple SAI Synchronous Mode .................................................................534
22.3.24Frame sync configuration ...............................................................................................534
22.3.25Data FIFO .......................................................................................................................535
22.3.25.1Data alignment ..............................................................................................535
22.3.25.2FIFO pointers ................................................................................................536
22.3.26Word mask register .........................................................................................................536
22.3.27Interrupts and DMA requests ..........................................................................................536
22.3.27.1FIFO data ready flag .....................................................................................536
22.3.27.2FIFO warning flag ........................................................................................537
22.3.27.3FIFO error flag ..............................................................................................537
22.3.27.4Sync error flag ..............................................................................................537
22.3.27.5Word start flag ...............................................................................................537
Chapter 23
SAI Instantiation
23.1 Introduction ...................................................................................................................................539
23.1.1 SAI/I2S Overview ...........................................................................................................539
23.1.2 External Signals Multiplexing ........................................................................................540
23.1.3 SAI/I2S Clocking ............................................................................................................540
23.1.3.1 SAI/I2S Clock Selection ...............................................................................540
23.1.3.2 CLKMODE in SAI/I2S TCR2 Register .......................................................540
23.1.3.3 CLKMODE in SAI/I2S RCR2 Register .......................................................541
23.1.3.4 Configuring clock source for SAI/I2S audio master clock ...........................542
Chapter 24
Deserial Serial Peripheral Interface (DSPI)
24.1 Introduction ...................................................................................................................................543
24.2 Block diagram ...............................................................................................................................543
24.3 Overview .......................................................................................................................................543
24.4 Features .........................................................................................................................................544
24.5 Modes of operation ........................................................................................................................545
24.5.1 Master mode ...................................................................................................................545
24.5.2 Slave mode ......................................................................................................................545
24.5.3 Module disable mode ......................................................................................................546
24.5.4 Debug mode ....................................................................................................................546
MPC5606E Microcontroller Reference Manual, Rev. 2
20 Freescale Semiconductor
24.6 External signal description ............................................................................................................546
24.6.1 Signal overview ..............................................................................................................546
24.6.2 Signal names and descriptions ........................................................................................546
24.6.2.1 Peripheral Chip Select / Slave Select (CS_0) ...............................................546
24.6.2.2 Peripheral Chip Selects 1–3 (CS1:3
) ............................................................547
24.6.2.3 Peripheral Chip Select 4 / Master Trigger (CS4
/MTRIG) ............................547
24.6.2.4 Peripheral Chip Select 5/Peripheral Chip Select Strobe (CS_5) ..................547
24.6.2.5 Serial Input (SIN_x) ......................................................................................547
24.6.2.6 Serial Output (SOUT_x) ...............................................................................547
24.6.2.7 Serial Clock (SCK_x) ...................................................................................547
24.7 Memory map and registers description .........................................................................................548
24.7.1 Memory map ...................................................................................................................548
24.7.2 Registers description .......................................................................................................549
24.7.2.1 DSPI Module Configuration Register (DSPIx_MCR) .................................549
24.7.2.2 DSPI Hardware Configuration Register (DSPI_HCR) .................................552
24.7.2.3 DSPI Transfer Count Register (DSPIx_TCR) ..............................................553
24.7.2.4 DSPI Clock and Transfer Attributes Registers 0–7 (DSPIx_CTARn) .........553
24.7.2.5 DSPI Status Register (DSPIx_SR) ................................................................559
24.7.2.6 DSPI DMA / Interrupt Request Select and Enable Register (DSPIx_RSER) ....
561
24.7.2.7 DSPI PUSH TX FIFO Register (DSPIx_PUSHR) .......................................562
24.7.2.8 DSPI POP RX FIFO Register (DSPIx_POPR) .............................................564
24.7.2.9 DSPI Transmit FIFO Registers 0–4 (DSPIx_TXFRn) .................................565
24.7.2.10DSPI Receive FIFO Registers 0–4 (DSPIx_RXFRn) ...................................565
24.8 Functional description ...................................................................................................................566
24.8.1 Modes of operation .........................................................................................................567
24.8.1.1 Master mode .................................................................................................567
24.8.1.2 Slave mode ....................................................................................................568
24.8.1.3 Module disable mode ....................................................................................568
24.8.1.4 Debug mode ..................................................................................................568
24.8.2 Start and stop of DSPI transfers ......................................................................................568
24.8.3 Serial Peripheral Interface (SPI) configuration ..............................................................569
24.8.3.1 SPI master mode ...........................................................................................569
24.8.3.2 SPI slave mode ..............................................................................................570
24.8.3.3 FIFO disable operation .................................................................................570
24.8.3.4 Transmit First In First Out (TX FIFO) buffering mechanism ......................570
24.8.3.4.1Filling the TX FIFO 571
24.8.3.4.2Draining the TX FIFO 571
24.8.3.5 Receive First In First Out (RX FIFO) buffering mechanism ........................571
24.8.3.5.1Filling the RX FIFO 572
24.8.3.5.2Draining the RX FIFO 572
24.8.4 DSPI baud rate and clock delay generation ....................................................................572
24.8.4.1 Baud rate generator .......................................................................................572
24.8.4.2 CS to SCK delay (t
CSC
) ................................................................................573
24.8.4.3 After SCK delay (t
ASC
) .................................................................................573
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486
  • Page 487 487
  • Page 488 488
  • Page 489 489
  • Page 490 490
  • Page 491 491
  • Page 492 492
  • Page 493 493
  • Page 494 494
  • Page 495 495
  • Page 496 496
  • Page 497 497
  • Page 498 498
  • Page 499 499
  • Page 500 500
  • Page 501 501
  • Page 502 502
  • Page 503 503
  • Page 504 504
  • Page 505 505
  • Page 506 506
  • Page 507 507
  • Page 508 508
  • Page 509 509
  • Page 510 510
  • Page 511 511
  • Page 512 512
  • Page 513 513
  • Page 514 514
  • Page 515 515
  • Page 516 516
  • Page 517 517
  • Page 518 518
  • Page 519 519
  • Page 520 520
  • Page 521 521
  • Page 522 522
  • Page 523 523
  • Page 524 524
  • Page 525 525
  • Page 526 526
  • Page 527 527
  • Page 528 528
  • Page 529 529
  • Page 530 530
  • Page 531 531
  • Page 532 532
  • Page 533 533
  • Page 534 534
  • Page 535 535
  • Page 536 536
  • Page 537 537
  • Page 538 538
  • Page 539 539
  • Page 540 540
  • Page 541 541
  • Page 542 542
  • Page 543 543
  • Page 544 544
  • Page 545 545
  • Page 546 546
  • Page 547 547
  • Page 548 548
  • Page 549 549
  • Page 550 550
  • Page 551 551
  • Page 552 552
  • Page 553 553
  • Page 554 554
  • Page 555 555
  • Page 556 556
  • Page 557 557
  • Page 558 558
  • Page 559 559
  • Page 560 560
  • Page 561 561
  • Page 562 562
  • Page 563 563
  • Page 564 564
  • Page 565 565
  • Page 566 566
  • Page 567 567
  • Page 568 568
  • Page 569 569
  • Page 570 570
  • Page 571 571
  • Page 572 572
  • Page 573 573
  • Page 574 574
  • Page 575 575
  • Page 576 576
  • Page 577 577
  • Page 578 578
  • Page 579 579
  • Page 580 580
  • Page 581 581
  • Page 582 582
  • Page 583 583
  • Page 584 584
  • Page 585 585
  • Page 586 586
  • Page 587 587
  • Page 588 588
  • Page 589 589
  • Page 590 590
  • Page 591 591
  • Page 592 592
  • Page 593 593
  • Page 594 594
  • Page 595 595
  • Page 596 596
  • Page 597 597
  • Page 598 598
  • Page 599 599
  • Page 600 600
  • Page 601 601
  • Page 602 602
  • Page 603 603
  • Page 604 604
  • Page 605 605
  • Page 606 606
  • Page 607 607
  • Page 608 608
  • Page 609 609
  • Page 610 610
  • Page 611 611
  • Page 612 612
  • Page 613 613
  • Page 614 614
  • Page 615 615
  • Page 616 616
  • Page 617 617
  • Page 618 618
  • Page 619 619
  • Page 620 620
  • Page 621 621
  • Page 622 622
  • Page 623 623
  • Page 624 624
  • Page 625 625
  • Page 626 626
  • Page 627 627
  • Page 628 628
  • Page 629 629
  • Page 630 630
  • Page 631 631
  • Page 632 632
  • Page 633 633
  • Page 634 634
  • Page 635 635
  • Page 636 636
  • Page 637 637
  • Page 638 638
  • Page 639 639
  • Page 640 640
  • Page 641 641
  • Page 642 642
  • Page 643 643
  • Page 644 644
  • Page 645 645
  • Page 646 646
  • Page 647 647
  • Page 648 648
  • Page 649 649
  • Page 650 650
  • Page 651 651
  • Page 652 652
  • Page 653 653
  • Page 654 654
  • Page 655 655
  • Page 656 656
  • Page 657 657
  • Page 658 658
  • Page 659 659
  • Page 660 660
  • Page 661 661
  • Page 662 662
  • Page 663 663
  • Page 664 664
  • Page 665 665
  • Page 666 666
  • Page 667 667
  • Page 668 668
  • Page 669 669
  • Page 670 670
  • Page 671 671
  • Page 672 672
  • Page 673 673
  • Page 674 674
  • Page 675 675
  • Page 676 676
  • Page 677 677
  • Page 678 678
  • Page 679 679
  • Page 680 680
  • Page 681 681
  • Page 682 682
  • Page 683 683
  • Page 684 684
  • Page 685 685
  • Page 686 686
  • Page 687 687
  • Page 688 688
  • Page 689 689
  • Page 690 690
  • Page 691 691
  • Page 692 692
  • Page 693 693
  • Page 694 694
  • Page 695 695
  • Page 696 696
  • Page 697 697
  • Page 698 698
  • Page 699 699
  • Page 700 700
  • Page 701 701
  • Page 702 702
  • Page 703 703
  • Page 704 704
  • Page 705 705
  • Page 706 706
  • Page 707 707
  • Page 708 708
  • Page 709 709
  • Page 710 710
  • Page 711 711
  • Page 712 712
  • Page 713 713
  • Page 714 714
  • Page 715 715
  • Page 716 716
  • Page 717 717
  • Page 718 718
  • Page 719 719
  • Page 720 720
  • Page 721 721
  • Page 722 722
  • Page 723 723
  • Page 724 724
  • Page 725 725
  • Page 726 726
  • Page 727 727
  • Page 728 728
  • Page 729 729
  • Page 730 730
  • Page 731 731
  • Page 732 732
  • Page 733 733
  • Page 734 734
  • Page 735 735
  • Page 736 736
  • Page 737 737
  • Page 738 738
  • Page 739 739
  • Page 740 740
  • Page 741 741
  • Page 742 742
  • Page 743 743
  • Page 744 744
  • Page 745 745
  • Page 746 746
  • Page 747 747
  • Page 748 748
  • Page 749 749
  • Page 750 750
  • Page 751 751
  • Page 752 752
  • Page 753 753
  • Page 754 754
  • Page 755 755
  • Page 756 756
  • Page 757 757
  • Page 758 758
  • Page 759 759
  • Page 760 760
  • Page 761 761
  • Page 762 762
  • Page 763 763
  • Page 764 764
  • Page 765 765
  • Page 766 766
  • Page 767 767
  • Page 768 768
  • Page 769 769
  • Page 770 770
  • Page 771 771
  • Page 772 772
  • Page 773 773
  • Page 774 774
  • Page 775 775
  • Page 776 776
  • Page 777 777
  • Page 778 778
  • Page 779 779
  • Page 780 780
  • Page 781 781
  • Page 782 782
  • Page 783 783
  • Page 784 784
  • Page 785 785
  • Page 786 786
  • Page 787 787
  • Page 788 788
  • Page 789 789
  • Page 790 790
  • Page 791 791
  • Page 792 792
  • Page 793 793
  • Page 794 794
  • Page 795 795
  • Page 796 796
  • Page 797 797
  • Page 798 798
  • Page 799 799
  • Page 800 800
  • Page 801 801
  • Page 802 802
  • Page 803 803
  • Page 804 804
  • Page 805 805
  • Page 806 806
  • Page 807 807
  • Page 808 808
  • Page 809 809
  • Page 810 810
  • Page 811 811
  • Page 812 812
  • Page 813 813
  • Page 814 814
  • Page 815 815
  • Page 816 816
  • Page 817 817
  • Page 818 818
  • Page 819 819
  • Page 820 820
  • Page 821 821
  • Page 822 822
  • Page 823 823
  • Page 824 824
  • Page 825 825
  • Page 826 826
  • Page 827 827
  • Page 828 828
  • Page 829 829
  • Page 830 830
  • Page 831 831
  • Page 832 832
  • Page 833 833
  • Page 834 834
  • Page 835 835
  • Page 836 836
  • Page 837 837
  • Page 838 838
  • Page 839 839
  • Page 840 840
  • Page 841 841
  • Page 842 842
  • Page 843 843
  • Page 844 844
  • Page 845 845
  • Page 846 846
  • Page 847 847
  • Page 848 848
  • Page 849 849
  • Page 850 850
  • Page 851 851
  • Page 852 852
  • Page 853 853
  • Page 854 854
  • Page 855 855
  • Page 856 856
  • Page 857 857
  • Page 858 858
  • Page 859 859
  • Page 860 860
  • Page 861 861
  • Page 862 862
  • Page 863 863
  • Page 864 864
  • Page 865 865
  • Page 866 866
  • Page 867 867
  • Page 868 868
  • Page 869 869
  • Page 870 870
  • Page 871 871
  • Page 872 872
  • Page 873 873
  • Page 874 874
  • Page 875 875
  • Page 876 876
  • Page 877 877
  • Page 878 878
  • Page 879 879
  • Page 880 880
  • Page 881 881
  • Page 882 882
  • Page 883 883
  • Page 884 884
  • Page 885 885
  • Page 886 886
  • Page 887 887
  • Page 888 888
  • Page 889 889
  • Page 890 890
  • Page 891 891
  • Page 892 892
  • Page 893 893
  • Page 894 894
  • Page 895 895
  • Page 896 896
  • Page 897 897
  • Page 898 898
  • Page 899 899
  • Page 900 900
  • Page 901 901
  • Page 902 902
  • Page 903 903
  • Page 904 904
  • Page 905 905
  • Page 906 906
  • Page 907 907
  • Page 908 908
  • Page 909 909
  • Page 910 910
  • Page 911 911
  • Page 912 912
  • Page 913 913
  • Page 914 914
  • Page 915 915
  • Page 916 916
  • Page 917 917
  • Page 918 918
  • Page 919 919
  • Page 920 920
  • Page 921 921
  • Page 922 922
  • Page 923 923
  • Page 924 924
  • Page 925 925
  • Page 926 926
  • Page 927 927
  • Page 928 928
  • Page 929 929
  • Page 930 930
  • Page 931 931
  • Page 932 932
  • Page 933 933
  • Page 934 934
  • Page 935 935
  • Page 936 936
  • Page 937 937
  • Page 938 938
  • Page 939 939
  • Page 940 940
  • Page 941 941
  • Page 942 942
  • Page 943 943
  • Page 944 944
  • Page 945 945
  • Page 946 946
  • Page 947 947
  • Page 948 948
  • Page 949 949
  • Page 950 950
  • Page 951 951
  • Page 952 952
  • Page 953 953
  • Page 954 954
  • Page 955 955
  • Page 956 956
  • Page 957 957
  • Page 958 958
  • Page 959 959
  • Page 960 960
  • Page 961 961
  • Page 962 962
  • Page 963 963
  • Page 964 964
  • Page 965 965
  • Page 966 966
  • Page 967 967
  • Page 968 968
  • Page 969 969
  • Page 970 970
  • Page 971 971
  • Page 972 972
  • Page 973 973
  • Page 974 974
  • Page 975 975
  • Page 976 976
  • Page 977 977
  • Page 978 978
  • Page 979 979
  • Page 980 980
  • Page 981 981
  • Page 982 982
  • Page 983 983
  • Page 984 984
  • Page 985 985

NXP MPC560xE Reference guide

Type
Reference guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI