7
Serial Mode 1
Serial Mode 1 is selected by tying SMS0 (Pin 18) low, SMS1
(Pin 19) high, and SEL (Pin 28) low (Figure 4B). In this mode
the HI-7159A interface emulates a UART, reading and
writing data in serial data packets of 1 start bit, 8 data bits,
1 parity bit (EVEN), and 1 stop bit. The baud rate is
determined by the state of BRS0 and BRS1 (Pins 24 and 25)
as shown in Table 2. Pin 15 becomes the serial receiver pin
(RXD) and pin 16 the serial transmitter pin (TXD). CS (Pin
17) remains a chip select and must either be tied to DGND or
pulled low (see Figure 2B) to access the device.
SAD0-SAD3 (Pins 20-23) are unused in this mode and
should be tied high.
Design Hints for Operating in the Parallel
Mode
1. Always read the status byte twice to make sure that it is
cleared.
2. Make sure the status byte is cleared before issuing a
command to change modes.
3. Read each digit pair ve times before reading the next
byte to ensure that the output data is correct.
4. Use a watchdog timer to monitor conversion time. If
conversion time is either too long or too short, reissue the
conversion command.
TABLE 2. BAUD RATE SELECTION FOR MODES 1 AND 2
BRS0
PIN 24
BRS1
PIN 25
BAUD RATE
(fXTAL = 2.4576MHz)
BAUD RATE vs
fXTAL
DGND
300
fXTAL/8192
DGND
VCC
1200
fXTAL/2048
VCC
DGND
9600
fXTAL/256
VCC
19200
fXTAL/128
+5V
CS
15
RD
14
28
SEL
1
27
16
17
ADDRESS
DECODER
26
25
D7
18
D0
RD
D7
D0
P
XTAL
DGND
ADDRESS
BUS
DATA
BUS
VEE
VCC
WR
-5V
HI- 7159A
FIGURE 3. PARALLEL MODE CONFIGURATION
FIGURE 4A. SERIAL MODE 0
FIGURE 4B. SERIAL MODE 1
FIGURE 4C. SERIAL MODE 2
FIGURE 4. SERIAL MODE CONFIGURATIONS
+5V
CS
15
14
1
27
16
26
18
17
28
CLK
RXD/TXD
CLK
RXD/TXD
SM0
SEL
8051
19
SM1
10
11
VEE
VCC
DGND
HI-7159A
-5V
20-25
+5V
P
XTAL
+5V
TXD
RXD
TXD
SM0
+5V
SM1
BRS0
BRS1
+5V
20K
XTAL
VCC
VEE
CS
SEL
DGND
-5V
+5V
UART/
P
15
14
1
27
16
19
18
24
25
26
17
28
20 - 23
HI-7159A
+5V
15
14
1
27
16
26
19
18
28
TXD
RXD
TXD
24
25
BRS0
BRS1
+5V
SEL
UART/
P
20K
SM1
+5V
SM0
ADDRESS
SELECT
20
21
22
23
17
VCC
VEE
DGND
HI-7159A
-5V
TO UP TO 31 ADDITIONAL
HI-7159As
XTAL
HI-7159A
相关PDF资料
HI3-DAC80V-5 CONV D/A 12BIT OUTPUT AMP 24PDIP
HI3026JCQ ADC FLASH 8BIT 120MSPS 48-PQFP
HI3338KIBZ IC DAC 8BIT CMOS 16-SOIC
HI5628INZ IC DAC 8BIT 125MSPS DUAL 48-LQFP
HI5660IBZ CONV D/A 8-BIT 125MSPS 28-SOIC
HI5662/6IN ADC DUAL 8-BIT 60MSPS 44-MQFP
HI5714/7CB-T CONV A/D 8BIT 75MSPS 24-SOIC
HI5728/6INZ DAC DUAL 10-BIT 60MHZ 48-LQFP
相关代理商/技术参数
HI-3717 制造商:HOLTIC 制造商全称:Holt Integrated Circuits 功能描述:Single-Rail ARINC 717 Protocol IC with SPI Interface
HI-3717PCI 制造商:HOLTIC 制造商全称:Holt Integrated Circuits 功能描述:Single-Rail ARINC 717 Protocol IC with SPI Interface
HI-3717PCIF 制造商:HOLTIC 制造商全称:Holt Integrated Circuits 功能描述:Single-Rail ARINC 717 Protocol IC with SPI Interface
HI-3717PCM 制造商:HOLTIC 制造商全称:Holt Integrated Circuits 功能描述:Single-Rail ARINC 717 Protocol IC with SPI Interface
HI-3717PCMF 制造商:HOLTIC 制造商全称:Holt Integrated Circuits 功能描述:Single-Rail ARINC 717 Protocol IC with SPI Interface
HI-3717PCT 制造商:HOLTIC 制造商全称:Holt Integrated Circuits 功能描述:Single-Rail ARINC 717 Protocol IC with SPI Interface
HI-3717PCTF 制造商:HOLTIC 制造商全称:Holt Integrated Circuits 功能描述:Single-Rail ARINC 717 Protocol IC with SPI Interface
HI-3717PQI 制造商:HOLTIC 制造商全称:Holt Integrated Circuits 功能描述:Single-Rail ARINC 717 Protocol IC with SPI Interface