S32K312 CAN sampling points points are not accurate

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

S32K312 CAN sampling points points are not accurate

710 Views
Ali22
Contributor III

Dears

We encountered the following problem: Our CAN sampling point calculation method is shown in the following figure. Currently, we are equipped with 13/15=86.6, but the actual sampling points measured by CANOE between 90.3% to 100%, with a significant deviation. May I ask if there is any problem with my calculation method?Or are there any other points to pay attention to?

1.jpg

0 Kudos
Reply
6 Replies

667 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ali22

Please tell me your flexcan's clock setting, and the baud rate , sample point you want get, and i will give you some reference.

0 Kudos
Reply

661 Views
Ali22
Contributor III
We want sample point is around 0.87
0 Kudos
Reply

585 Views
Ali22
Contributor III

Dears

After calculating with the tool you provided, the result is the same as before. What I want to know is that the sampling point I calculated was 86.666%, but the actual test value exceeded 90%. Is this deviation considered normal?

1.jpg

0 Kudos
Reply

582 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ali22

I think the calculation method here is correct. This may be caused by clock errors and test errors.
I suggest switching the FLEXCAN module clock to an external crystal clock, reconfiguring it, and then testing it again.(Because the error of the external crystal clock is usually very small)

0 Kudos
Reply

659 Views
Senlent
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

662 Views
Ali22
Contributor III

Dears

CAN clock is 60MHz, Bitrate is 500K, Thanks.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2153759%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K312%20CAN%20sampling%20points%20points%20are%20not%20accurate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2153759%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDears%3C%2FP%3E%3CP%3EWe%20encountered%20the%20following%20problem%3A%20Our%20CAN%20sampling%20point%20calculation%20method%20is%20shown%20in%20the%20following%20figure.%20Currently%2C%20we%20are%20equipped%20with%2013%2F15%3D86.6%2C%20but%20the%20actual%20sampling%20points%20measured%20by%20CANOE%20between%2090.3%25%20to%20100%25%2C%20with%20a%20significant%20deviation.%20May%20I%20ask%20if%20there%20is%20any%20problem%20with%20my%20calculation%20method%3FOr%20are%20there%20any%20other%20points%20to%20pay%20attention%20to%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%221.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%221.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F352835i09D9C480150F6F82%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%221.jpg%22%20alt%3D%221.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E