Questions about CAN TX transfer fail

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Questions about CAN TX transfer fail

991 Views
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

Labels (1)
Tags (1)
0 Kudos
3 Replies

854 Views
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 Kudos

854 Views
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 Kudos

854 Views
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 Kudos