Hello PLECS Support Team,
I would like to ask a question regarding the use of a triggered ADC. I am currently designing a three-phase inverter with voltage and current control in STM32G474RE. The inverter I am using is an average model, so the output of the current control loop is a voltage normalized/modulated by Vdc/2. The control signals are sent over an SPI interface to control the average-model inverter on the RT Box 2 side.
In this setup, I am not using PWM signals, so I am a bit unsure how to configure the trigger for the ADC block that reads the current signals from the RT Box. Normally, a triggered ADC is driven by a PWM trigger. Since I am using SPI instead, how should I use/trigger the ADC so that it can accurately sample/measure the current signals?
Best regards,
Lukman
Figure 1. SPI interface
Figure 2. Measurement by ADC

