Echo Driver Configuration
ECHO_DATA_RATE
Description: Defines the data rate in bits per second (bps) before Manchester encoding.
Values:
Integer in one of the ranges below:
2000–2800
4000–5600
8000–10600
16000–22400
#define ECHO_DATA_RATE 2400 /* Set Echo data rate in Hz */
Example:
11.2.3 ID and Header set up
ECHO_ID_LENGTH
Description: Selects the length of the IDs that will be sent and received (in bits). If the length is six or
less, the least significant bits of ECHO_ID_VALUEare placed in Echo’s ID register. If the
length is 8 bits, the top 6 bits of ECHO_ID_VALUEare placed in the ID register and the full
ECHO_ID_VALUEis used when calculating the checksum. A full 8 bit ID is sent during
transmission. This allows compatibility with Tango and Romeo devices.
Values:
2, 4, 5, 6, or 8 bits.
#define ECHO_ID_LENGTH 8 /* Length of ID (2,4,5,6 or 8 bits) */
Example:
ECHO_ID_VALUE
Description: The ID value that Echo will recognize. The actual value placed into Echo’s ID register also
depends on ECHO_ID_LENGTH.
Values:
0x00–0xFF
#define ECHO_ID_LENGTH 8 /* Length of ID (2,4,5,6 or 8 bits)*/
Example:
ECHO_HEADER_LENGTH
Description: Selects the length of the headers that will be sent and received (in bits). If the length is six
or less, the least significant bits of ECHO_HEADER_VALUEare placed in Echo’s HEADERregister.
Values:
1, 2, 4, or 6 bits.
#define ECHO_HEADER_LENGTH 6 /* Length of header (1,2,4,6 bits) */
Example:
Software Drivers for MC33696, Rev. 1
Freescale Semiconductor
35