Goldbox can't send CAN message via FlexCAN0 with brate 500k - drate 2M bps to Canoe VN5620

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

Goldbox can't send CAN message via FlexCAN0 with brate 500k - drate 2M bps to Canoe VN5620

523 Views
KevinPhan
Contributor I

Dear supports,

I've an issue when I tested the CAN communication via FLEXCAN0 to Canoe VN5620.

I set up baudrate as below:

- CanoePro: ISO-CANFD with baudrate 500k - 0.75samplepoint, drate 2M - 0.8 sample point.

- Goldbox with CANFD with baudrate 500k - 0.75samplepoint, drate 2M - 0.8 sample point (setting in canconfig). I checked the value was applied via "ip -det link show can0".

KevinPhan_1-1719280692028.png

 

Result:

1. CANFD message can send from canoe to goldbox without error (successful).

2. When I sent message FD from goldbox to canoe (by command line in User Manual of goldbox), canoe report Stuff Error with Bit Pos = 8.

KevinPhan_0-1719280494596.png

Anyone already faced with the issue, please give me the solution how to fix it. 

Many thanks!

KevinPhan

email: tinhpv3@fpt.com

Tags (1)
0 Kudos
Reply
2 Replies

498 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The error 8 means, Configuration a receive buffer in CAN module, enable receive interrupt,
waiting receive all the time.
In the other side , once receive data, send a signal to S32G side .
If you use Goldbox, you can refer to typical usage about the receive data configuration and
code, on you manual.
 

455 Views
KevinPhan
Contributor I

Dear All,

I tried many solutions

- Checked about hardware connection and registor (R120Ohm both terminal).

- Checked about setting bit timming cfg based on online web-brower 

Finally, I already fixed the issue by changing the sample point to <= 75 % for Data field, so now it can transmit 500k/2M, 1M/4M CANFD in successful.

About cfg you all can see the picture as below:

KevinPhan_0-1719908284150.png

But I have a question that what is rootcause when I changed the sample-point to lower than 75% (data)?

Other case, when I set the baud-rate is 1M/4M, it can work well in sample point (Data) is 80%. 

0 Kudos
Reply