8XC196NT USER’S MANUAL
7-10
CAUTION
For mode 0 receptions, the BAUD_VALUE must be 0002H or greater.
Otherwise, the resulting data in the receive shift register will be incorrect.
SP_BAUD
Address:
Reset State:
1FBCH
0000H
The serial port baud rate (SP_BAUD) register selects the serial port baud rate and clock source. The
most-significant bit selects the clock source. The lower 15 bits represent BAUD_VALUE, an unsigned
integer that determines the baud rate.
The maximum BAUD_VALUE is 32,767 (7FFFH). In asynchronous modes 1, 2, and 3, the minimum
BAUD_VALUE is 0000H when using XTAL1 and 0001H when using T1CLK. In synchronous mode 0,
the minimum BAUD_VALUE is 0001H for transmissions and 0002H for receptions.
15
8
CLKSRC
BV14
BV13
BV12
BV11
BV10
BV9
BV8
7
0
BV7
BV6
BV5
BV4
BV3
BV2
BV1
BV0
Bit
Number
Bit
Mnemonic
Function
15
CLKSRC
Serial Port Clock Source
This bit determines whether the serial port is clocked from an internal or
an external source.
1 = XTAL1 (internal source)
0 = T1CLK (external source)
14:0
BV14:0
Baud Rate
These bits constitute the BAUD_VALUE.
Use the following equations to determine the BAUD_VALUE for a given
baud rate.
Synchronous mode 0:
†
or
Asynchronous modes 1, 2, and 3:
or
†
For mode 0 receptions, the BAUD_VALUE must be 0002H or greater.
Otherwise, the resulting data in the receive shift register will be incorrect.
Figure 7-7. Serial Port Baud Rate (SP_BAUD) Register
BAUD_VALUE
F
OS C
Baud Rate
2
×
--------------------------------------
1
–
=
T1CLK
Baud Rate
----------------------------
BAUD_VALUE
F
O SC
Baud Rate
16
×
-----------------------------------------
1
–
=
T1CLK
Baud Rate
8
×
--------------------------------------
Содержание 8XC196NT
Страница 1: ...8XC196NT Microcontroller User s Manual...
Страница 2: ...8XC196NT Microcontroller User s Manual June 1995 Order Number 272317 003...
Страница 22: ...1 Guide to This Manual...
Страница 23: ......
Страница 35: ......
Страница 36: ...2 Architectural Overview...
Страница 37: ......
Страница 49: ......
Страница 50: ...3 Programming Considerations...
Страница 51: ......
Страница 66: ...4 Memory Partitions...
Страница 67: ......
Страница 104: ...5 Standard and PTS Interrupts...
Страница 105: ......
Страница 147: ......
Страница 148: ...6 I O Ports...
Страница 149: ......
Страница 176: ...7 Serial I O SIO Port...
Страница 177: ......
Страница 194: ...8 Synchronous Serial I O SSIO Port...
Страница 195: ......
Страница 211: ......
Страница 212: ...9 Slave Port...
Страница 213: ......
Страница 231: ......
Страница 232: ...10 Event Processor Array EPA...
Страница 233: ......
Страница 270: ...11 Analog to digital Converter...
Страница 271: ......
Страница 291: ......
Страница 292: ...12 Minimum Hardware Considerations...
Страница 293: ......
Страница 306: ...13 Special Operating Modes...
Страница 307: ......
Страница 317: ......
Страница 318: ...14 Interfacing with External Memory...
Страница 319: ......
Страница 362: ...15 Programming the Nonvolatile Memory...
Страница 363: ......
Страница 408: ...A Instruction Set Reference...
Страница 409: ......
Страница 476: ...B Signal Descriptions...
Страница 477: ......
Страница 493: ......
Страница 494: ...C Registers...
Страница 495: ......
Страница 565: ......
Страница 566: ...Glossary...
Страница 567: ......
Страница 580: ...Index...
Страница 581: ......
Страница 597: ......