AnsweredAssumed Answered

STM32F0 CAN Bus Busy Error

Question asked by xarada on Nov 23, 2016
Latest reply on Nov 29, 2016 by FTITI.Walid
I'm working with CAN bus and sometimes my code stop receiving CAN Messages, only send.

The function below
/* Receive */
  if (HAL_CAN_Receive_IT(CanHandle2, CAN_FIFO0) != HAL_OK)
  {
    /* Reception Error */
  }
returns the HAL_CAN_STATE_BUSY_TX , and always stay there.

To transmit I don't use interrupt like example code CAN_Networking.

I searched in the forum and found any solution, only others related posts.

Is there any solution for this?

Outcomes