MMC2107 Motorola, MMC2107 Datasheet

no-image

MMC2107

Manufacturer Part Number
MMC2107
Description
MMC2107HCMOS Microcontroller Unit
Manufacturer
Motorola
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MMC2107CFCAF33
Manufacturer:
DALSA
Quantity:
19
Part Number:
MMC2107CFCAF33
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MMC2107CFCAG33
Manufacturer:
FREESCALE
Quantity:
210
Part Number:
MMC2107CFCAG33
Manufacturer:
freescaie
Quantity:
35
Part Number:
MMC2107CFCAG33
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MMC2107CFCPU33
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MMC2107CFCPU33
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
MMC2107CFCPV
Manufacturer:
MOTOROLA
Quantity:
748
Part Number:
MMC2107CFCPV33
Manufacturer:
AMD
Quantity:
1 001
Part Number:
MMC2107CFCPV33
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MMC2107CFCPV33
Manufacturer:
MOT
Quantity:
2
Part Number:
MMC2107CFCPV33
Manufacturer:
FREESCALE
Quantity:
20 000
MMC2107/D
REV 2
查询MMC2107供应商
Freescale Semiconductor, Inc.
MMC2107
Technical Data
HCMOS
Microcontroller Unit

Related parts for MMC2107

MMC2107 Summary of contents

Page 1

... Freescale Semiconductor, Inc. MMC2107/D REV 2 MMC2107 Technical Data HCMOS Microcontroller Unit ...

Page 2

Freescale Semiconductor, Inc. blank For More Information On This Product, Go to: www.freescale.com ...

Page 3

... Motorola was negligent regarding the design or manufacture of the part. Motorola, Inc Equal Opportunity/Affirmative Action Employer. Motorola and are registered trademarks of Motorola, Inc. DigitalDNA is a trademark of Motorola, Inc. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Go to: www.freescale.com © Motorola, Inc., 2000 ...

Page 4

... Freescale Semiconductor, Inc. Technical Data Technical Data 4 For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 5

