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.
Hello @shivakrishna,
These can be the reasons:
The code you posted is not complete.
Can you please implement all the steps?
Regards,
Daniel