S32K312 FCCU Config state issue

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

S32K312 FCCU Config state issue

405 Views
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 Kudos
Reply
1 Reply

381 Views
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 Kudos
Reply