-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Description
- Type: Bug
Bug
Target
STM32 (device not important)
Toolchain:
ARM
A call to reset() triggers the CAN peripheral reset bit, however the peripheral itself seems to set the sleep bit when this happens.
This means that CAN cannot be used after a call to reset without manually clearing the sleep bit in the MCR register (CAN_MCR_SLEEP) which the user has no easy way of doing.
Should can_reset() be changed to clear the sleep bit after the reset?
cc @thomasonw