Copyright IXXAT Automation GmbH
UCI Programming Manual FlexRay, V1.13
Functional description
10
3
Functional description
3.1
Communication
The FlexRay messages are transferred via receive (RX) and transmit (TX) FIFOS. The
FIFOS are implemented in the PC and/or on the interface.
3.2
Behavior of the receive-side FIFO
3.2.1
Events
The UCI can be used event-triggered, i.e. the user program is able to wait for a
controller event. To retrieve this event handle the method
to be called. If at least one message is available the RX event is set in the UCI and
in case of WaitForSingleObject() the function returns WAIT_OBJECT_0. After the
event is signaled at least one FlexRay message can be read with
the RX FIFO.
3.2.2
Overruns
If a receive FIFO is not read out quickly enough, it may overrun and no further
messages can be entered. One of the message lost flags in the FlexRay status
message then tells you that an overrun has occurred before this status message.
You can also call the
function to get the information if an overrun has
occurred at all.
3.3
Behavior of the transmit-side FIFO
3.3.1
Events
The UCI can be used event-triggered, i.e. the user program is able to wait for a
controller event. To retrieve this event handle the method
to be called. Every time when a TX message was successfully transmitted a TX
event is signaled.
Содержание FlexRay CCM
Страница 6: ......