Skip to main content
Open topic with navigation CAPL Functions » FlexRay » frSetSendGroup

frSetSendGroup

Valid for: CANoe DE

Function Syntax

Description

Grouped frames, which are transmitted in a CAPL handler (e.g., on frFrame, on timer, etc.), are not written to the CC send buffer until it has been ensured that frames with a payload that has not yet been modified and frames with a modified payload have not been mixed together during a FlexRay cycle. In other words, all frames in the group are sent in the current cycle, or all frames are not sent until the next possible cycle. Restrictions
The number of frames per group is restricted to four per FlexRay channel (A, B).

Parameters

  • slotId: Slot number of the frame used
  • channelMask: FlexRay channel mask
    Possible values:
    • 1: Channel A
    • 2: Channel B
    • 3: Channel A+B
  • cycleStart, cycleRepetition: Cycle multiplexing parameter
  • groupNo: Group number can be selected as required.
  • flags: Reserved, must be 0
  • channel: Channel number (or cluster number)

Return Values

Example

The frames in slots 8 and 40 are registered as a group. The frames are sent in on frFrame (10, 0, 1). The frame in slot 40 was able to be sent in the current CC cycle, but not the other frame. Therefore, the Tx buffers of all frames of the group are not written until slot 40 has been expired.