You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/02/26 10:45:03 UTC

[GitHub] [incubator-nuttx] davids5 commented on pull request #2929: iMXRT: changes to FlexCAN driver support

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:
users@infra.apache.org