S32K312 FCCU Config state issue

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

S32K312 FCCU Config state issue

336 次查看
shivakrishna
Contributor I

Hello NXP,

I am trying to configure FCCU for S32K312. When I run OP1 operation after unlock the configuration, the operation status is always aborted. please check the steps 

Steps followed:

/************Config State********************/

//unlock OP1 to put the FCCU in Config State.
IP_FCCU->CTRLK |= FCCU_CTRLK_CTRLK(0x913756AF);
//Set the Operation status as Idle
IP_FCCU->CTRL |= FCCU_CTRL_OPR(1);
//checking for Operation Status, still the status in Prograss stay in the loop
while(IP_FCCU->CTRL & FCCU_CTRL_OPS_MASK != 3U);

/*********************************************************/

/* Initiation of FCCU */

/********************************************************/

/*****************Normal State***********************/

//unlock OP2 to put the FCCU in Normal State.
IP_FCCU->CTRLK |= FCCU_CTRLK_CTRLK(0x825A132BU);
//Set the Operation status as Idle
IP_FCCU->CTRL |= FCCU_CTRL_OPR(2);
//checking for Operation Status, still the status in Prograss stay in the loop
while(IP_FCCU->CTRL & FCCU_CTRL_OPS_MASK != 3U);

but every time, operation status abort, FCCU initialization not happening because of FCCU not enters into Config state. we are not using debugger to step into it. 

please help us to resolve this issue.

0 项奖励
回复
1 回复

312 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @shivakrishna,

These can be the reasons:

danielmartynek_0-1714049028642.png

 

The code you posted is not complete.

Can you please implement all the steps?

 

danielmartynek_1-1714049077990.png

danielmartynek_2-1714049298490.png

 

Regards,

Daniel

 

 

0 项奖励
回复