FlexrayBusEvent

class mtf.mtf_types.FlexrayBusEvent
__init__(data_frame: BusEvent)
property fr_frameID
property channel_name

This property indicates the logical channel on which the messages are sent or the channel that will be used to handle them. It is supported by the channel mapping concept presented in MTF.

Example:

Consider the name: LIN 1.1.

property frame_id

This Frame ID is the identifier of the message, extracted from the message catalog and it is stored in databases.

property timestamp

The timestamp defines the timing of sending a message and its arrival timing on the bus.There are two different types : The Software timestamp coming from Linux for example and the Hardware one that come from the capture modules.

property payload

Payload segment.

property payload_length

The number of payload bytes divided by 2.

property direction

The direction indicates the destination of a message. For example, whether it is sent from the tester to the ECU, or from one ECU to another.

property error_flag

The error flag information is represented on one byte and it could be on several bit-specific error conditions indicating the problems that could happen while sending and receiving Flexray frames : FCRCERR: Frame CRC error(cyclic redundancy check ), it happens when the frame’s checksum doesn’t match the expected value. HCRCERR: Header CRC error, it occurs when the error specifically applies to the header part of the frame. Moreover, it’s comparable to FCRCERR. FESERR: Frame End Sequence error, it’s triggered if the issue is found at the End of the frame’s sequence by the finalization of the frame. CODERR: Coding error… indicates if a Frame Start Sequence Error (FSSERR) or a Byte Start Sequence error (BSSERR) occurred, which are violations of the required coding scheme for data frames. TSSVIOL: TSS (Time Triggered Slot) violation, This may happen if a time slot is missed or improperly managed, resulting in synchronization issues.

property timestamp_struct

It is similar to the timestamp, but it contains additional information and more detailed data about the message.