CAN start API not executing in stm32F446RE board
Hi ST,
Can you please suggest me the solution of my problem, below is the problem statement
I have configured the stm32f446RE oard to use CAN1 in loopback mode, using CAN start in a function but the MSR bit 0 INAK is not resetting in the HAL_CAN_Start API
please find my code in the attachment
i am use 500kbps baudrate.
Hoping for your quick response.
Note: Tried by increasing the CAN_TIMEOUT_VALUE but the CAN_Sart is not coming out of the while loop
/* Wait the acknowledge */
while ((hcan->Instance->MSR & CAN_MSR_INAK) != 0U)
{
/* Check for the Timeout */
if ((HAL_GetTick() - tickstart) > CAN_TIMEOUT_VALUE)
Requesting for fast response
