rt1062 flexcan interrupt_transfer demo BUG!

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

rt1062 flexcan interrupt_transfer demo BUG!

跳至解决方案
769 次查看
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.

 

 
标签 (1)
0 项奖励
1 解答
748 次查看
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

在原帖中查看解决方案

1 回复
749 次查看
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