Hi @agus_idiada
Thank you for sharing your project with us. I have downloaded the attached archive, and I am still debugging your project for being able to provide a complete solution for your use case. However, I would like to share this intermediate support on the issues found so far. Please find each of them depicted below, together with its associated fix.
1. Disable Mcl Enable User Mode Support
The Simulink model does not build successfully due to the fact that the Mcl Enable User Mode Support check box is enabled. If that checkbox is enabled and the Mcl component must be used in this configuration mode, the MCAL_ENABLE_USER_MODE_SUPPORT flag must be also provided during the compilation process. This is due to the RTD (Real-Time Drivers) implementation that our toolbox integrates for configuring and controlling the on-board peripherals, pins and clocks. Since we have not tested, inside our toolbox, the RTD components configured in this mode so far, I have disabled the option from your attached .mex file, thus being able to obtain an executable file (.elf) for the application. Please let us know if there is a specific need for this user mode support enablement and we could analyze and come back with the necessary details for its operating mode.

2. DMA configuration
After performing step 1, I have downloaded the application on target, and its execution resulted in a hard fault during the Mcl_Init function. This is because inside the Mcl component you are also enabling the DMA Support, without configuring the DMA peripheral clocks. Hence, when DMA registers are trying to be read/set, a hard fault occurs. My proposal would be to disable it for now, and focus only on the use case you are trying to achieve, thus taking the functionalities step by step. We could perform the DMA configuration later on during the application development process.

Together with this, please also disable the Adc Bctu Control Mode Enable DMA Support as well.

3. Adc_EnableCtuControlMode
Now, for being able to trigger your ADC conversion using Bctu, Trgmux and FlexPwm, I have seen that you are using the Adc_CtuEnableHwTrigger function inside the model's initialization. For being able to use this function, and enable the hardware trigger provided as a parameter, you would need to enable the Bctu control mode for the Adc instance.

For more details on the Control and Trigger modes of the Bctu, please refer to the RTD_ADC_UM.pdf document, available inside <toolbox_installation_path>/S32K3_RTD/SW32K3_RTD_R21-11_4.0.0_P19/eclipse/plugins/Adc_TS_T40D34M40I0R0/doc folder. A short snippet with relevant information is attached below

4. BCTU Configuration
Inside the Bctu configuration tab you have the Adc Target Mask option, which will specify to what ADC instance is the Bctu trigger associated to. Please note that in this field, as you are using ADC1, you should type the value of 2, based on the embedded help associated to this setting.
1 - ADC0, 2 - ADC1, 4 - ADC2, and so on.

5. [UNDER INVESTIGATION] BCTU FIFO data unavailable
After performing these steps, I was able to debug the application which now enters the Bctu ISR Handler. Inside this BCTU ISR Handler, the Watermark notification Motor_Isr is called whenever the number of elements in the FIFO will be greater than the specified value. As the application currently does not execute the Motor_Isr callback, I have debugged and seen that no data reached the FIFO. Hence, my guess is that something is still missing on the configuration side, and we are currently looking into this, for being able to provide a complete solution to your problem.
I have attached to this thread the .mex file containing the modifications mentioned above. We will come back with a solution for addressing your use case as soon as we reach a resolution for the last item.
Thank you for your understanding,
Irina