davids5 commented on pull request #2929:
URL: https://github.com/apache/incubator-nuttx/pull/2929#issuecomment-786567684


   @michallenc - Please check the order of of operation in the 
`imxrt_caninitialize` path. `imxrt_ifdown` is called on the interface with out 
an initialize. The SOFT RESET will fail as the clock is not running and return 
here, 
https://github.com/michallenc/incubator-nuttx/blob/4b65e3647124e935264725d014310a3e9ae4a7cf/arch/arm/src/imxrt/imxrt_flexcan.c#L1746
   
   Adding  imxrt_initialize(priv) here 
https://github.com/michallenc/incubator-nuttx/blob/4b65e3647124e935264725d014310a3e9ae4a7cf/arch/arm/src/imxrt/imxrt_flexcan.c#L1941
   
   will fix it


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to