CAN Failing sporadically during overnight Testing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CAN Failing sporadically during overnight Testing

754件の閲覧回数
Bhuvaneshwaran_K
Contributor II

I am facing a sporadic issue when I run the CAN for overnight testing. 

I am using xQueueSendToBack interface to transmit CAN messages. 

The Can_pal1_instance configuration is as follows :

const can_user_config_t can_pal1_Config0 = {
    .txBuffNum = 16UL,
    .rxBuffNum = 16UL,
    .mode = CAN_NORMAL_MODE,
    .peClkSrc = CAN_CLK_SOURCE_OSC,
    .enableFD = false,
    .payloadSize = CAN_PAYLOAD_SIZE_8,
    .nominalBitrate = {
        .propSeg = 7,
        .phaseSeg1 = 4,
        .phaseSeg2 = 1,
        .preDivider = 4,
        .rJumpwidth = 1
    },
    .dataBitrate = {
        .propSeg = 7,
        .phaseSeg1 = 4,
        .phaseSeg2 = 1,
        .preDivider = 4,
        .rJumpwidth = 1
    },
    .extension = NULL,
};
ラベル(1)
タグ(3)
0 件の賞賛
返信
7 返答(返信)

725件の閲覧回数
Bhuvaneshwaran_K
Contributor II

The MCU used is MPC5746C. The SDK version used here is 3.0.3 

The below error message is showcased after a period of time 

Example : 

359.003277 1 Statistic: D 4 R 0 XD 0 XR 0 E 0 O 0 B 0.09%
359.003277 CAN 1 Status:chip status error active

0 件の賞賛
返信

703件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

not sure of the log you posted. Is it something you created/send in your code?
If the error active status points to FlexCAN module Fault Confinement State ESR1[FLTCONF], then error active could not point to significant issue. FlexCAN is starting from error active state, it is kept until error counters are below 128. If you detect any error you should read ECR/ESR1 register to know a source of error and react accordingly.

BR, Petr

0 件の賞賛
返信

699件の閲覧回数
Bhuvaneshwaran_K
Contributor II
The log is something which we get in Vector CANoe
0 件の賞賛
返信

692件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I do not know CANoe, so what does that say?
What is an issue on MCU side?

BR, Petr

 

0 件の賞賛
返信

731件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

could you please specify an MCU you have and S32DS and SDK version you are using?
What does "failing" mean in fact? Can you described behavior in more detail?

BR, Petr

0 件の賞賛
返信

501件の閲覧回数
Bhuvaneshwaran_K
Contributor II

MCU used is MPC5746C. 

S32 Version : S32 Design Studio for Power Architecture; Version: 2.1

SDK version : S32_SDK_S32PA_RTM_3.0.3.

The CAN transmission is not happening after a period of time, say 4 hours during overnight testing.

0 件の賞賛
返信

406件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

does it mean you cannot prepare TX MB using Send function or this is possible, TX MB is prepared for transmission but module does not send the message out?

BR, Petr

0 件の賞賛
返信