![AeroComm AC4790 User Manual Download Page 14](http://html.mh-extra.com/html/aerocomm/ac4790/ac4790_user-manual_3049207014.webp)
14
Serial Interface
In order for an OEM Host and a transceiver to communicate over the serial interface they need to have the same serial data rate.
Refer to the following sections to ensure OEM Host Data Rate matches the Serial Interface Baud Rate.
OEM Host Data Rate
The OEM Host Data Rate is the rate with which the
OEM Host and transceiver communicate over the
serial interface. This rate is independent of the RF
baud rate, which is fixed at 76.8 kbps. Possible
values range from 1200 bps to 115,200 bps. Note:
Enabling Parity cuts throughput in half and the
Interface Buffer size in half. The following
asynchronous serial data formats are supported:
Table 5 - Supported Serial Formats
Serial Interface Baud Rate
This two-byte value determines the baud rate used for communicating over the serial interface to a transceiver. Table 6 - Baud
Rate/Interface Timeout lists values for some common baud rates. Baud rates below 1200 baud are not supported. For a baud rate
to be valid, the calculated baud rate must be within
±
3% of the OEM Host baud rate. If the Test pin (Pin 12) is pulled logic Low at
reset, the baud rate will be forced to 9,600. The RF baud rate is fixed at 76.8 Kbps and is independent of the interface baud rate.
For Baud Rate values other than those shown in Table 6 the following equation can be used:
6
14.7456E
Baud = 0x100 -
64 x Desired baud
(1)
Baud H = Always 0
Baud L = Low 8 Bits of BAUD (base 16)
Table 6 - Baud Rate/Interface Timeout
Baud Rate
BaudL (0x42)
BaudH (0x43)
Minimum Interface Timeout
(0x58)
Stop bit Delay (0x3F)
115,200 0xFE 0x00
0x02
0xFF
57,600
1
0xFC 0x00
0x02
0x03
38,400 0xFA 0x00
0x02
0x08
28,800 0xF8 0x00
0x02
0x0E
19,200 0xF4 0x00
0x03
0x19
14,400 0xF0 0x00
0x04
0x23
9,600 0xE8 0x00
0x05
0x39
4800 0xD0 0x00
0x09
0x7A
2400 0xA0 0x00
0x11
0x
FC
1200 0x40 0x00
0x21
0x00
2
1
57,600 is the default baud rate.
2
0x00 will yield a stop bit of 421uS. The stop bit at 1200 baud should be actually 833us.
Data
bits
Parity
Stop bits
Transceiver Programming Requirements
8
N
1
Parity disabled
7
N
2
Parity disabled
7
E, O, M, S
1
Parity disabled
9 N 1
Parity
enabled
8 N 2
Parity
enabled
8
E, O, M, S
1
Parity enabled
7
E, O, M, S
2
Parity enabled
Mark (M) corresponds to 1 and Space (S) corresponds to 0
electronic components distributor