... Section 11. Ports Module . . . . . . . . . . . . . . . . . . . . . . . . 247 Section 12. Edge Port Module (EPORT 261 Section 13. Watchdog Timer Module . . . . . . . . . . . . . . 271 Section 14. Programmable Interrupt Timer Section 15. Timer Modules (TIM1 and TIM2 293 MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Unit (CPU 143 (SRAM 175 (CMFR 179 Modules (PIT1 and PIT2) ...

Page 6

... Section 21. JTAG Test Access Port and OnCE . . . . . . 533 Section 22. Electrical Specifications 585 Section 23. Mechanical Specifications . . . . . . . . . . . . . 609 Section 24. Ordering Information . . . . . . . . . . . . . . . . . 615 Technical Data 6 Modules (SCI1 and SCI2 329 Module (SPI 371 Converter (QADC 399 List of Sections For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 7

... Technical Data — MMC2107 1.1 1.2 1.3 1.4 2.1 2.2 2.3 2.4 3.1 3.2 3.3 3.4 3.4.1 3.4.2 3.4.3 3.4.4 3.5 3.6 MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Section 1. General Description Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Section 2. System Memory Map Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Address Map Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 Section 3. Chip Configuration Module (CCM) Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90 Master Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Single-Chip Mode ...

Page 8

... Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Interrupts 106 Section 4. Signal Description Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Package Pinout Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 MMC2107 Specific Implementation Signal Issues . . . . . . . . .120 RSTOUT Signal Functions . . . . . . . . . . . . . . . . . . . . . . . . . 120 INT Signal Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Signal Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121 Reset Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Reset In (RESET 121 Reset Out (RSTOUT 121 Phase-Lock Loop (PLL) and Clock Signals ...

Page 9

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, External Memory Interface Signals . . . . . . . . . . . . . . . . . .122 Data Bus (D[31:0 122 Show Cycle Strobe (SHS .123 Transfer Acknowledge (TA 123 Transfer Error Acknowledge (TEA 123 Emulation Mode Chip Selects (CSE[1:0 123 Transfer Code (TC[2:0 123 Read/Write (R/W 123 Address Bus (A[22:0]) ...

Page 10

... Reset Control Flow 138 Synchronous Reset Requests . . . . . . . . . . . . . . . . . . . . 138 Internal Reset Request . . . . . . . . . . . . . . . . . . . . . . . . . 140 Power-On Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Concurrent Resets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Reset Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Reset Status Flags 141 Interrupts 141 Table of Contents For More Information On This Product, Go to: www.freescale.com ) . . . . . . . . . . . . 128 128 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 11

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Section 6. M•CORE M210 Central Processor Unit (CPU) Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Microarchitecture Summary . . . . . . . . . . . . . . . . . . . . . . . . . . 145 Programming Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 Data Format Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 Operand Addressing Capabilities . . . . . . . . . . . . . . . . . . . . . . 150 Instruction Set Overview 150 Section 7 ...

Page 12

... CMFR Module Configuration Register . . . . . . . . . . . . . .188 CMFR Module Test Register . . . . . . . . . . . . . . . . . . . . . 193 CMFR High-Voltage Control Register . . . . . . . . . . . . . . 196 Array Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203 Read Page Buffers 203 Program Page Buffers . . . . . . . . . . . . . . . . . . . . . . . . . . 204 Table of Contents For More Information On This Product, Go to: www.freescale.com ) . . . . . . . . . . . . . . . . . . . . 176 STBY MMC2107 – Rev. 2.0 MOTOROLA ...

Page 13

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 Master Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 Register Read and Write Operation . . . . . . . . . . . . . . . . . . 205 Array Read Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 Program Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 Program Margin Reads . . . . . . . . . . . . . . . . . . . . . . . . . 211 Programming Shadow Information 212 Program Pulse-Width and Amplitude Modulation . . . . . 213 Overprogramming ...

Page 14

... Section 11. Ports Module Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 Memory Map and Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 249 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 Port Output Data Registers . . . . . . . . . . . . . . . . . . . . . . 251 Port Data Direction Registers 252 Table of Contents For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 15

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Port Pin Data/Set Data Registers . . . . . . . . . . . . . . . . . 253 Port Clear Output Data Registers . . . . . . . . . . . . . . . . . 254 Port C/D Pin Assignment Register . . . . . . . . . . . . . . . . . 255 Port E Pin Assignment Register .256 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 Pin Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258 Port Digital I/O Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 Interrupts ...

Page 16

... PIT Control and Status Register . . . . . . . . . . . . . . . . . .285 PIT Modulus Register . . . . . . . . . . . . . . . . . . . . . . . . . . 288 PIT Count Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290 Set-and-Forget Timer Operation . . . . . . . . . . . . . . . . . . . . 290 Free-Running Timer Operation . . . . . . . . . . . . . . . . . . . . . 291 Timeout Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . .291 Interrupt Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292 Table of Contents For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 17

... Pulse Accumulator Flag Register . . . . . . . . . . . . . . . . . . . . 317 15.7.17 Pulse Accumulator Counter Registers . . . . . . . . . . . . . . . . 318 15.7.18 Timer Port Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . 319 15.7.19 Timer Port Data Direction Register . . . . . . . . . . . . . . . . . .320 15.7.20 Timer Test Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Section 15. Timer Modules (TIM1 and TIM2) Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 Introduction ...

Page 18

... SCI Baud Rate Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 336 SCI Control Register .337 SCI Control Register .340 SCI Status Register 342 SCI Status Register 344 SCI Data Registers 345 SCI Pullup and Reduced Drive Register . . . . . . . . . . . . . . 346 Table of Contents For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 19

... Transmit Data Register Empty . . . . . . . . . . . . . . . . . . . . . . 369 16.17.2 Transmission Complete . . . . . . . . . . . . . . . . . . . . . . . . . . . 369 16.17.3 Receive Data Register Full 370 16.17.4 Idle Receiver Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370 16.17.5 Overrun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370 MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, SCI Port Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . .347 SCI Data Direction Register . . . . . . . . . . . . . . . . . . . . . . . . 348 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349 Data Format ...

Page 20

... Slave-Select Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393 Bidirectional Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 Error Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .395 Write Collision Error . . . . . . . . . . . . . . . . . . . . . . . . . . . .395 Mode Fault Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395 Low-Power Mode Options . . . . . . . . . . . . . . . . . . . . . . . . . 396 Run Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396 Doze Mode 396 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396 Table of Contents For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 21

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397 Section 18. Queued Analog-to-Digital Converter (QADC) Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .404 Debug Mode 404 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .405 Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405 Port QA Pin Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406 Port QA Analog Input Pins ...

Page 22

... Channel Decode and Multiplexer . . . . . . . . . . . . . . . . . . 448 Sample Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .448 Digital-to-Analog Converter (DAC) Array . . . . . . . . . . . . 449 Comparator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 Bias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 Successive-Approximation Register . . . . . . . . . . . . . . . 449 State Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .450 Queue Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .451 Queue Priority Schemes . . . . . . . . . . . . . . . . . . . . . . . . 453 Table of Contents For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 23

... Interrupt Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500 18.12.2 Interrupt Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .501 19.1 19.2 19.3 19.3.1 19.3.2 19.3.3 19.3.4 MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Software-Initiated Single-Scan Mode 468 External Trigger Single-Scan Mode . . . . . . . . . . . . . . . . 469 External Gated Single-Scan Mode 470 Interval Timer Single-Scan Mode 470 Software-Initiated Continuous-Scan Mode 473 External Trigger Continuous-Scan Mode . . . . . . . . . . . . 474 External Gated Continuous-Scan Mode ...

Page 24

... Emulation Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516 Emulation Chip-Selects (CSE[1:0 .516 Internal Data Transfer Display (Show Cycles 517 Show Strobe (SHS 518 Section 20. Chip Select Module Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522 Table of Contents For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 25

... Non-Scan Chain Operation 547 21.11 Boundary Scan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547 21.12 Low-Level TAP (OnCE) Module . . . . . . . . . . . . . . . . . . . . . . .553 MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523 Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 524 Memory Map and Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 524 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 524 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 530 Interrupts 531 Section 21 ...

Page 26

... Trace Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574 Debug Request During RESET . . . . . . . . . . . . . . . . . . .574 Debug Request During Normal Activity . . . . . . . . . . . . . 575 Debug Request During Stop, Doze, or Wait Mode . . . .575 Software Request During Normal Activity . . . . . . . . . . . 575 Table of Contents For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 27

... FLASH Memory Characteristics . . . . . . . . . . . . . . . . . . . . . . .594 22.11 External Interface Timing Characteristics . . . . . . . . . . . . . . . . 596 22.12 Reset and Configuration Override Timing . . . . . . . . . . . . . . . 601 22.13 SPI Timing Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 602 22.14 OnCE, JTAG, and Boundary Scan Timing . . . . . . . . . . . . . . . 605 MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Section 22. Electrical Specifications Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585 Absolute Maximum Ratings ...

Page 28

... Package Information for the 144-Pin LQFP . . . . . . . . . . . . . . 611 Package Information for the 100-Pin LQFP . . . . . . . . . . . . . . 611 144-Pin LQFP Mechanical Drawing . . . . . . . . . . . . . . . . . . . . 612 100-Pin LQFP Mechanical Drawing . . . . . . . . . . . . . . . . . . . . 613 Section 24. Ordering Information Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615 MC Order Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .615 Table of Contents For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 29

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Title Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Address Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Register Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Chip Configuration Module Block Diagram . . . . . . . . . . . . . 92 Chip Configuration Register (CCR .94 Reset Configuration Register (RCON Chip Identification Register (CIR Chip Test Register (CTR 100 144-Pin LQFP Assignments . . . . . . . . . . . . . . . . . . . . . . . . 115 100-Pin LQFP Assignments ...

Page 30

... Port Pin Data/Set Data Registers (PORTxP/SETx 253 Port Clear Output Data Registers (CLRx 254 Port C, D, I7, and I6 Pin Assignment Register (PCDPAR .255 Port E Pin Assignment Register (PEPAR 256 List of Figures For More Information On This Product, Go to: www.freescale.com Page MMC2107 – Rev. 2.0 MOTOROLA ...

Page 31

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Title Digital Input Timing 259 Digital Output Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 EPORT Block Diagram .262 EPORT Pin Assignment Register (EPPAR 264 EPORT Data Direction Register (EPDDR 266 EPORT Port Interrupt Enable Register (EPIER 267 EPORT Port Data Register (EPDR) ...

Page 32

... SCI Data Formats 349 Transmitter Block Diagram 351 SCI Receiver Block Diagram . . . . . . . . . . . . . . . . . . . . . . .356 Receiver Data Sampling 357 Start Bit Search Example 359 Start Bit Search Example 360 List of Figures For More Information On This Product, Go to: www.freescale.com Page MMC2107 – Rev. 2.0 MOTOROLA ...

Page 33

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Title Start Bit Search Example 360 Start Bit Search Example 361 Start Bit Search Example 361 Start Bit Search Example 362 Slow Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363 Fast Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364 Single-Wire Operation (LOOPS = 1, RSRC = 366 Loop Operation (LOOPS = 1, RSRC = 0) ...

Page 34

... QADC Conversion Queue Operation . . . . . . . . . . . . . . . . . 482 Equivalent Analog Input Circuitry . . . . . . . . . . . . . . . . . . . . 487 Errors Resulting from Clipping . . . . . . . . . . . . . . . . . . . . . . 488 External Positive Edge Trigger Mode Timing With Pause . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489 Gated Mode, Single Scan Timing 491 List of Figures For More Information On This Product, Go to: www.freescale.com Page MMC2107 – Rev. 2.0 MOTOROLA ...

Page 35

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Title Gated Mode, Continuous Scan Timing . . . . . . . . . . . . . . . 491 Star-Ground at the Point of Power Supply Origin 493 Input Pin Subjected to Negative Stress . . . . . . . . . . . . . . . 494 Input Pin Subjected to Positive Stress . . . . . . . . . . . . . . . . 494 External Multiplexing of Analog Signal Sources .496 Electrical Model of an A/D Input Pin ...

Page 36

... SPI Timing Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603 Test Clock Input Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . 605 Boundary Scan (JTAG) Timing . . . . . . . . . . . . . . . . . . . . . 606 Test Access Port Timing . . . . . . . . . . . . . . . . . . . . . . . . . . 606 TRST Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 606 Debug Event Pin Timing 607 List of Figures For More Information On This Product, Go to: www.freescale.com Page MMC2107 – Rev. 2.0 MOTOROLA ...

Page 37

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Title Register Address Location Map . . . . . . . . . . . . . . . . . . . . . . . 53 Signal Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 Write-Once Bits Read/Write Accessibility Chip Configuration Module Memory Map . . . . . . . . . . . . . . . . 94 Chip Configuration Mode Selection . . . . . . . . . . . . . . . . . . . . 95 Bus Monitor Timeout Values . . . . . . . . . . . . . . . . . . . . . . . . . 97 Reset Configuration Pin States During Reset . . . . . . . . . . . 101 Configuration During Reset . . . . . . . . . . . . . . . . . . . . . . . . . 102 Chip Configuration Mode Selection ...

Page 38

... I/O Port Module Memory Map . . . . . . . . . . . . . . . . . . . . . . .250 PEPAR Reset Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256 Ports A–I Supported Pin Functions . . . . . . . . . . . . . . . . . . . 258 Edge Port Module Memory Map 263 EPPAx Field Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265 Watchdog Timer Module Memory Map . . . . . . . . . . . . . . . . 274 List of Tables For More Information On This Product, Go to: www.freescale.com Page MMC2107 – Rev. 2.0 MOTOROLA ...

Page 39

... SCI Interrupt Request Sources .369 17-1 17-2 17-3 17-4 17-5 17-6 17-7 17-8 MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Title Programmable Interrupt Timer Modules Memory Map . . . . .284 Prescaler Select Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . 286 PIT Interrupt Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292 Signal Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298 Timer Modules Memory Map . . . . . . . . . . . . . . . . . . . . . . . . 299 Output Compare Action Selection . . . . . . . . . . . . . . . . . . . . 307 Input Capture Edge Selection ...

Page 40

... Chip Select Wait States Encoding . . . . . . . . . . . . . . . . . . . . 529 Chip Select Address Range Encoding . . . . . . . . . . . . . . . . . 531 JTAG Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .542 List of Pins Not Scanned in JTAG Mode . . . . . . . . . . . . . . . 548 Boundary-Scan Register Definition . . . . . . . . . . . . . . . . . . . 549 OnCE Register Addressing . . . . . . . . . . . . . . . . . . . . . . . . . 563 List of Tables For More Information On This Product, Go to: www.freescale.com Page ) . . . . . . . . . . . . . . 500 Off MMC2107 – Rev. 2.0 MOTOROLA ...

Page 41

... External Interface Timing Characteristics 596 22-12 Reset and Configuration Override Timing . . . . . . . . . . . . . . 601 22-13 SPI Timing Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 602 22-14 OnCE, JTAG, and Boundary Scan Timing . . . . . . . . . . . . . .605 24-1 MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Title Sequential Control Field Settings . . . . . . . . . . . . . . . . . . . . . 565 Memory Breakpoint Control Field Settings . . . . . . . . . . . . . .567 Processor Mode Field Settings ...

Page 42

... Freescale Semiconductor, Inc. List of Tables Technical Data 42 List of Tables For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 43

... Contents 1.2 1.3 1.4 1.2 Introduction The MMC2107 is the first member of a family of general-purpose microcontrollers (MCU) based on the M•CORE™ M210 central processor unit (CPU low-voltage part, the MMC2107 operates at voltages between 2.7 volts and 3.6 volts particularly suited for use in battery-powered applications. The operating frequency maximum of 33 MHz over a temperature range of – ...

Page 44

... Freescale Semiconductor, Inc. General Description 1.3 Features Features of the MMC2107 include: • • • • • ™OnCE is a trademark of Motorola, Inc. 1. CDR MoneT designates the Motorola one-transistor bitcell. Technical Data 44 M•CORE M210 integer processor: – 32-bit reduced instruction set computer (RISC) architecture – ...

Page 45

... Freescale Semiconductor, Inc. • • • MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Two serial communications interfaces (SCI): – Full-duplex operation – Standard mark/space non-return-to-zero (NRZ) format – 13-bit baud rate selection – Programmable 8-bit or 9-bit data format – ...

Page 46

... Ability to generate a separate vector number for normal and fast interrupts – Ability for software to self-schedule interrupts – Software visibility of pending interrupts and interrupt signals to core – Asynchronous operation to support wakeup from low-power modes General Description For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 47

... Freescale Semiconductor, Inc. • • • • • • MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, External interrupts supported: – Rising/falling edge select – Low-level sensitive – Ability for software generation of external interrupt event – General-purpose input/output support Periodic interval timer: – ...

Page 48

... Freescale Semiconductor, Inc. General Description • • • • 1.4 Block Diagram The basic structure of the MMC2107 is shown in Technical Data 48 General-purpose input/output (GPIO): – bits of GPIO – Coherent 32-bit control – Bit manipulation supported via set/clear functions – Unused peripheral pins may be used as extra GPIO. ...

Page 49

... Freescale Semiconductor, Inc. JTAG TAP OnCE M•CORE (M210) INTERRUPT CONTROLLER EDGE INT[7:0] PORT TIM1 TIM2 MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, SRAM 8-KBYTE M•CORE BUS IPBUS INTERFACE PROGRAMMABLE INTERVAL TIMER 1 PROGRAMMABLE OSC/PLL INTERVAL TIMER 2 WATCHDOG TIMER IPBUS SCI1 SCI2 Figure 1-1 ...

Page 50

... Freescale Semiconductor, Inc. General Description Technical Data 50 General Description For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 51

... Contents 2.2 2.3 2.4 2.2 Introduction The address map, shown in • • • • MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Section 2. System Memory Map Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Address Map Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 Figure 128 Kbytes of internal FLASH 8 Kbytes of internal static random-access memory (SRAM) Internal memory mapped registers ...

Page 52

... Freescale Semiconductor, Inc. System Memory Map 2.3 Address Map Technical Data 52 EXTERNAL MEMORY 0x8000_0000 SEE 2.4 Register Map 0x00c0_0000 0x0080_0000 0 Figure 2-1. Address Map System Memory Map For More Information On This Product, Go to: www.freescale.com REGISTERS INTERNAL SRAM 8 KBYTES INTERNAL FLASH 128 KBYTES MMC2107 – Rev. 2.0 MOTOROLA ...

Page 53

... The port register space is mirrored/repeated in the 64-Kbyte block. This allows the full 64-Kbyte block to be decoded and used to execute an external access to a port replacement unit in emulation mode. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Table 2-1. Register Address Location Map ...

Page 54

... PORTE3 PORTE2 PORTE1 PORTE0 PORTF3 PORTF2 PORTF1 PORTF0 PORTG3 PORTG2 PORTG1 PORTG0 MMC2107 – Rev. 2.0 MOTOROLA Bit 0 1 Bit 0 1 Bit 0 1 Bit 0 1 Bit 0 1 Bit 0 1 Bit 0 1 ...

Page 55

... Register (DDRD) See page 252. Reset: Port E Data Direction 0x00c0_0010 Register (DDRE) See page 252. Reset Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 2 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read: PORTH7 PORTH6 PORTH5 PORTH4 ...

Page 56

... SETA4 SETA3 SETA2 SETA1 SETB4 SETB3 SETB2 SETB1 SETC4 SETC3 SETC2 SETC1 MMC2107 – Rev. 2.0 MOTOROLA Bit 0 DDRF0 0 Bit 0 DDRG0 0 Bit 0 DDRH0 0 Bit 0 DDRI0 0 Bit 0 Bit 0 SETA0 P Bit 0 SETB0 P Bit 0 SETC0 P ...

Page 57

... Port A Clear Output 0x00c0_0024 Data Register (CLRA) See page 254. Reset Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 4 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read: PORTDP7 PORTDP6 PORTDP5 PORTDP4 PORTDP3 PORTDP2 PORTDP1 PORTDP0 Write: ...

Page 58

... CLRG4 CLRG3 CLRG2 CLRG1 CLRH4 CLRH3 CLRH2 CLRH1 MMC2107 – Rev. 2.0 MOTOROLA Bit 0 0 CLRB0 0 Bit 0 0 CLRC0 0 Bit 0 0 CLRD0 0 Bit 0 0 CLRE0 0 Bit 0 0 CLRF0 0 Bit 0 0 CLRG0 0 Bit 0 0 ...

Page 59

... See page 256. Reset: Reset state determined during reset configuration as shown in 0x00c0_0032 Reserved 0x00c0_003f 0x00c0_0040 Reserved 0x00c0_ffff P = Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 6 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read Write: CLRI7 ...

Page 60

... SHINT BME BMD BMT1 BOOTPS BOOTSEL MMC2107 – Rev. 2.0 MOTOROLA Bit 8 MODE0 Note 1 Bit 0 BMT0 0 Bit 0 Bit 0 Bit Bit 0 0 MODE 0 ...

Page 61

... See page 100. Reset: Reset: 0x00c1_000a Reserved 0x00c1_000b 0x00c1_000c Unimplemented 0x00c1_000f 0x00c1_0010 Unimplemented 0x00c1_ffff P = Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 8 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read PIN7 PIN6 PIN5 Write ...

Page 62

... TAEN WWS WE WS2 WS1 TAEN MMC2107 – Rev. 2.0 MOTOROLA Bit 8 WS0 1 Bit 0 CSEN See note Bit 8 WS0 1 Bit 0 CSEN See note Bit 8 WS0 1 Bit 0 CSEN 0 ...

Page 63

... Register (SYNCR) See page 227. Reset: Reset: 0x00c3_0002 Synthesizer Status Register (SYNSR) See page 230. Reset Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 10 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read Write ...

Page 64

... RSVD9 RSVD4 RSVD3 RSVD2 RSVD2 MMC2107 – Rev. 2.0 MOTOROLA Bit Bit Bit Bit 8 RSVD8 0 Bit 0 RSVD0 0 Bit 0 Bit ...

Page 65

... See page 157. Reset: Reset: 0x00c5_0002 Interrupt Status Register 0x00c5_0003 (ISR) See page 159. Reset: Reset Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 12 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read SOFT Write Bit 7 ...

Page 66

... IF19 IF18 IF17 IF12 IF11 IF10 IF9 IF4 IF3 IF2 IF1 MMC2107 – Rev. 2.0 MOTOROLA Bit Bit Bit Bit 0 IF32 0 Bit 24 IF24 0 Bit 16 IF16 0 Bit 8 IF8 0 Bit 0 IF0 0 ...

Page 67

... Normal Interrupt Enable 0x00c5_0011 Register (NIER) 0x00c5_0012 See page 163. 0x00c5_0013 Reset: Reset: Reset: Reset Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 14 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read: IP31 IP30 IP29 Write ...

Page 68

... FIE19 FIE18 FIE17 FIE12 FIE11 FIE10 FIE9 FIE4 FIE3 FIE2 FIE1 MMC2107 – Rev. 2.0 MOTOROLA Bit 24 NIP24 0 Bit 16 NIP16 0 Bit 8 NIP8 0 Bit 0 NIP0 0 Bit 24 FIE24 0 Bit 16 FIE16 0 Bit 8 FIE8 0 Bit 0 FIE0 0 ...

Page 69

... Registers 0x00c5_0067 (PLSR39—PLSR0) See page 167. Reset: 0x00c5_0068 Unimplemented 0x00c5_007f 0x00c5_0080 Unimplemented 0x00c5_ffff P = Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 16 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read: FIP31 FIP30 FIP29 Write Bit 23 ...

Page 70

... EPD2 EPD1 EPPD4 EPPD3 EPPD2 EPPD1 EPF4 EPF3 EPF2 EPF1 MMC2107 – Rev. 2.0 MOTOROLA Bit 8 0 Bit 0 0 Bit 0 EPDD0 0 Bit 0 EPIE0 0 Bit 0 EPD0 1 Bit 0 EPPD0 P Bit 0 EPF0 0 Bit 0 ...

Page 71

... Watchdog Count Register 0x00c7_0005 (WCNTR) See page 278. Reset: Reset Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 18 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Access results in a bus monitor timeout generating an access termination transfer error. Bit 15 14 ...

Page 72

... OVW PIE PIF RLD PM12 PM11 PM10 PM9 PM4 PM3 PM2 PM1 MMC2107 – Rev. 2.0 MOTOROLA Bit 8 WS8 0 Bit 0 WS0 0 Bit 0 Bit 8 PRE0 0 Bit Bit 8 PM8 1 Bit 0 PM0 1 ...

Page 73

... Configuration Register (QADCMCR) See page 411. Reset: Reset: 0x00ca_0002 QADC Test Register 0x00ca_0003 (QADCTEST) See page 412 Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 20 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read: PC15 PC14 PC13 Write ...

Page 74

... DDQA3 DDQA1 TRG PSH4 PSA PSL2 PSL1 MMC2107 – Rev. 2.0 MOTOROLA Bit 0 Bit 0 PQA0 P Bit 0 PQB0 P Bit 8 DDQA0 0 Bit Bit 8 PSH8 0 Bit 0 PSL0 1 ...

Page 75

... See page 422. Reset: Reset: 0x00ca_0010 QADC Status Register 0 0x00ca_0011 (QASR0) See page 427. Reset: Reset Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 22 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read: 0 CIE1 PIE1 MQ112 Write: SSE1 ...

Page 76

... CHAN3 CHAN2 CHAN1 CHAN0 RESULT RESULT MMC2107 – Rev. 2.0 MOTOROLA Bit 8 1 Bit 0 1 Bit 0 Bit 8 BYP U Bit 0 U Bit 8 Bit 0 ...

Page 77

... SPI Control Register 1 0x00cb_0000 (SPICR1) See page 376. Reset: SPI Control Register 2 0x00cb_0001 (SPICR2) See page 378. Reset Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 24 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read: S Write: Bit Read: ...

Page 78

... RSVD1 RSVD4 PORTSP3 PORTSP2 PORTSP1 PORTSP0 RSVD4 DDRSP3 DDRSP2 DDRSP1 MMC2107 – Rev. 2.0 MOTOROLA Bit 0 SPR0 0 Bit Bit 0 Bit 0 Bit 0 0 Bit 0 PUPSP 0 Bit 0 0 Bit 0 DDRSP0 0 Bit 0 ...

Page 79

... SCI Status Register 2 0x00cc_0005 (SCISR2) 0x00cd_0005 See page 344. Reset Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 26 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Access results in a bus monitor timeout generating an access termination transfer error. Bit 7 6 ...

Page 80

... RSVD1 RSVD4 RSVD3 RSVD2 PORTSC1 PORTSC0 RSVD4 RSVD3 RSVD2 DDRSC1 MMC2107 – Rev. 2.0 MOTOROLA Bit Bit Bit 0 PUPSCI 0 Bit 0 0 Bit 0 DDRSC0 0 Bit 0 Bit 0 ...

Page 81

... Low (TIMCNTL) 0x00cf_0005 See page 304. Reset: Timer System Control 0x00ce_0006 Register 1 (TIMSCR1) 0x00cf_0006 See page 305. Reset Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 28 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read Write ...

Page 82

... C3I C2I C1I RDPT TCRE PR2 PR1 C3F C2F C1F MMC2107 – Rev. 2.0 MOTOROLA Bit 0 Bit 0 TOV0 0 Bit 0 OL0 0 Bit 0 Bit 0 EDG10 0 Bit 0 C0I 0 Bit 0 PR0 0 Bit 0 C0F 0 ...

Page 83

... Low (TIMC2L) 0x00cf_0015 See page 314. Reset: Timer Channel 3 Register 0x00ce_0016 High (TIMC3H) 0x00cf_0016 See page 314. Reset Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 30 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read TOF Write ...

Page 84

... PORTT3 PORTT2 PORTT1 DDRT3 DDRT2 DDRT1 MMC2107 – Rev. 2.0 MOTOROLA Bit 0 Bit 0 0 Bit 0 PAI 0 Bit 0 PAIF 0 Bit 8 Bit 8 0 Bit 0 Bit 0 0 Bit 0 Bit 0 PORTT0 0 Bit 0 DDRT0 0 ...

Page 85

... CMFR Module 0x00d0_0001 Configuration Register 0x00d0_0002 (CMFRMCR) 0x00d0_0003 See page 188. Reset: Reset: Reset: Reset: Notes Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 32 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Read Write Bit 7 ...

Page 86

... CLKPM3 CLKPM2 CLKPM1 CLKPM0 BLOCK3 BLOCK2 BLOCK1 BLOCK0 ERASE SES MMC2107 – Rev. 2.0 MOTOROLA Bit 24 0 Bit 16 0 Bit 8 PAWS0 0 Bit Bit 24 0 Bit 16 0 Bit 8 0 Bit 0 EHV 0 ...

Page 87

... Register Name 0x00d0_000c Unimplemented 0x00d0_001c 0x00d0_001d Unimplemented 0x7fff_ffff P = Current pin state U = Unaffected Figure 2-2. Register Summary (Sheet 34 of 34) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Number Bit Access results in the module generating an access termination transfer error. Bit 7 ...

Page 88

... Freescale Semiconductor, Inc. System Memory Map Technical Data 88 System Memory Map For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 89

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90 Master Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Single-Chip Mode Emulation Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91 Factory Access Slave Test (FAST) Mode . . . . . . . . . . . . . . 91 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 Signal Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92 Memory Map and Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Programming Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Chip Configuration Register . . . . . . . . . . . . . . . . . . . . . . . 94 Reset Configuration Register ...

Page 90

... Selects output pad strength Selects boot device Selects module configuration Selects bus monitor configuration Master mode Single-chip mode Emulation mode FAST mode for factory test only Chip Configuration Module (CCM) For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 91

... Also, the signal SHS is provided as a strobe for capturing addresses and data during show cycles. 3.4.4 Factory Access Slave Test (FAST) Mode FAST mode is for factory test only. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Chip Configuration Module (CCM) Go to: www ...

Page 92

... Reset configuration select Clock mode select Reset configuration overrides Chip Configuration Module (CCM) For More Information On This Product, Go to: www.freescale.com OUTPUT PAD STRENGTH SELECTION CLOCK MODE SELECTION MODULE CONFIGURATION Description. Reset State Internal weak pullup device — — MMC2107 – Rev. 2.0 MOTOROLA ...

Page 93

... Debug operation (all modes) Test operation (all modes) Master mode Single-chip mode FAST mode Emulation mode MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, The chip configuration register (CCR) controls the main chip configuration. The reset configuration register (RCON) indicates the default chip configuration ...

Page 94

... Chip Configuration Module (CCM) For More Information On This Product, Go to: www.freescale.com Bits 15–0 Access (2) S Reserved S (2) S Reserved — Bit 8 0 MODE2 MODE1 MODE0 0 Note 1 Note 1 Note Bit 0 BME BMD BMT1 BMT0 MMC2107 – Rev. 2.0 MOTOROLA (1) ...

Page 95

... The EMINT bit is read-always but can be written only in emulation mode. MODE[2:0] — Chip Configuration Mode Field This read-only field reflects the chip configuration mode, as shown in Table MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product Full drive strength 0 = Default drive strength shows the read/write accessibility of this write-once bit ...

Page 96

... Bus monitor enabled on external bus cycles 0 = Bus monitor disabled on external bus cycles shows the read/write accessibility of this write-once bit Bus monitor enabled in debug mode 0 = Bus monitor disabled in debug mode Chip Configuration Module (CCM) For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 97

... RCON pin is asserted. Address: 0x00c1_0004 and 0x00c1_0005 Read: Write: Reset: Read: RPLLSEL Write: Reset: MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, 3-5. Table 3-5. Bus Monitor Timeout Values BMT[1: shows the read/write accessibility of these write-once bits. ...

Page 98

... Full drive strength 0 = Default drive strength 1 = Boot device uses 32-bit port Boot device uses 16-bit port Boot from external boot device 0 = Boot from internal boot device Chip Configuration Module (CCM) For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 99

... PRN[7:0] — Part Revision Number Field This read-only field contains the full-layer mask revision number. This number is increased by one for each new full-layer mask set of this part. The revision numbers are assigned in chronological order. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product Master mode ...

Page 100

... Writes have no effect and the access terminates without a transfer error exception. Figure 3-5. Chip Test Register (CTR) Chip Configuration Module (CCM) For More Information On This Product, Go to: www.freescale.com Bit Bit MMC2107 – Rev. 2.0 MOTOROLA ...

Page 101

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, shows the states of the external pins while in reset. Table 3-6. Reset Configuration Pin States During Reset ...

Page 102

... Normal PLL mode w/crystal oscillator reference D28 V 1 Internal FLASH enabled DD 0 Internal FLASH disabled Chip Configuration Module (CCM) For More Information On This Product, Go to: www.freescale.com (1) Function Chip Mode Selected Boot Device Output Pad Drive Strength Clock Mode Module Configuration MMC2107 – Rev. 2.0 MOTOROLA ...

Page 103

... In emulation mode, the CS1 chip select pin is optionally configured for emulating an internal memory. In emulation mode and booting from internal memory, the CSEN bit in CSCR1 is set, enabling CS1 after reset. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Table 3-8. Chip Configuration Mode Selection ...

Page 104

... Register Register CSEN Bit PS Bit CSEN Bit (1) CSCR0 CSCR1 Register Register PS Bit CSEN Bit D19 don’t care D18 driven low D19 driven low D18 driven high D19 driven high D18 driven high MMC2107 – Rev. 2.0 MOTOROLA ( ...

Page 105

... Normal PLL mode; external clock reference Normal PLL mode; crystal oscillator reference 1. Modifying the default configurations is possible only if the external RCON pin is asserted low. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, 3-11. Once reset is exited, the output pad strength configuration Table 3-11 ...

Page 106

... Table 3-13. Internal FLASH Configuration Internal FLASH Configuration Registers. The CCM controls chip configuration 3.8 Functional Chip Configuration Module (CCM) For More Information On This Product, Go to: www.freescale.com Table 3-13. (1) External D28 State D28 pin driven high D28 pin driven low Description. MMC2107 – Rev. 2.0 MOTOROLA ...

Page 107

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Section 4. Signal Description Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Package Pinout Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 MMC2107 Specific Implementation Signal Issues . . . . . . . . .120 RSTOUT Signal Functions . . . . . . . . . . . . . . . . . . . . . . . . . 120 INT Signal Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Signal Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121 Reset Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Reset In (RESET 121 Reset Out (RSTOUT) ...

Page 108

... DDF SSF Standby Power (V STBY Positive Supply ( 128 DD Ground ( .128 SS Signal Description For More Information On This Product, Go to: www.freescale.com and 126 RL and .126 SSA ) . . . . . . . . . . . . . . . . . . . . . . . . . 126 ) . . . . . . . . . . . . 128 128 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 109

... Freescale Semiconductor, Inc. 4.2 Introduction The MMC2107 is available in two packages: • • The optional group of pins includes: • • • • • • • • NOTE: The optional pins are either all present or none of them are present. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, 100-pin Joint-Electron Device Engineering Council (JEDEC) low-profile quad flat pack (LQFP) — ...

Page 110

... Pin Name D30 / PA6 D29 / PA5 D28 / PA4 D27 / PA3 D26 / PA2 A11 D25 / PA1 D24 / PA0 A10 D23 / PB7 A9 A8 D22 / PB6 D21 / PB5 D20 / PB4 D19 / PB3 D18 / PB2 D17 / PB1 A7 A6 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 111

... Freescale Semiconductor, Inc. 144-Pin Package MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Table 4-1. Package Pinouts (Sheet Pin Number 100-Pin Package — — 29 — ...

Page 112

... For More Information On This Product, Go to: www.freescale.com Pin Name ICOC13 ICOC12 ICOC11 R/W CSE1 ICOC10 CSE0 TEST TXD2 TC2 RXD2 TXD1 RXD1 INT0 INT1 V SSF V DDF INT2 TC1 INT3 TC0 CS3 INT4 CS2 INT5 CS1 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 113

... Freescale Semiconductor, Inc. 144-Pin Package MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Table 4-1. Package Pinouts (Sheet Pin Number 100-Pin Package 86 — — 96 — — 100 — 101 — ...

Page 114

... For More Information On This Product, Go to: www.freescale.com Pin Name A22 A21 RESET A20 RSTOUT A19 A18 V DDSYN XTAL EXTAL V SSSYN V SS CLKOUT V DD TCLK A17 A16 TDI A15 TDO A14 A13 TMS A12 TRST DE D31 / PA7 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 115

... A3 30 D14 31 D13 D12 35 D11 36 D10 Figure 4-1. 144-Pin LQFP Assignments MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Signal Description Go to: www.freescale.com Signal Description Package Pinout Summary PQA4 108 PQB0 107 PQB1 106 PQB2 105 PQB3 104 V ...

Page 116

... For More Information On This Product, Go to: www.freescale.com PQA4 75 PQB0 74 PQB1 73 PQB2 72 PQB3 DDH PE5 69 PE6 68 PE7 SCK STBY MISO 63 MOSI 62 INT7 61 INT6 INT5 58 INT4 57 INT3 INT2 DDF V 51 SSF MMC2107 – Rev. 2.0 MOTOROLA ...

Page 117

... SHS RCON / PE7 TA PE6 TEA PE5 CSE[1:0] PE[4:3] TC[2:0] PE[2:0] R/W PF7 PF[6:0], PG[7:0] A[22:0] PH[7:0] EB[3:0] PI[7:4] CS[3:0] PI[3:0] OE — INT[7:6] TSIZ[1:0] / GPIO INT[5:2] PSTAT[3:0] / GPIO INT[1:0] GPIO MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Input Input Qty. Dir. (2) Hyst. Sync. Reset ( I/O (6) 1 — — I/O Clock — ...

Page 118

... Pullup (4) RDPSCI0 Pullup (4) RDPT ST Pullup (4) RDPT ST Pullup (4) RDPT ST Pullup (4) RDPT ST Pullup — — ST — — — — — — — — — — — — MMC2107 – Rev. 2.0 MOTOROLA (5) (7) (7) (7) (7) (7) (7) (7) (7) — — — — — — ...

Page 119

... Digital input function for RSTOUT, CLKOUT, OE, and digital output function for RESET used only for JTAG boundary scan 7. Open-drain and pullup function selectable via programmer’s model in module configuration registers 8. Three-state output with no input function MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, ...

Page 120

... MMC2107 Specific Implementation Signal Issues Most modules are designed to allow expanded capabilities if all the module signals to the pads are implemented. This subsection discusses how these modules are implemented on the MMC2107. 4.4.1 RSTOUT Signal Functions The RSTOUT signal has these multiple functions: • ...

Page 121

... RSTOUT is three-stated in phase-lock loop (PLL) test mode. RSTOUT may also be used to reflect an indication of an internal interrupt request. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, If the SZEN bit in the chip configuration register is set, then INT[7:6] will be used to reflect the state of the TSIZ[1:0] signals from the M• ...

Page 122

... I/O signals also. 4.5.3.1 Data Bus (D[31:0]) These three-state bidirectional signals provide the general-purpose data path between the microcontroller unit (MCU) and all other devices. Technical Data 122 and V ) DDSYN SSSYN Signal Description For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 123

... Read/Write (R/W) This output signal indicates the direction of the data transfer on the bus. A logic 1 indicates a read from a slave device and a logic 0 indicates a write to a slave device. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Signal Description Go to: www.freescale.com Signal Description ...

Page 124

... These bidirectional signals function as either external interrupt sources or GPIO. Also, these signals may be used to reflect the internal PSTAT[3:0] signals and externally to provide an indication of the M•CORE processor status. Technical Data 124 Signal Description For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 125

... These signals are used by the two SCI modules. 4.5.6.1 Receive Data (RXD1 and RXD2) These signals are used for the SCI receiver data input and are also available for GPIO when not configured for receiver operation. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Signal Description Go to: www ...

Page 126

... Positive Supply (V DDH This signal supplies positive power to the ESD structures in the QADC pads. Technical Data 126 and and V ) SSA ) Signal Description For More Information On This Product, Go to: www.freescale.com ) and low (V ) reference potentials RL MMC2107 – Rev. 2.0 MOTOROLA ...

Page 127

... CLKOUT edge, to acknowledge that the CPU has entered debug mode as a result of a debug request or a breakpoint condition input, this signal provides multiple functions. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Signal Description Go to: www ...

Page 128

... This signal supplies positive power to the core logic and I/O pads. 4.5.11.5 Ground ( This signal is the negative supply (ground) to the chip. Technical Data 128 to prevent unintentional activation of test functions and V DDF ) ) DD Signal Description For More Information On This Product, Go to: www.freescale.com ) SSF MMC2107 – Rev. 2.0 MOTOROLA is DD ...

Page 129

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Section 5. Reset Controller Module Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Memory Map and Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 132 Reset Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . .133 Reset Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 Reset Test Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Reset Sources ...

Page 130

... Phase-lock loop (PLL) loss of lock – PLL loss of clock – Software Software can assert external RSTOUT pin independent of chip reset state. Software readable status flags indicating the cause of the last reset Reset Controller Module For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 131

... For additional information, refer to Name RESET pin RSTOUT pin 1. Pullups are disconnected from pins configured as outputs. 2. RESET is always synchronized except when in low-power stop mode. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, shows the structure of the reset controller. RESET PIN ...

Page 132

... Reset test register (RTR) — Used only for factory test Table 5-2. Reset Controller Module Memory Map Address Reset control register (RCR) Reset status register (RSR) Reset test register (RTR) Reset Controller Module For More Information On This Product, Go to: www.freescale.com Bits 7–0 Access S/U S/U S/U (2) Reserved MMC2107 – Rev. 2.0 MOTOROLA (1) — ...

Page 133

... The FRCRSTOUT bit allows software to assert or negate the external RSTOUT pin. CAUTION: External logic driving reset configuration data during reset needs to be considered when asserting the RSTOUT pin when setting FRCRSTOUT. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit ...

Page 134

... Last reset caused by watchdog timer timeout watchdog timer timeout reset 1 = Last reset caused by power-on reset 0 = Last reset not caused by power-on reset Reset Controller Module For More Information On This Product, Go to: www.freescale.com Bit 0 POR EXT LOC LOL Reset dependent MMC2107 – Rev. 2.0 MOTOROLA ...

Page 135

... The reset test register (RTR) is used only for factory testing. This register is read-only when not in test mode. Address: 0x000c4_0002 Read: Write: Reset: MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product Last reset state caused by external device asserting the external RESET pin external reset ...

Page 136

... Freescale Semiconductor, Inc. Reset Controller Module 5.7 Functional Description This subsection provides a functional description of the MMC2107 reset controller module. 5.7.1 Reset Sources Table 5-3 controller. Power on External RESET pin (not stop mode) External RESET pin (during stop mode) Watchdog timer Loss of clock Loss of lock ...

Page 137

... SYNCR is set and either the PLL reference or the PLL fails. The reset controller asserts RSTOUT for approximately 512 cycles after the PLL has acquired lock. The part then exits reset and begins operation. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, ...

Page 138

... PLL lock (9A), the reset flow switches to (8) and waits for the RESET pin to be negated before continuing. Technical Data 138 shows the reset logic control flow. In the flow description that Reset Controller Module For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 139

... Freescale Semiconductor, Inc. 1 LOSS OF CLOCK? 2 LOSS OF LOCK? 3 RESET PIN OR WD TIMEOUT OR SW RESET? 12 NEGATE RSTOUT MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product ENABLE BUS MONITOR N 6 BUS CYCLE COMPLETE ASSERT RSTOUT AND LATCH RESET STATUS ...

Page 140

... RESET pin to negate (8 loss of clock or loss of lock condition is detected during the 512-cycle wait, the reset sequence continues after a PLL lock (9, 9A). Technical Data 140 Reset Controller Module For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 141

... EXT bit along with the LOC and/or LOL bits are set. 5.8 Interrupts The reset controller does not generate interrupt requests. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Reset Controller Module Go to: www ...

Page 142

... Freescale Semiconductor, Inc. Reset Controller Module Technical Data 142 Reset Controller Module For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 143

... M•CORE instruction set architecture trades absolute performance capability for reduced total energy consumption. This is accomplished while maintaining an acceptably high level of performance at a given clock frequency. MMC2107 – Rev. 2.0 MOTOROLA M•CORE M210 Central Processor Unit (CPU) For More Information On This Product, Introduction ...

Page 144

... Fast interrupt support, with 16 entry user-controlled alternate register file Vectored and autovectored interrupt support On-chip emulation support Full static design for minimal power consumption M•CORE M210 Central Processor Unit (CPU) For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 145

... MUX ADDER/LOGICAL PRIORITY ENCODER/ ZERO DETECT RESULT MUX WRITEBACK BUS Figure 6-1. M•CORE Processor Block Diagram MMC2107 – Rev. 2.0 MOTOROLA M•CORE M210 Central Processor Unit (CPU) For More Information On This Product, M•CORE M210 Central Processor Unit (CPU block diagram of the M•CORE processor. ...

Page 146

... Fast interrupts take precedence over normal interrupts. Both types have dedicated exception shadow registers. For service requests of either kind, an automatic vector is generated when the request is made. Technical Data 146 M•CORE M210 Central Processor Unit (CPU) For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 147

... PC, and the C bit. The C bit is implemented as bit 0 of the processor status register (PSR) and is the only portion of the PSR accessible in the user model. MMC2107 – Rev. 2.0 MOTOROLA M•CORE M210 Central Processor Unit (CPU) For More Information On This Product, M• ...

Page 148

... A single register is provided to alter the base address of the exception vector table. Two registers are provided for global control and status. Technical Data 148 M•CORE M210 Central Processor Unit (CPU) For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 149

... BYTE 0 Figure 6-4. Data Organization in Registers MMC2107 – Rev. 2.0 MOTOROLA M•CORE M210 Central Processor Unit (CPU) For More Information On This Product, M•CORE M210 Central Processor Unit (CPU) BYTE 1 ...

Page 150

... Absolute Value Add with C Bit Add Immediate Add Unsigned Logical AND Logical AND Immediate AND NOT Arithmetic Shift Right Arithmetic Shift Right, Update C Bit M•CORE M210 Central Processor Unit (CPU) For More Information On This Product, Go to: www.freescale.com Description MMC2107 – Rev. 2.0 MOTOROLA ...

Page 151

... LDM LDQ LOOPT LRW LSL, LSR LSLC, LSRC LSLI, LSRI MMC2107 – Rev. 2.0 MOTOROLA M•CORE M210 Central Processor Unit (CPU) For More Information On This Product, M•CORE M210 Central Processor Unit (CPU) Table 6-1. M•CORE Instruction Set (Sheet Description Bit Clear Immediate ...

Page 152

... Test Operands Test for No Byte Equal Zero Wait Exclusive OR Extended Shift Right Extract Byte 0 Extract Byte 1 Extract Byte 2 Extract Byte 3 Zero-Extend Byte Zero-Extend Half-Word M•CORE M210 Central Processor Unit (CPU) For More Information On This Product, Go to: www.freescale.com Description MMC2107 – Rev. 2.0 MOTOROLA ...

Page 153

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Section 7. Interrupt Controller Module Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Low-Power Mode Operation . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 External Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 Memory Map and Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 155 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 Interrupt Control Register 157 Interrupt Status Register ...

Page 154

... Ability to generate a separate vector number for normal and fast interrupts Ability for software to self-schedule interrupts Software visibility of pending interrupts and interrupt signals to core Asynchronous operation to support wakeup from low-power modes Interrupt Controller Module For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 155

... BITS PLSR PLSR PLSR PLSR Figure 7-1. Interrupt Controller Block Diagram 7.6 External Signals No interrupt controller signals connect off-chip. 7.7 Memory Map and Registers This subsection describes the memory map (see registers. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product ...

Page 156

... PLSR18 PLSR21 PLSR22 PLSR25 PLSR26 PLSR29 PLSR30 PLSR33 PLSR34 PLSR37 PLSR38 (2) Unimplemented Interrupt Controller Module For More Information On This Product, Go to: www.freescale.com (1) Bits 7–0 Access S/U S/U S/U S/U S/U S/U S/U S/U — PLSR3 S PLSR7 S PLSR11 S PLSR15 S PLSR19 S PLSR23 S PLSR27 S PLSR31 S PLSR35 S PLSR39 S — MMC2107 – Rev. 2.0 MOTOROLA ...

Page 157

... The read/write AE bit enables autovectored interrupt requests. Reset sets AE. FVE — Fast Vector Enable Bit The read/write FVE bit enables fast vectored interrupt requests to have vector numbers separate from normal vectored interrupt requests. Reset clears FVE. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit ...

Page 158

... Table 7-2. MASK Encoding MASK[4:0] Decimal Binary 0 00000 1 00001 2 00010 3 00011 • • • 31 11111 Interrupt Controller Module For More Information On This Product, Go to: www.freescale.com Masked Priority Levels 0 1–0 2–0 3–0 • • • • • • 31–0 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 159

... M•CORE processor is asserted or negated. Reset clears FINT. VEC[6:0] — Interrupt Vector Number Field The read-only VEC[6:0] field reflects the state of the 7-bit interrupt vector number. Reset clears VEC[6:0]. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit 15 14 ...

Page 160

... Interrupt Controller Module For More Information On This Product, Go to: www.freescale.com Bit Bit Bit Bit 0 IF35 IF34 IF33 IF32 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 161

... This read/write field forces interrupt requests at the corresponding source numbers. IFRH and IFRL allow software generation of interrupt requests for functional or debug purposes. Writing bit negates the interrupt request. Reset clears the IF[39:0] field. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit 31 ...

Page 162

... For More Information On This Product, Go to: www.freescale.com Bit 24 IP27 IP26 IP25 IP24 Bit 16 IP19 IP18 IP17 IP16 Bit 8 IP11 IP10 IP9 IP8 Bit 0 IP3 IP2 IP1 IP0 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 163

... Read: Write: Reset: NIE[31:0] — Normal Interrupt Enable Field The read/write NIE[31:0] field enables interrupt requests from sources at the corresponding priority level as normal interrupt requests. Reset clears NIE[31:0]. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit NIE31 ...

Page 164

... For More Information On This Product, Go to: www.freescale.com Bit 24 NIP27 NIP26 NIP25 NIP24 Bit 16 NIP19 NIP18 NIP17 NIP16 Bit 8 NIP11 NIP10 NIP9 NIP8 Bit 0 NIP3 NIP2 NIP1 NIP0 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 165

... Reset: Read: Write: Reset: FIE[31:0] — Fast Interrupt Enable Field The read/write FIE[31:0] field enables interrupt requests from sources at the corresponding priority level as fast interrupts. Reset clears FIE[31:0]. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit FIE31 ...

Page 166

... For More Information On This Product, Go to: www.freescale.com Bit 24 FIP27 FIP26 FIP25 FIP24 Bit 16 FIP19 FIP18 FIP17 FIP16 Bit 8 FIP11 FIP10 FIP9 FIP8 Bit 0 FIP3 FIP2 FIP1 FIP0 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 167

... Reset clears PLS[4:0]. 7.8 Functional Description The interrupt controller collects interrupt requests from multiple interrupt sources and provides an interface to the processor core interrupt logic. Interrupt controller functions include: • • • • MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit ...

Page 168

... M•CORE processor if vectored interrupts are required. If the fast interrupt signal is asserted, then the vector number is determined by the highest priority fast interrupt. Technical Data 168 Interrupt Controller Module For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 169

... An interrupt handler may read FIPR or NIPR to determine the priority of the interrupt source. If multiple interrupt sources share the same priority level, then the interrupt service routine to determine the correct source of the interrupt. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Interrupt Controller Module Go to: www ...

Page 170

... Vectored interrupts 64– lowest priority 95 = highest priority 96–127 Vectored interrupts (not used) Interrupt Controller Module For More Information On This Product, Go to: www.freescale.com Interrupt Vector Bits 6 Table 7-5. Interrupt Vector Bits 6 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 171

... Also, the FVE and AE bits in ICR can be programmed to select autovectored/vectored interrupts and also determine if the fast interrupt vector number separate from the normal interrupt vector. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, M•CORE processor Interrupt controller ...

Page 172

... Write SCIDRL after reading TDRE = 1 Write SCIDRL after reading Read SCIDRL after reading RDRF = 1 Read SCIDRL after reading Read SCIDRL after reading IDLE = 1 Interrupt Controller Module For More Information On This Product, Go to: www.freescale.com Flag Clearing Mechanism MMC2107 – Rev. 2.0 MOTOROLA ...

Page 173

... Edge port flag 5 38 EPF6 Edge port flag 6 39 EPF7 Edge port flag 7 MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Source Description Write C0F = 1 or access IC/OC if TFFCA = 1 Write 1 to C1F or access IC/OC if TFFCA = 1 Write 1 to C2F or access IC/OC if TFFCA = 1 Write 1 to C3F or access IC/OC if TFFCA = 1 ...

Page 174

... Freescale Semiconductor, Inc. Interrupt Controller Module Technical Data 174 Interrupt Controller Module For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 175

... Modes of Operation Access to the SRAM is not restricted in any way. The array can be accessed in all supervisor and user modes. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .175 Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 Standby Power Supply Pin (V Standby Operation ...

Page 176

... Static Random-Access Memory (SRAM) For More Information On This Product, Go to: www.freescale.com ) provides standby voltage to the nodes the standby voltage STBY is below the voltage below the the standby power SS above the STBY t --- - = I V MMC2107 – Rev. 2.0 MOTOROLA . STBY STBY ...

Page 177

... If a synchronous reset occurs during a read or write access, then the access completes normally and any pipelined access in progress is stopped without corruption of the SRAM contents. 8.8 Interrupts The SRAM module does not generate interrupt requests. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Static Random-Access Memory (SRAM) Go to: www.freescale.com ...

Page 178

... Freescale Semiconductor, Inc. Static Random-Access Memory (SRAM) Technical Data 178 Static Random-Access Memory (SRAM) For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 179

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .182 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .182 Disabled Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 Glossary of Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185 Registers and Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . 186 Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .187 CMFR Module Configuration Register . . . . . . . . . . . . . .188 CMFR Module Test Register ...

Page 180

... Erase Margin Reads . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 Erasing Shadow Information Words 219 Erase Pulse Amplitude and Width Modulation . . . . . . . . . . 219 Emulation Operation 220 Master Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .220 Interrupts 220 Non-Volatile Memory FLASH (CMFR) For More Information On This Product, Go to: www.freescale.com . The program and PP Figure 9-1. MMC2107 – Rev. 2.0 MOTOROLA ...

Page 181

... MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, MoneT FLASH bitcell 128-Kbyte array size using 16-Kbyte blocks Array block restriction control: – Array block erasing – Array protection for program and erase operations – ...

Page 182

... CMFR. For details of the CMFR module configuration register (CMFRMCR) see 9.7.1.1 CMFR Module Configuration Register High-Voltage Control Technical Data 182 Register. Non-Volatile Memory FLASH (CMFR) For More Information On This Product, Go to: www.freescale.com and 9.7.1.3 CMFR MMC2107 – Rev. 2.0 MOTOROLA ...

Page 183

... The size of an array block in the CMFR module is fixed at 16 Kbytes. The total CMFR array is distributed into eight blocks. For a detailed description of the read page buffer operation see Page Buffers MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, 64-BYTE PROGRAM PAGE BUFFER 7 ...

Page 184

... CMFR array. The shadow information is in the lowest array block 0 of the CMFR array. Note that the shadow row is erased with block 0. Technical Data 184 Non-Volatile Memory FLASH (CMFR) For More Information On This Product, Go to: www.freescale.com , to PP MMC2107 – Rev. 2.0 MOTOROLA ...

Page 185

... CMFR hardware adjusts the reference of the sense amplifier to check for correct program operation. All CMFR array off-page reads between the first programming write and clearing the SES bit are program margin reads. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Non-Volatile Memory FLASH (CMFR) Go to: www ...

Page 186

... Figure 9-2. CMFR Array and Control Register Addressing Non-Volatile Memory FLASH (CMFR) For More Information On This Product, Go to: www.freescale.com Figure 9-2. 0x00d0_001f UNIMPLEMENTED 0x00d0_000c 0x00d0_000b CMFR HIGH-VOLTAGE CONTROL REGISTER (CMFRCTL) 0x00d0_0008 0x00d0_0007 CMFR MODULE TEST REGISTER (CMFRMTR) 0x00d0_0004 0x00d0_0003 CMFR MODULE CONFIGURATION REGISTER (CMFRMCR) 0x00d0_0000 MMC2107 – Rev. 2.0 MOTOROLA ...

Page 187

... The access time of a CMFR register is one system clock for both read and write accesses. Accesses to unimplemented registers cause the BIU to generate a transfer error exception. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Table 9-1. Non-Volatile Memory FLASH Memory Map ...

Page 188

... For More Information On This Product, Go to: www.freescale.com Bit 24 SIE LOCKCTL DIS RSVD24 0 0 Note Bit 16 SUPV3 SUPV2 SUPV1 SUPV0 Bit 8 DATA3 DATA2 DATA1 DATA0 Bit MMC2107 – Rev. 2.0 MOTOROLA ...

Page 189

... Accessing the control block registers accesses the registers and not the shadow information. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product CMFR in low-power stop mode ...

Page 190

... CMFR BIU does not respond to array accesses. The reset value is defined during reset configuration by the external D28 pin. Technical Data 190 1 = Write-locked registers protected 0 = Write-lock disabled 1 = Array information disabled 0 = Array information enabled Non-Volatile Memory FLASH (CMFR) For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 191

... The default reset state of DATA[7:0] bits are data and program address space (DATA[M] = 0). MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product Array block in supervisor address space 0 = Array block in unrestricted address space ...

Page 192

... If the LOCKCTL bit is set before PROTECT[7:0] is cleared, the device must use debug mode to program or erase the CMFR. Technical Data 192 1 = Array block protected 0 = Array block not protected Non-Volatile Memory FLASH (CMFR) For More Information On This Product, Go to: www.freescale.com MMC2107 – Rev. 2.0 MOTOROLA ...

Page 193

... BIU. Address: 0x00d0_0004 through 0x00d0_0007 Read: Write: Reset: Read: Write: Reset: Read: Write: Reset: Read: Write: Reset: Figure 9-4. CMFR Module Test Register (CMFRMTR) MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, Bit Bit ...

Page 194

... Table 9-2. Negative Voltage Modulation PAWS[2:0] 100 101 110 111 0XX 1. When PAWS[ and PAWS[1:0] have no effect. 9-2. Non-Volatile Memory FLASH (CMFR) For More Information On This Product, Go to: www.freescale.com NVR = 0 NVR = 1 –6 V –2 V –7 V –3 V –8 V –4 V –9 V –5 V (1) Reserved MMC2107 – Rev. 2.0 MOTOROLA ...

Page 195

... GDB selects the gate, source, or drain. In programming, GDB selects gate (GDB = 1) or drain (GDB = 0) voltage for amplitude modulation. When PAWS[ mask plugs control amplitude modulation. When PAWS[ the PAWS[1:0] bits control amplitude modulation. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product Gate selected 0 = Drain/source selected Table 9-3 ...

Page 196

... For More Information On This Product, Go to: www.freescale.com SCLKR0 CLKPE1 CLKPE0 CLKPM3 CLKPM2 CLKPM1 CLKPM0 BLOCK3 BLOCK2 BLOCK1 BLOCK0 ERASE SES 9-6. MMC2107 – Rev. 2.0 MOTOROLA Bit 24 0 Bit 16 0 Bit 8 0 Bit 0 EHV 0 ...

Page 197

... CMFRCTL. The total pulse time is defined by: Where clock scaling (see CLKPE[1: (ERASE CLKPM[6:0] MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product, PULSE WIDTH Figure 9-6. Pulse Status Timing pulse width = system clock period ...

Page 198

... System Clock Frequency (MHz) Minimum 000 001 8 010 12 011 18 100 24 101 36 Reserved by Motorola for future use Non-Volatile Memory FLASH (CMFR) For More Information On This Product, Go to: www.freescale.com Clock Scaling (R) (1) Maximum Reserved 3 Table 9-4 to set MMC2107 – Rev. 2.0 MOTOROLA ...

Page 199

... The default reset state of CLKPE[1: Table 9-5. Clock Period Exponent and Pulse Width Range ERASE CLKPE[1:0] Exponent ( The maximum system clock frequency is 33 MHz. MMC2107 – Rev. 2.0 MOTOROLA For More Information On This Product The program pulse number (pulse), clock N multiply of the clock period ...

Page 200

... Check the results — pulse width = 30.3 ns SCLKR[2:0] = 100, CLKPE[1:0] = 11, CLKPM[6:0] = 0101010, ERASE = 0, system clock frequency = 33.0 MHz Non-Volatile Memory FLASH (CMFR) For More Information On This Product, Go to: www.freescale.com shows that a SCLKR[2:0] value of 100 shows that when and solving 1.00 ms where MMC2107 – Rev. 2.0 MOTOROLA ...

Related keywords