We are trying to implement an interrupt on the ADC end of group conversion.
For this we are using the S32K344EVB-T172 evaluation board.
First, we tried to analyze how the “PWM Adc Synchronization 344 EBT works” but after changing the configuration tool to the S32 Config Tool, and update the code, we are not able to compile this example. We got a lot of error mainly associated with undefined functions.
In order to advance with the project, we decide to try to build the scenary from scratch.
We started by configuring the PWM as needed in our project.
In this case we only use Emios0 with channels 22 and 23 are configured in MCB_UP_DOWN_COUNTER mode to generate two shifted carriers. Base on them channels 1 and 2 are used in EMIOS_PWM_IP_MODE_OPWMCB_TRAIL_EDGE to generate the two PWM signals that are routed through the Trigger MUX and the LCU two get the control signals for two interleave half bridges.
Up to this point all is working properly.
In the default configuration we see that three ADC groups are already configured, but we are not able to get any indication of the end of conversion.
Could you please indicate us how to implement this functionality with the MBD toolbox.
Thanks you in advance.