how to config bittiming in imx6

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

how to config bittiming in imx6

Jump to solution
716 Views
创世之枪
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

Labels (1)
Tags (1)
0 Kudos
1 Solution
592 Views
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!

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

View solution in original post

0 Kudos
2 Replies
593 Views
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 Kudos
592 Views
创世之枪
Contributor I

thx!

0 Kudos