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.
Solved! Go to Solution.
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
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