scn68681 NXP Semiconductors, scn68681 Datasheet - Page 16

no-image

scn68681

Manufacturer Part Number
scn68681
Description
Dual Asynchronous Receiver/transmitter Duart
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
scn68681C1A44
Manufacturer:
PHILIPS
Quantity:
430
Part Number:
scn68681C1A44
Manufacturer:
NXP
Quantity:
5 510
Part Number:
scn68681C1A44
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
scn68681C1A4A
Quantity:
12 388
Part Number:
scn68681C1N40
Manufacturer:
PHILIPS
Quantity:
2 600
Part Number:
scn68681C1N40
Manufacturer:
PHILIPS
Quantity:
2 600
Part Number:
scn68681C1N40
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
scn68681E1A44
Manufacturer:
S
Quantity:
204
Part Number:
scn68681E1A44
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
scn68681E1N40
Manufacturer:
PHILIPS
Quantity:
2 429
Duty cycle of 16x clock is 50%
Philips Semiconductors
OPCR[3:2] – OP3 Output Select
This bit programs the OP3 output to provide one of the following:
00: The complement of OPR[3].
01: The counter/timer output, in which case OP3 acts as an open-
10: The 1X clock for the Channel B transmitter, which is the clock
11: The 1X clock for the Channel B receiver, which is the clock that
OPCR[1:0] – OP2 Output Select
This field programs the OP2 output to provide one of the following:
00: The complement of OPR[2].
01: The 16X clock for the Channel A transmitter. This is the clock
10: The 1X clock for the Channel A transmitter, which is the clock
11: The 1X clock for the Channel A receiver, which is the clock that
Table 4.
NOTE:
2004 Mar 02
that shifts the transmitted data. If data is not being transmitted, a
that shifts the transmitted data. If data is not being transmitted, a
Dual asynchronous receiver/transmitter (DUART)
NORMAL RATE
drain output. In the timer mode, this output is a square wave at
the programmed frequency. In the counter mode, the output
remains HIGH until terminal count is reached, at which time it
goes LOW. The output returns to the HIGH state when the
counter is stopped by a stop counter command. Note that this
output is not masked by the contents of the IMR.
free running 1X clock is output.
samples the received data. If data is not being received, a free
running 1X clock is output.
selected by CSRA[3:0], and will be a 1X clock if CSRA[3:0] = 1111.
free running 1X clock is output.
samples the received data. If data is not being received, a free
running 1X clock is output.
(BAUD)
115.2K
14.4K
28.8K
57.6K
134.5
19.2k
38.4k
1050
1200
1800
2000
2400
4800
7200
9600
150
200
300
600
110
50
75
Bit Rate Generator Characteristics
Crystal or Clock = 3.6864 MHz
CLOCK (kHz)
ACTUAL 16x
1843.2K
16.756
32.056
1.759
2.153
153.6
230.4
307.2
460.8
614.4
921.6
115.2
1%.
19.2
28.8
38.4
76.8
0.8
1.2
2.4
3.2
4.8
9.6
ERROR (%)
-0.069
-0.260
0.059
0.175
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
Asynchronous UART communications can tolerate frequency error
of 4.1% to 6.7% in a “clean” communications channel. The percent
of error changes as the character length changes. The above
percentages range from 5 bits not parity to 8 bits with parity and one
stop bit. The error with 8 bits no parity and one stop bit is 4.6%. If a
stop bit length of 9/16 is used, the error tolerance will approach 0
due to a variable error of up to 1/16 bit time in receiver clock phase
alignment to the start bit.
Table 5.
NOTE:
*
ACR – Auxiliary Control Register
ACR[7] – Baud Rate Generator Set Select
This bit selects one of two sets of baud rates to be generated by the
BRG:
Set 1: 50, 110, 134.5, 200, 300, 600, 1.05 k, 1.2 k, 2.4 k, 4.8 k,
Set 2: 75, 110, 134.5, 150, 300, 600, 1.2 k, 1.8 k, 2.0 k, 2.4 k, 4.8 k,
The selected set of rates is available for use by the Channel A and
B receivers and transmitters as described in CSRA and CSRB.
Baud rate generator characteristics are given in Table 4.
ACR[6:4] – Counter/Timer Mode And Clock Source Select
This field selects the operating mode of the counter/timer and its
clock source as shown in Table 5.
ACR[3:0] – IP3, IP2, IP1, IP0 Change-of-State Interrupt Enable
This field selects which bits of the input port change register (IPCR)
cause the input change bit in the interrupt status register (ISR[7]) to
be set. If a bit is in the ‘on’ state the setting of the corresponding bit
in the IPCR will also result in the setting of ISR[7], which results in
the generation of an interrupt output if IMR[7] = 1. If a bit is in the
‘off’ state, the setting of that bit in the IPCR has no effect on ISR[7].
IPCR – Input Port Change Register
IPCR[7] – IP3, IP2, IP1, IP0 Change-of-State
These bits are set when a change-of-state, as defined in the input
port section of this data sheet, occurs at the respective input pins.
They are cleared when the IPCR is read by the CPU. A read of the
IPCR also clears ISR[7], the input change bit in the interrupt status
register. The setting of these bits can be programmed to generate
an interrupt to the CPU.
ACR[6:4]
000
001
010
011
100
101
110
111
In these modes, the Channel B receiver clock should normally be
generated from the baud rate generator. Timer mode generates
squarewave.
7.2 k, 9.6 k, and 38.4 k baud.
9.6 k, and 19.2 k baud.
Counter
Counter
Counter
Counter
Timer (square wave)
Timer (square wave)
Timer (square wave)
Timer (square wave)
ACR 6:4 Field Definition
MODE
External (IP2)*
TxCA – 1x clock of Channel A
transmitter
TxCB – 1x clock of Channel B
transmitter
Crystal or external clock
(x1/CLK) divided by 16
External (IP2)*
External (IP2) divided by 16*
Crystal or external clock
(X1/CLK)
Crystal or external clock
(X1/CLK) divided by 16
CLOCK SOURCE
SCN68681
Product data

Related parts for scn68681