Question
STM32F7 CAN exit Sleep mode
I'm making my own low level CAN driver.
I have a problem releasing the CANperipheral from sleep mode.
So there are more requirements then I found so far.
LL_AHB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_CAN1);
LL_AHB3_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_CAN1);
LL_AHB3_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_CAN1);
/* Exit from sleep mode */
CLEAR_BIT(Instance->MCR, CAN_MCR_SLEEP);
while ((Instance->MSR & CAN_MSR_SLAK) != 0U);Any suggestion?
Thanks!
