I found a macro FEATURE_FCCU_FOP_SUPPORT which is defined in the file MPC5775E_features.h in the location C:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.0\platform\devices\MPC5775E\include
Also found the below snippet of code ,
#if !defined(FEATURE_FCCU_FOP_SUPPORT)
/* Base on prescaler Value can be calculated (value/64)|(value%64) Max Allow Value is 127 */
FCCU_SetFaultOutputPrescalerExtension(base, ((param->prescaler >> 0x6U) == 0U) ? false : true); /*divide by 64*/
FCCU_SetFaultOutputPrescaler(base, (param->prescaler & 0x3FU)); /*modulo by 64*/
#endif /* FEATURE_FCCU_FOP_SUPPORT */
Can you please explain if FOP SUPPORT is defined , then why the FCCU_SetFaultOutputPrescalerExtension & FCCU_SetFaultOutputPrescaler function calls are commented.
If I change the above code as below will this feature work in MPC5775E.
#if defined(FEATURE_FCCU_FOP_SUPPORT)
/* Base on prescaler Value can be calculated (value/64)|(value%64) Max Allow Value is 127 */
FCCU_SetFaultOutputPrescalerExtension(base, ((param->prescaler >> 0x6U) == 0U) ? false : true); /*divide by 64*/
FCCU_SetFaultOutputPrescaler(base, (param->prescaler & 0x3FU)); /*modulo by 64*/
#endif /* FEATURE_FCCU_FOP_SUPPORT */
Kindly revert back ASAP.