S32K146 FlexCAN FDEN cannot set 1

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

S32K146 FlexCAN FDEN cannot set 1

跳至解决方案
456 次查看
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 解答
340 次查看
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 回复数
440 次查看
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 项奖励
431 次查看
feng0119
Contributor I

Hi,

feng0119_0-1704600130006.png

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

0 项奖励
341 次查看
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 项奖励