hello team
1. how to configure the PWM output signals? we need to configure the PWM output signal with 75% duty cycle with 16Khz
2.which pin we can configure for this operation??
Included in the S32K3 RTD are some examples of configuring a PWM using FlexIO and EMIOS.
B.R.
VaneB
hello
1.can we generate the 16khz PWM signal with using Output PWM Buffered (OPWMB) pin (eMIOS_0_CH[0]_X) in S32k312 or s32k342?
2. for PWM (16kHZ) output can use GPIO pins?
eMIOS is clocked by CORE_CLK(up to 160Mhz). eMIOS divides this clock by the global prescaler (MCR[GPRE] + 1) and routes the resulting prescaled clock output to the channel internal prescaler (Cn[UCPRE] + 1). Thus channel internal counter counts (CORE_CLK/global prescaler/internal prescaler) clock.
For example if the channel is running in OPWFMB mode, its PWM frequency is calculated as:
PWM frequency = CORE_CLK / global prescaler / internal prescaler / (B1+1)
Where B1 is the value of the B register.
Please refer to device RM for description of eMIOS modes.
@VaneB
How could define B1 in RTD?