Intel 8XC196MC User Manual page 126

Table of Contents

Advertisement

PTS Serial I/O Mode Control Block 1 (Continued)
(8XC196MC, MD)
Register
Location
BAUD
PTSCB1 + 4
EPAREG
PTSCB1 + 2
PTSCON
PTSCB1 + 2
Figure 5-19. PTS Control Block 1 – Serial I/O Mode (Continued)
Baud Value
This register contains the 16-bit value that the PTS uses to
generate the desired baud rate. Use the following formula to
calculate the value to load into the BAUD register.
Baud_value
=
where:
Baud_value
F
1
XTAL
Multiplier
Baud_rate
EPA_prescale
EPA Time Register Address
This register contains the 16-bit address of the EPA x _TIME or
COMP x _TIME register.
PTS Control Bits
M2:0
PTS Mode
M2
0
0
SA1:0
Asynchronous, Synchronous Mode Select
SA1
0
1
Always write the same value to both bits.
MAJ
Majority Sampling
0 = disable majority sampling in asynchronous receive
mode; always clear in all other modes
1= enable majority sampling in asynchronous receive
mode
Get other manuals https://www.bkmanuals.com
STANDARD AND PTS INTERRUPTS
Function
F
1
X T A L
--------------------------------------------------------------------------------------------------------------- -
(
Multiplier Ba ud_ra te
is a 16-bit integer that is loaded into the
BAUD register
is the input frequency on XTAL1, in MHz
is the number 4 in asynchronous modes and
the number 8 in synchronous modes
is the desired baud rate, in bits per second
is the EPA timer prescale number, 1–64
M1
M0
0
1
SIO Receive Mode
1
1
SIO Transmit Mode
SA0
0
enables the asynchronous serial I/O
modes
1
enables the synchronous serial I/O
modes
×
)
EPA_prescale
5-39

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents