Question
CAN Node not able to transmit when on an existing bus
Posted on May 25, 2018 at 09:34
Hello Everyone,
I,am having a issue with my can node.
The communication bw two can nodes built on STM32L4 works perfectly fine. But that's just for testing purpose. I don't intend to use it that way.
When I introduce it to an existing CAN bus, TX stops. Node is able to read the messages on the bus.
Please let me know what all things i can try or i might be missing.
Hope someone has already been down this road and can help me out..
CAN settings are as follow
hcan1.Instance = CAN1;
hcan1.Init.Prescaler = 6; hcan1.Init.Mode =CAN_MODE_NORMAL
; hcan1.Init.SyncJumpWidth = CAN_SJW_1TQ; hcan1.Init.TimeSeg1 = CAN_BS1_13TQ; hcan1.Init.TimeSeg2 = CAN_BS2_2TQ; hcan1.Init.TimeTriggeredMode = DISABLE; hcan1.Init.AutoBusOff = DISABLE; hcan1.Init.AutoWakeUp = DISABLE; hcan1.Init.AutoRetransmission = ENABLE; hcan1.Init.ReceiveFifoLocked = DISABLE; hcan1.Init.TransmitFifoPriority = DISABLE;#can #can-interface #can-examples #problem-can