Intel 8XC196MC User Manual page 9

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
5.6.6
Serial I/O Modes .....................................................................................................5-37
5.6.6.1
Synchronous SIO Transmit Mode Example .......................................................5-43
5.6.6.2
Synchronous SIO Receive Mode Example ........................................................5-47
5.6.6.3
Asynchronous SIO Transmit Mode Example .....................................................5-50
5.6.6.4
Asynchronous SIO Receive Mode Example ......................................................5-55
CHAPTER 6
I/O PORTS
6.1
I/O PORTS OVERVIEW ................................................................................................ 6-1
6.2
INPUT-ONLY PORTS 1 (MC, MD ONLY) AND 0.......................................................... 6-2
6.2.1
Standard Input-only Port Operation ..........................................................................6-3
6.2.2
Standard Input-only Port Considerations ..................................................................6-4
6.3
6.3.1
Bidirectional Port Operation ......................................................................................6-6
6.3.2
Bidirectional Port Pin Configurations .........................................................................6-9
6.3.3
Bidirectional Port Pin Configuration Example .........................................................6-11
6.3.4
Bidirectional Port Considerations ............................................................................6-12
6.4
BIDIRECTIONAL PORTS 3 AND 4 (ADDRESS/DATA BUS)...................................... 6-14
6.4.1
Bidirectional Ports 3 and 4 (Address/Data Bus) Operation .....................................6-15
6.4.2
Using Ports 3 and 4 as I/O ......................................................................................6-16
6.4.3
Design Considerations for Ports 3 and 4 ................................................................6-16
6.5
STANDARD OUTPUT-ONLY PORT 6 ....................................................................... 6-16
6.5.1
Output-only Port Operation .....................................................................................6-17
6.5.2
Configuring Output-only Port Pins ..........................................................................6-17
CHAPTER 7
7.1
SERIAL I/O (SIO) PORT FUNCTIONAL OVERVIEW ................................................... 7-1
7.2
SERIAL I/O PORT SIGNALS AND REGISTERS .......................................................... 7-2
7.3
SERIAL PORT MODES ................................................................................................. 7-4
7.3.1
Synchronous Modes (Modes 0 and 4) ......................................................................7-5
7.3.1.1
Mode 0 .................................................................................................................7-5
7.3.1.2
Mode 4 .................................................................................................................7-6
7.3.2
Asynchronous Modes (Modes 1, 2, and 3) ...............................................................7-7
7.3.2.1
Mode 1 .................................................................................................................7-7
7.3.2.2
Mode 2 .................................................................................................................7-8
7.3.2.3
Mode 3 .................................................................................................................7-9
7.3.2.4
Mode 2 and 3 Timings ..........................................................................................7-9
7.3.2.5
Multiprocessor Communications ..........................................................................7-9
7.4
PROGRAMMING THE SERIAL PORT ........................................................................ 7-10
7.4.1
Configuring the Serial Port Pins ..............................................................................7-10
7.4.2
Programming the Control Register ..........................................................................7-10
7.4.3
Programming the Baud Rate and Clock Source .....................................................7-12
7.4.4
Enabling the Serial Port Interrupts ..........................................................................7-14
vi
Get other manuals https://www.bkmanuals.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents