HAL_CAN_Receive returns HAL_TIMEOUT on stm32f103c8t6
I am trying to perform a communication between two stm32f103c8t6 through network can.However my code gets stuck in loop as shown in the image below. The __HAL_CAN_MSG_PENDING function does not exit the value 0.I'm using Polling mode operation.