Hello NXP Team,
I am working on an S32Z280 EVB using S32DS and RTD 2.0.1
My requirement is to generate a continuous output clock/square wave of approximately 4.9 MHz on an external pin.
I initially tried using eMIOS PWM with the following configuration:
Initialization code:
Clock_Ip_Init(&Clock_Ip_aClockConfig[0]);
while (CLOCK_IP_PLL_LOCKED != Clock_Ip_GetPllStatus())
{
}
Clock_Ip_DistributePll();
Emios_Pwm_Ip_InitChannel(1U, &Emios_Pwm_Ip_I1_Ch4);However, I do not observe any waveform on the output pin using an oscilloscope.
My questions are:
Is eMIOS the recommended peripheral for generating a 4.9 MHz square wave on S32Z280?
Does OPWFMB mode require any additional master bus/timebase configuration?
Would GTM TOM/ATOM be a better solution for generating a stable 4.9 MHz output?
Could you provide an example configuration (eMIOS or GTM) for generating a ~5 MHz output signal on an external pin?
Is there any specific clock configuration required beyond enabling the eMIOS clock?
Any guidance or example project would be greatly appreciated.
Thank you.
BR,
Karthik