Questions about CAN TX transfer fail

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Questions about CAN TX transfer fail

1,391 次查看
jm_shin
Contributor I

Hello NXP

I sent the CAN TX signal via the flexcan_encrypted_s32k144 example code.
However, in CANOE, the TX signal is not received normally.

- CANOE trace

pastedImage_1.png

- used SendCANData code 

pastedImage_2.png

How can I receive the CAN TX signal normally in CANOE?

Thanks

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,254 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

this can be caused by CAN bit timing. Ensure you set the same sample point on MCU and CANoe side.

BR, Petr

0 项奖励
回复

1,254 次查看
jm_shin
Contributor I

Dear Petr Stancik

When 'fd_enable' is set to false in struct 'flexcan_data_info_t', CAN Msg is normally received by CANOE.
Must 'fd_enable' be set to true?
And then, if we set 'fd_enable' to false, should 'enable_brs' be set to false?

Thanks

0 项奖励
回复

1,254 次查看
jm_shin
Contributor I

Dear Petr Stancik

The answer is not well understood.
Using the example code, CAN Msg delivered from CANOE to EVB(RX) has been received normaly.
However, there is an error when sending Msg from EVB to CANOE.
I think since RX is received, the bit timing seems to be well setting between CANOE and EVB.
Below is a configuration picture of the problem.

pastedImage_1.png

Please correct me if I misunderstood your answer.

Thanks

0 项奖励
回复