Hi all,
did anybody get the Flexcan running with 125 kbit and and has anybody the
correct bittiming?
i tried to transfer the Flexcan example from Freescale but icant get it
running.
Thansk in advance Yves
CAN Bit Timing for 125kbd on 56f8345
Started by ●January 9, 2006
Reply by ●January 9, 20062006-01-09
This bit timing and init works fine on my 60 MHz clk 56f8345.
FCMCR = FCMCR_9_SOFT_RESET;
FCCTL0 = FCCTL0_2_TO_0_PROPAGATION_SEGMENT_TIME_4_TQ;
FCCTL1 = FCCTL1_15_TO_8_PRESCALER_DIVIDE_FACTOR_30 |
FCCTL1_7_TO_6_RESYNCHRONIZATION_JUMP_WIDTH_1_TQ |
FCCTL1_5_TO_3_PHASE_SEGMENT_1_TIME_4_TQ |
FCCTL1_2_TO_0_PHASE_SEGMENT_2_TIME_7_TQ;
FCMCR ClearBit FCMCR_12_NORMAL_OPERATION_DISABLE_HALT_ENABLE;
FCMCR ClearBit FCMCR_14_DEBUG_MODE_FREEZE_ENABLE;
etc.
M.T.
>>> <y...@y.dr...> 9.1.2006 10:05:38 >>>
Hi all,
did anybody get the Flexcan running with 125 kbit and and has anybody the correct bittiming?
i tried to transfer the Flexcan example from Freescale but icant get it running.
Thansk in advance Yves
FCMCR = FCMCR_9_SOFT_RESET;
FCCTL0 = FCCTL0_2_TO_0_PROPAGATION_SEGMENT_TIME_4_TQ;
FCCTL1 = FCCTL1_15_TO_8_PRESCALER_DIVIDE_FACTOR_30 |
FCCTL1_7_TO_6_RESYNCHRONIZATION_JUMP_WIDTH_1_TQ |
FCCTL1_5_TO_3_PHASE_SEGMENT_1_TIME_4_TQ |
FCCTL1_2_TO_0_PHASE_SEGMENT_2_TIME_7_TQ;
FCMCR ClearBit FCMCR_12_NORMAL_OPERATION_DISABLE_HALT_ENABLE;
FCMCR ClearBit FCMCR_14_DEBUG_MODE_FREEZE_ENABLE;
etc.
M.T.
>>> <y...@y.dr...> 9.1.2006 10:05:38 >>>
Hi all,
did anybody get the Flexcan running with 125 kbit and and has anybody the correct bittiming?
i tried to transfer the Flexcan example from Freescale but icant get it running.
Thansk in advance Yves