S32K312 CAN sampling points points are not accurate

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

S32K312 CAN sampling points points are not accurate

583 次查看
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 项奖励
回复
6 回复数

540 次查看
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 项奖励
回复

534 次查看
Ali22
Contributor III
We want sample point is around 0.87
0 项奖励
回复

458 次查看
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 项奖励
回复

455 次查看
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 项奖励
回复

532 次查看
Senlent
NXP TechSupport
NXP TechSupport
0 项奖励
回复

535 次查看
Ali22
Contributor III

Dears

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

0 项奖励
回复