Using the Driver
9.3.1
Manual Preamble/ID Sending
The first two services allow the application to transmit Preamble/ID sequences and the data sequence
manually. This may be necessary if the timing control provided by the driver – in the Echo_SendMessage()
service – does not suit the application requirements.
The sequence for sending messages using Echo_SendPreambleID()and Echo_SendData()is similar to the
equivalent Tango services. This is summarized in Figure 8.
Invoke
Echo_ChangeBank()
if requirement
Set up
Preamble/ID
counter
Decrement
Preamble/ID
counter
Fill Tx
Buffer
No
Invoke
Echo_SendPrambleID()
Count
= 0?
Yes
Invoke
Echo_SendData()
Yes
Busy = 1?
No
Yes
Busy
= 1?
Delay
(if necessary)
No
Figure 8. Manual Preamble/ID Sending
Software Drivers for MC33696, Rev. 1
14
Freescale Semiconductor