|
Part Number |
MC68HC908EY16 |
|
Manufacturer |
Motorola |
|
Semiconductor DataSheet |
|
DataSheet View |
|
www.DataSheet4U.com
MC68HC908EY16
Advance Information
M68HC08
Microcontrollers
MC68HC908EY16/D Rev. 2.0, 6/2002
WWW.MOTOROLA.COM/SEMICONDUCTORS
68HC908EY16
Advance Information — Rev 2.0
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. "Typical" parameters which may be provided in Motorola data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including "Typicals" must be validated for each customer application by customer’s technical experts. Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
Motorola and are registered trademarks of Motorola, Inc. DigitalDNA is a trademark of Motorola, Inc.
© Motorola, Inc., 2002
68HC908EY16 — Rev 2.0 MOTOROLA
Advance Information 3
Advance Information 4
68HC908EY16 — Rev 2.0 MOTOROLA
Advance Information — 68HC908EY16
List of Paragraphs
List of Paragraphs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Section 1. General Description . . . . . . . . . . . . . . . . . . . . 33 Section 2. Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Section 3. Random Access Memory (RAM) . . . . . . . . . . 57 Section 4. FLASH Memory . . . . . . . . . . . . . . . . . . . . . . . . 59 Section 5. Central Processor Unit (CPU) . . . . . . . . . . . . 69 Section 6. System Integration Module (SIM) . . . . . . . . . 87 Section 7. Internal Clock Generator (ICG) Module . . . . 111 Section 8. Configuration Registers (CONFIG1 & CONFIG2). . . . . . . . . . . . . . . . . . . . . . . . . . . 149 Section 9. Break Module (BRK) . . . . . . . . . . . . . . . . . . . 157 Section 10. Monitor ROM (MON) . . . . . . . . . . . . . . . . . . 167 Section 11. Computer Operating Properly (COP) Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 Section 12. Low-Voltage Inhibit (LVI) Module . . . . . . . 187 Section 13. External Interrupt (IRQ) . . . . . . . . . . . . . . . 193
68HC908EY16 — Rev 2.0 MOTOROLA List of Paragraphs
Advance Information 5
List of Paragraphs Section 14. Enhanced Serial Communications Interface (ESCI) Module . . . . . . . . . . . . . . . . . . . . . . . 201 Section 15. Serial Peripheral Interface (SPI) Module . . 247 Section 16. Timer Interface A (TIMA) Module . . . . . . . . 279 Section 17. Timer Interface B (TIMB) Module . . . . . . . . 303 Section 18. BEMF Module . . . . . . . . . . . . . . . . . . . . . . . 327 Section 19. Keyboard Interrupt (KBD) Module . . . . . . . 329 Section 20. Timebase Module (TBM) . . . . . . . . . . . . . . . 337 Section 21. Analog-to-Digital Converter (ADC) Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345 Section 22. Input/Output (I/O) Ports . . . . . . . . . . . . . . . 363 Section 23. Preliminary Electrical Specifications . . . . 381 Section 24. Mechanical Specifications . . . . . . . . . . . . . 395 Section 25. Ordering Information . . . . . . . . . . . . . . . . . 397 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399 Glossary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
Advance Information 6 List of Paragraphs
68HC908EY16 — Rev 2.0 MOTOROLA
Advance Information — 68HC908EY16
Table of Contents
List of Paragraphs Table of Contents List of Figures List of Tables Section 1. General Description
1.1 1.2 1.3 1.4 1.5 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 MCU Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
1.6 Pin Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 1.6.1 Power Supply Pins (VDD and VSS) . . . . . . . . . . . . . . . . . . . . 39 1.6.2 Oscillator Pins (PTC4/OSC1 and PTC3/OSC2) . . . . . . . . . . 40 1.6.3 External Reset Pin (RST) . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 1.6.4 External Interrupt Pin (IRQ) . . . . . . . . . . . . . . . . . . . . . . . . . 40 1.6.5 Analog Power Supply/Reference Pins (VDDA, VREFH, VSSA and VREFL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 1.6.6 Port A I/O Pins (PTA6/SS, PTA5/SPSCK, PTA4/KDB4–PTA0/KBD0) . . . . . . . . . . . . . . . . . . . . . . . . . . 41 1.6.7 Port B I/O Pins (PTB7/AD7/TBCH1, PTB6/AD6/TBCH0, PTB5/AD5–PTB0/AD0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 1.6.8 Port C I/O Pins (PTC4/OSC1, PTC3/OSC2, PTC2/MCLK, PTC1/MOSI, PTC0/MISO) . . . . . . . . . . . . . . . . . . . . . . . . . . 41 1.6.9 Port D I/O Pins (PTD1/TACH1–PTD0/TACH0) . . . . . . . . . . 42
68HC908EY16 — Rev 2.0 MOTOROLA Table of Contents Advance Information 7
Table of Contents
1.6.10 Port E I/O Pins (PTE1/RxD–PTE0/TxD). . . . . . . . . . . . . . . .42
Section 2. Memory Map
2.1 2.2 2.3 2.4 2.5 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Unimplemented Memory Locations . . . . . . . . . . . . . . . . . . . . . . 43 Reserved Memory Locations . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Input/Output (I/O) Section. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Section 3. Random Access Memory (RAM)
3.1 3.2 3.3 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Section 4. FLASH Memory
4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 4.11 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 FLASH Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 FLASH Page Erase Operation . . . . . . . . . . . . . . . . . . . . . . . . . 62 FLASH Mass Erase Operation . . . . . . . . . . . . . . . . . . . . . . . . . 63 FLASH Program/Read Operation . . . . . . . . . . . . . . . . . . . . . . .64 FLASH Block Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65 FLASH Block Protect Register . . . . . . . . . . . . . . . . . . . . . . . . . 67 Wait Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Advance Information 8 Table of Contents
68HC908EY16 — Rev 2.0 MOTOROLA
Table of Contents
Section 5. Central Processor Unit (CPU)
5.1 5.2 5.3 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
5.4 CPU Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 5.4.1 Accumulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71 5.4.2 Index Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 5.4.3 Stack Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5.4.4 Program Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 5.4.5 Condition Code Register . . . . . . . . . . . . . . . . . . . . . . . . . . .75 5.5 Arithmetic/Logic Unit (ALU) . . . . . . . . . . . . . . . . . . . . . . . . . . .77
5.6 Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77 5.6.1 Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 5.6.2 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 5.7 5.8 5.9 CPU During Break Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Instruct |