Table of Contents
MOTOROLA
MC68307 USER’S MANUAL
xiii
8.4.1.16
Output Port Data Registers (UOP1, UOP0)............................................ 8-30
8.4.2
Programming ............................................................................................ 8-30
8.4.2.1
Serial Module Initialization ...................................................................... 8-31
8.4.2.2
I/O Driver Example ................................................................................. 8-31
8.4.2.3
Interrupt Handling ................................................................................... 8-31
8.5
Serial Module Initialization Sequence ......................................................... 8-31
Section 9
IEEE 1149.1 Test Access Port
9.1
Overview ....................................................................................................... 9-1
9.2
Tap Controller ............................................................................................... 9-3
9.3
Boundary Scan Register ............................................................................... 9-4
9.4
Instruction Register ....................................................................................... 9-9
9.4.1
EXTEST (0000) ........................................................................................ 9-10
9.4.2
SAMPLE/PRELOAD (0010)...................................................................... 9-10
9.4.3
BYPASS (1111) ........................................................................................ 9-10
9.4.4
CLAMP (1100) .......................................................................................... 9-11
9.5
MC68307 Restrictions................................................................................. 9-11
9.6
Non-IEEE 1149.1 Operation ....................................................................... 9-11
Section 10
Applications Information
10.1
MC68307 Minimum Stand-Alone System Hardware .................................. 10-1
10.1.1
MC68307 Signal Configuration ................................................................. 10-1
10.1.2
EPROM Memory Interface........................................................................ 10-5
10.1.3
RAM Memory Interface ............................................................................. 10-5
10.1.4
RS232 UART Port .................................................................................... 10-5
10.1.5
EPROM Timing ......................................................................................... 10-6
10.1.6
RAM Timing .............................................................................................. 10-6
10.2
Power Management.................................................................................... 10-7
10.2.1
Fully Static Operation ............................................................................... 10-7
10.2.2
Prescalable CPU Clock ............................................................................ 10-8
10.2.3
Wake-Up ................................................................................................... 10-8
10.2.4
Low-Power Sleep Mode............................................................................ 10-9
10.2.5
Low-Power Stop Mode ............................................................................. 10-9
10.3
Using M-Bus Software to Communicate Between Processor Systems .... 10-10
10.3.1
Overview of M-Bus Software Transfer Mechanism ................................ 10-11
10.3.2
M-Bus Master Mode Operation............................................................... 10-12
10.3.3
M-Bus Slave Mode Operation................................................................. 10-12
10.3.4
Description of Setup ............................................................................... 10-13
10.3.5
Software Flow ......................................................................................... 10-13
10.3.6
Transfer Blocks ....................................................................................... 10-14
10.3.7
Software Implementation ........................................................................ 10-14
10.3.7.1
Software Listing 1—M-Bus Master Software ........................................ 10-17
10.3.7.2
Software Listing 2—M-Bus Slave Software .......................................... 10-21