rt1062 flexcan interrupt_transfer demo BUG!

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

rt1062 flexcan interrupt_transfer demo BUG!

ソリューションへジャンプ
449件の閲覧回数
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 解決策
428件の閲覧回数
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 返信
429件の閲覧回数
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