English
Language : 

MC68HC05E5 Datasheet, PDF (8/140 Pages) Freescale Semiconductor, Inc – General Release Specification
Table of Contents
Freescale Semiconductor, Inc.
Section 11. Motorola Bus (M Bus) Interface
11.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
11.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
11.3 M-Bus Interface Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
11.4 M-Bus System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . .71
11.5 M-Bus Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
11.5.1 Start Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
11.5.2 Slave Address Transmission. . . . . . . . . . . . . . . . . . . . . . . .73
11.5.3 Data Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
11.5.4 Repeated Start Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
11.5.5 Stop Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
11.5.6 Arbitration Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
11.5.7 Clock Synchronization. . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
11.5.8 Handshaking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
11.6 M-Bus Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
11.6.1 M-Bus Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . .76
11.6.2 M-Bus Frequency Divider Register . . . . . . . . . . . . . . . . . . .78
11.6.3 M-Bus Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
11.6.4 M-Bus Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
11.6.5 M-Bus Data I/O Register . . . . . . . . . . . . . . . . . . . . . . . . . . .84
11.7 M-Bus Pin Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
11.8 Programming Considerations . . . . . . . . . . . . . . . . . . . . . . . . . .86
11.8.1 Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
11.8.2 Generation of a Start Signal and the First Byte
of Data Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
11.8.3 Software Responses after Transmission or Reception
of a Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
11.8.4 Generation of the Stop Signal . . . . . . . . . . . . . . . . . . . . . . .89
11.8.5 Generation of a Repeated Start Signal . . . . . . . . . . . . . . . .90
11.8.6 Slave Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
11.8.7 Arbitration Lost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
11.9 Operation During Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . .91
11.10 Operation During Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . .91
General Release Specification
Table of Contents
For More Information On This Product,
Go to: www.freescale.com
MC68HC05E5 — Rev. 1.0