Echo Driver Configuration
ECHO_LVD_ENABLE
Description: Specifies the value to place Echo’s LVDE bit; this enables or disables the low-voltage
detection module on Echo.
Values:
0 = disabled
1 = enabled
#define ECHO_LVD_ENABLE 0 /* Enable low voltage detection */
Example:
ECHO_MCU_BUS_SPEED
Description: Specifies the MCU BUSCLK speed. This is used to calculate various delays.
Values:
0–maximum MCU bus speed
#define ECHO_MCU_BUS_SPEED 8000000 /* In Hz */
Example:
ECHO_RX_TIMEOUT_BITS
Description: Specifies the number of bit-times to wait on a byte arriving when receiving a message
before assuming the message has been corrupted or lost. This value must be greater than
8 bit-times to allow the next byte to arrive and be processed on Echo.
Values:
8–255
#define ECHO_RX_TIMEOUT_BITS 16 /* Number of bit-times before timeout */
Example:
ECHO_AUTO_SWITCH
Description: This feature can be enabled in bank-switching mode. By this switch you can set automatic
switching to both banks after a transmit is done.
Values:
0 = disabled
1 = enabled
#define ECHO_AUTO_SWITCH 1 /* if is used both bank, then can switch automatically to both
banks used after each transmit */
Example:
Software Drivers for MC33696, Rev. 1
Freescale Semiconductor
33