S32K146 FlexCAN FDEN cannot set 1

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

S32K146 FlexCAN FDEN cannot set 1

Jump to solution
732 Views
feng0119
Contributor I

HI,all

I use Flexcan demo, in FLEXCAN_DRV_Init 

feng0119_0-1704443623074.png

enable canfd fail,I find FRZ is 1 Freeze Enable,but mcr fden  not be set 1.

feng0119_1-1704443713836.png

I want to know why this is happening.

My English is not good. Thank you!

0 Kudos
Reply
1 Solution
616 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

try to change FDEN within debugger directly, while in Freeze mode.
And check part number if CAN FD is even implemented. 

BR, Petr

View solution in original post

0 Kudos
Reply
3 Replies
716 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

FDEN can be set in Freeze mode only so do you have FRZACK set as well to indicate module is in Freeze mode? Also consider if CAN FD is available for used module, it is not on FlexCAN2 of S32K146.

BR, Petr

0 Kudos
Reply
707 Views
feng0119
Contributor I

Hi,

feng0119_0-1704600130006.png

Both FRZACK and FRZ are set 1,but FDEN still cannot be set 1

0 Kudos
Reply
617 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

try to change FDEN within debugger directly, while in Freeze mode.
And check part number if CAN FD is even implemented. 

BR, Petr

0 Kudos
Reply