AUTOSAR標準ドキュメント AUTOSAR_SWS_CANTransportLayer.pdfに従って、CanTp モジュールの構成パラメータ情報を整理し、対応するパラメータ関係図を別の記事に含めて、全体として構成パラメータ間の関係を示したいと考えています。
名前 |
親コンテナ |
説明 |
タイプ |
デフォルト値 |
範囲 |
できない |
CanTp (CAN Transport Protocol) モジュールの構成 |
||||
CanTpConfig |
できない |
このコンテナには、AUTOSAR CanTp モジュールの構成パラメータとサブコンテナが含まれています。 |
|||
CanTpMainFunctionPeriod |
CanTpConfig |
MainFunction の時間を設定できます (秒単位の浮動小数点として)。CanTpMainFunctionPeriod には、TX および RX データ転送における CanTp 用に設定されたすべてのタイマーに関して最適な値を割り当てる必要があります。つまり、 設定されたタイミングはできるだけ小さくする必要があります。注: この期間は、CanTp Main 関数が呼び出される周期的タスクの呼び出しサイクル時間と同じになります。 |
EcucFloatParamDef |
0 ..INF |
|
CanTpMaxChannelCnt |
CanTpConfig |
最大チャンネル数。このパラメータは、静的メモリ割り当てを使用したビルド後のロード可能な実装の場合にのみ必要です。 |
EcucIntegerParamDef |
0 .. 18446744073709551615 |
|
CanTpGeneral |
できない |
このコンテナには、CanTp モジュールの一般的な構成パラメータが含まれています |
|||
CanTpChangeParameterApi |
CanTpGeneral |
このパラメータを true に設定すると、このモジュールの CanTp_ChangeParameterRequest API が有効になります。 |
EcucBooleanParamDef |
||
CanTpDevErrorDetect |
CanTpGeneral |
開発エラーの検出と通知のオン/オフを切り替えます。 • true: 検出と通知が有効になります。 • false: 検出と通知は無効になります。 |
EcucBooleanParamDef |
間違い |
|
CanTpDynIdサポート |
CanTpGeneral |
N-PDU メタデータによる動的 ID 処理のサポートを有効にする |
EcucBooleanParamDef |
間違い |
|
CanTp柔軟なデータレートのサポート |
CanTpGeneral |
CAN FD フレームのサポートを有効にする |
EcucBooleanParamDef |
真実 |
|
CanTpGenericConnectionサポート |
CanTpGeneral |
メタデータを備えた N-SDU を使用した汎用接続の処理のサポートを有効にします。 CanTpDynIdSupportが必要です。 |
EcucBooleanParamDef |
間違い |
|
CanTpPaddingByte |
CanTpGeneral |
未使用のバイトを特定の値で初期化するために使用されます。 |
EcucIntegerParamDef |
0 .. 255 |
|
CanTpReadParameterApi |
CanTpGeneral |
このパラメータを true に設定すると、このモジュールの CanTp_ReadParameterApi が有効になります。 |
EcucBooleanParamDef |
||
CanTpVersionInfoApi |
CanTpGeneral |
CanTp_GetVersionInfo 関数は、この設定によって設定可能 (オン/オフ) パラメータ。 |
EcucBooleanParamDef |
間違い |
|
CanTpチャンネル |
CanTpConfig |
このコンテナには、CanTp チャネルの構成パラメータが含まれています |
|||
CanTpRxNSdu |
CanTpチャンネル |
The following parameters needs to be configured for each CAN N-SDU that the CanTp module receives via the CanTpChannel. This N-SDU produces meta data items of type SOURCE_ADDRESS_16, TARGET_ADDRESS_16 and ADDRESS_EXTENSION_8. |
|||
CanTpBs |
CanTpRxNSdu |
Sets the number of N-PDUs the CanTp receiver allows the sender to send, before waiting for an authorization to continue transmission of the following N-PDUs.For further details on this parameter value see ISO 15765-2 specification. |
EcucIntegerParamDef |
0 .. 255 |
|
CanTpNar |
CanTpRxNSdu |
Value in seconds of the N_Ar timeout. N_Ar is the time for transmission of a CAN frame (any N_PDU) on the receiver side. |
EcucFloatParamDef |
0 .. INF |
|
CanTpNbr |
CanTpRxNSdu |
Value in seconds of the performance requirement for (N_Br + N_Ar). N_Br is the elapsed time between the receiving indication of a FF or CF or the transmit confirmation of a FC, until the transmit request of the next FC. |
EcucFloatParamDef |
0 .. INF |
|
CanTpNcr |
CanTpRxNSdu |
Value in seconds of the N_Cr timeout. N_Cr is the time until reception of the next Consecutive Frame N_PDU. |
EcucFloatParamDef |
0 .. INF |
|
CanTpRxAddressingFormat |
CanTpRxNSdu |
Declares which communication addressing mode is supported for this RxNSdu. Definition of Enumeration values: CanTpStandard to use normal addressing format. CanTpExtended to use extended addressing format. CanTpMixed to use mixed 11 bit addressing format. CanTpNormalFixed to use normal fixed addressing format. CanTpMixed29Bit to use mixed 29 bit addressing format. |
EcucEnumerationParamDef |
CANTP_EXTENDED,CANTP_MIXED,CANTP_MIXED29BIT,CANTP_NORMALFIXED,CANTP_STANDARD |
|
CanTpRxNSduId |
CanTpRxNSdu |
Unique identifier user by the upper layer to call CanTp_CancelReceive, CanTp_ChangeParameter and CanTp_ReadParameter. |
EcucIntegerParamDef |
0 .. 65535 |
|
CanTpRxPaddingActivation |
CanTpRxNSdu |
Defines if the received frame uses padding or not. This parameter is restricted to 8 bytes N-PDUs. Definition of enumeration values: CanTpOn: The N-PDU received uses padding for SF, FC and the last CF. (N-PDUlength is always >= 8 bytes in case of CAN 2.0) CanTpOff: The N-PDU received does not use padding for SF, FC and the last CF.(N-PDU length is dynamic - any valid DLC value). Note: The mandatory mapping to the next higher valid DLC value for N-PDUs with a length > 8 bytes is not affected by this parameter. |
EcucEnumerationParamDef |
CANTP_OFF,CANTP_ON |
|
CanTpRxTaType |
CanTpRxNSdu |
Declares the communication type of this Rx N-SDU |
EcucEnumerationParamDef |
CANTP_FUNCTIONAL,CANTP_PHYSICAL |
|
CanTpRxWftMax |
CanTpRxNSdu |
This parameter indicates how many Flow Control wait N-PDUs can be consecutively transmitted by the receiver. It is local to the node and is not transmitted inside the FC protocol data unit. CanTpRxWftMax is used to avoid sender nodes being potentially hooked-up in case of a temporarily reception inability on the part of the receiver nodes, whereby the sender could be waiting continuously |
EcucIntegerParamDef |
0 .. 65535 |
|
CanTpSTmin |
CanTpRxNSdu |
Sets the duration of the minimum time the CanTp sender shall wait between the transmissions of two CF N-PDUs. For further details on this parameter value see ISO 15765-2 specification |
EcucFloatParamDef |
0 .. INF |
|
CanTpRxNSduRef |
CanTpRxNSdu |
Reference to a Pdu in the COM-Stack. |
Reference to Pdu |
||
CanTpTxFcNPdu |
CanTpRxNSdu |
Used for grouping of the ID of a PDU and the Reference to a PDU. This N-PDU produces a meta data item of type CAN_ID_32. |
|||
CanTpTxFcNPduConfirmationPduId |
CanTpTxFcNPdu |
Handle Id to be used by the CanIf to confirm the transmission of the CanTpTxFcNPdu to the CanIf module. |
EcucIntegerParamDef |
0 .. 65535 |
|
CanTpTxFcNPduRef |
CanTpTxFcNPdu |
Reference to a Pdu in the COM-Stack. |
Reference to Pdu |
||
CanTpRxNPdu |
CanTpRxNSdu |
Used for grouping of the ID of a PDU and the Reference to a PDU. This N-PDU consumes a meta data item of type CAN_ID_32. |
|||
CanTpRxNPduId |
CanTpRxNPdu |
The N-PDU identifier attached to the RxNsdu is identified by CanTpRxNSduId. Each RxNsdu identifier is linked to only one SF/FF/CF N-PDU identifier. Nevertheless, in the case of extended or mixed addressing format, the same N-PDU identifier can be used for several N-SDU identifiers. The distinction is made by the N_TA or N_AE value (first data byte of SF or FF frames). |
EcucIntegerParamDef |
0 .. 65535 |
|
CanTpRxNPduRef |
CanTpRxNPdu |
Reference to a Pdu in the COM-Stack. |
Reference to Pdu |
||
CanTpTxNSdu |
CanTpChannel |
The following parameters needs to be configured for each CAN N-SDU that the CanTp module transmits via the CanTpChannel. This N-SDU consumes meta data items of type SOURCE_ADDRESS_16, TARGET_ADDRESS_16 and ADDRESS_EXTENSION_8. |
|||
CanTpNas |
CanTpTxNSdu |
Value in second of the N_As timeout. N_As is the time for transmission of a CAN frame (any N_PDU) on the part of the sender. |
EcucFloatParamDef |
0 .. INF |
|
CanTpNbs |
CanTpTxNSdu |
Value in seconds of the N_Bs timeout. N_Bs is the time of transmission until reception of the next Flow Control N_PDU |
EcucFloatParamDef |
0 .. INF |
|
CanTpNcs |
CanTpTxNSdu |
Value in seconds of the performance requirements relating to N_Cs. CanTpNcs is the time in which CanTp is allowed to request from PduR the Tx data of a Consecutive Frame N_PDU. |
EcucFloatParamDef |
0 .. INF |
|
CanTpTc |
CanTpTxNSdu |
Switch for enabling Transmit Cancellation |
EcucBooleanParamDef |
||
CanTpTxAddressingFormat |
CanTpTxNSdu |
Declares which communication addressing format is supported for this TxNSdu. Definition of Enumeration values: CanTpStandard to use normal addressing format. CanTpExtended to use extended addressing format. CanTpMixed to use mixed 11 bit addressing format. CanTpNormalFixed to use normal fixed addressing format. CanTpMixed29Bit to use mixed 29 bit addressing format. |
EcucEnumerationParamDef |
CANTP_EXTENDED,CANTP_MIXED,CANTP_MIXED29BIT,CANTP_NORMALFIXED,CANTP_STANDARD |
|
CanTpTxNSduId |
CanTpTxNSdu |
Unique identifier to a structure that contains all useful information to process the transmission of a TxNsdu. |
EcucIntegerParamDef |
0 .. 65535 |
|
CanTpTxPaddingActivation |
CanTpTxNSdu |
Defines if the transmit frame use padding or not. This parameter is restricted to 8 byte N-PDUs. Definition of Enumeration values: CanTpOn The transmit N-PDU uses padding for SF, FC and the last CF. (N-PDU lengthis always 8 bytes in case of CAN 2.0) CanTpOff The transmit N-PDU does not use padding for SF, CF and the last CF. (N-PDU length is dynamic - any valid DLC value). Note: The mandatory mapping to the next higher valid DLC value for N-PDUs with a length > 8 bytes is not affected by this parameter. |
EcucEnumerationParamDef |
CANTP_OFF,CANTP_ON |
|
CanTpTxTaType |
CanTpTxNSdu |
Declares the communication type of this TxNsdu. Enumeration values: CanTpPhysical. Used for 1:1 communication. CanTpFunctional. Used for 1:n communication. |
EcucEnumerationParamDef |
CANTP_FUNCTIONAL,CANTP_PHYSICAL |
|
CanTpTxNSduRef |
CanTpTxNSdu |
Reference to a Pdu in the COM-Stack. |
Reference to Pdu |
||
CanTpTxNPdu |
CanTpTxNSdu |
Used for grouping of the ID of a PDU and the Reference to a PDU. This N-PDU produces a meta data item of type CAN_ID_32. |
|||
CanTpTxNPduConfirmationPduId |
CanTpTxNPdu |
Handle Id to be used by the CanIf to confirm the transmission of the CanTpTxNPdu to the CanIf module. |
EcucIntegerParamDef |
0 .. 65535 |
|
CanTpTxNPduRef |
CanTpTxNPdu |
Reference to a Pdu in the COM-Stack. |
Reference to Pdu |
||
CanTpRxFcNPdu |
CanTpTxNSdu |
Used for grouping of the ID of a PDU and the Reference to a PDU. This N-PDU consumes a meta data item of type CAN_ID_32. |
|||
CanTpRxFcNPduId |
CanTpRxFcNPdu |
N-PDU identifier attached to the FC N-PDU of this TxNsdu identified by CanTpTxNSduId. Each TxNsdu identifier is linked to one Rx FC N-PDU identifier only. However, in the case of extended addressing format, the same FC N-PDU identifier can be used for several N-SDU identifiers. The distinction is made by means of the N_TA value (first data byte of FC frames). |
EcucIntegerParamDef |
0 .. 65535 |
|
CanTpRxFcNPduRef |
CanTpRxFcNPdu |
Reference to a Pdu in the COM-Stack. |
Reference to Pdu |
||
CanTpNTa |
CanTpRxNSdu, CanTpTxNSdu |
This container is required for each RxNSdu and TxNSdu with AddressingFormat CANTP_EXTENDED. When DynIdSupport is enabled, this container is also required for each RxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT. When DynIdSupport is enabled and GenericConnectionSupport is not enabled, this container is also required for each TxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT. |
|||
CanTpNTa |
CanTpNTa |
This parameter contains the transport protocol target address value. |
EcucIntegerParamDef |
0 .. 255 |
|
CanTpNSa |
CanTpRxNSdu, CanTpTxNSdu |
This container is required for each RxNSdu and TxNSdu with RxTaType CANTP_PHYSICAL and CanTpAddressingFormat CANTP_EXTENDED. When DynIdSupport is enabled, this container is also required for each TxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT. When DynIdSupport is enabled and GenericConnectionSupport is not enabled, this container is also required for each RxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT. |
|||
CanTpNSa |
CanTpNSa |
This parameter contains the transport protocol source address value. |
EcucIntegerParamDef |
0 .. 255 |
|
CanTpNAe |
CanTpRxNSdu, CanTpTxNSdu |
This container is required for each RxNSdu and TxNSdu with AddressingFormat CANTP_MIXED or CANTP_MIXED29BIT. |
|||
CanTpNAe |
CanTpNAe |
This parameter contains the transport protocol address extension value. |
EcucIntegerParamDef |
0 .. 255 |