Hello,
The current implementation of S32DS PA SDK 2.9.0 does not support the configuration of an eMIOS OPWMB channel with a timebase channel configured to be in OPWFMB mode. It only supports a timebase channel configured in MCB mode.
Our application requirement is for two eMIOS channels generating opposite-polarity signals, with dead-time in between, as follows:
________ ________ _____
TB_CHAN : ____| |_________| |__________|
___ ______ _______
AUX_CHAN: |__________| |____________| |________One of the channels is assigned to a BCD eMIOS channel, and the other belongs to the same eMIOS group; ie. one of the channels has to function as common timebase and pwm output.
The current driver seems to require three eMIOS channels, one functioning as an MCB timebase and two functioning as pwm outputs. This seems to be a limitation of the eMIOS pwm driver implementation and not of the eMIOS peripheral itself. Therefore, please update the driver such that:
- The OPWMB function will accept a timebase channel operating in OPWFMB mode.
- There is a way to initialize the leading and trailing edge placement for the OPWMB mode.
Attached you can see a partial implementation of the proposed solution.
Thank you,
Dan