S32K146 FlexCAN FDEN cannot set 1

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

S32K146 FlexCAN FDEN cannot set 1

ソリューションへジャンプ
461件の閲覧回数
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 件の賞賛
1 解決策
345件の閲覧回数
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 件の賞賛
3 返答(返信)
445件の閲覧回数
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 件の賞賛
436件の閲覧回数
feng0119
Contributor I

Hi,

feng0119_0-1704600130006.png

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

0 件の賞賛
346件の閲覧回数
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 件の賞賛