how to config bittiming in imx6

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

how to config bittiming in imx6

跳至解决方案
977 次查看
创世之枪
Contributor I

imx6 CAN

what's the meaning of  Propagation Segment?

The description is :

This 3-bit field defines the length of the Propagation Segment in the bit time. The valid programmable
values are 0-7. This field can only be written in Freeze mode as it is blocked by hardware in other modes
Propagation Segment Time = (PROPSEG + 1) * Time-Quanta.
Time-Quantum = one Sclock period.

What's the connection with the setting of bittiming?1.png

code from linux:

2.png3.png

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
853 次查看
igorpadykov
NXP Employee
NXP Employee

Hi

FlexCan bit time is subdivided into three segments (PROPSEG defines Time Segment1),

depicted on Figure 26-2. Segments within the Bit Time  i.MX6DQ Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

whose meaning is described in specification documents ISO/DIS 11519-1,

Section 10.3 and Bosch CAN 2.0A/B protocol specification dated September 1991.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
854 次查看
igorpadykov
NXP Employee
NXP Employee

Hi

FlexCan bit time is subdivided into three segments (PROPSEG defines Time Segment1),

depicted on Figure 26-2. Segments within the Bit Time  i.MX6DQ Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

whose meaning is described in specification documents ISO/DIS 11519-1,

Section 10.3 and Bosch CAN 2.0A/B protocol specification dated September 1991.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
853 次查看
创世之枪
Contributor I

thx!

0 项奖励
回复