rt1062 flexcan interrupt_transfer demo BUG!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

rt1062 flexcan interrupt_transfer demo BUG!

Jump to solution
696 Views
lichengxiang
Contributor I

Hello everyone,I use SDK_2.4.1 flexcan interrupt_transfer demo,user board EasyARM-RT1062,

When I Comment out BOARD_InitDebugConsole(),CAN2 cannot send data;In other unchanged circumstances,I add BOARD_InitDebugConsole(), CAN2 send data is OK,I found a debug?

I do not why,I need help,Thanks.

 

 
Labels (1)
0 Kudos
1 Solution
675 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi lichengxiang,

  As I know, lpuart0 and the lpuart7 clock will have relationship with the CANFD module.

There are two workarounds for this issue:
-- Set CAN_CLK_SEL to 0 or 1 for CAN clock selection.
Or,
-- If CAN_CLK_SEL is set to 2, then the CCM must open any of UART clock gate by configuring the CCM_CCGRx register.

 

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry

View solution in original post

1 Reply
676 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi lichengxiang,

  As I know, lpuart0 and the lpuart7 clock will have relationship with the CANFD module.

There are two workarounds for this issue:
-- Set CAN_CLK_SEL to 0 or 1 for CAN clock selection.
Or,
-- If CAN_CLK_SEL is set to 2, then the CCM must open any of UART clock gate by configuring the CCM_CCGRx register.

 

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry