# ADC Triggered Configuration

**URL:** <https://forum.plexim.com/t/adc-triggered-configuration/3396>\
**Category:** PLECS\
**Tags:** plecs, rt-box, stm32\
**Created:** [November 20, 2026, 3:45am UTC](https://forum.plexim.com/t/adc-triggered-configuration/3396 "2026-11-20T03:45:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lukman\_SN](https://avatars.discourse-cdn.com/v4/letter/l/82dd89/32.png) [@Lukman\_SN](https://forum.plexim.com/u/Lukman_SN)\
**Post date:** [November 20, 2026, 3:45am UTC](https://forum.plexim.com/t/adc-triggered-configuration/3396/1 "2026-11-20T03:45:35Z")

</div>

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

 ![image](https://europe1.discourse-cdn.com/flex006/uploads/plecs/original/2X/1/191912a896a042eabd7f35cd4ad844df78f9257c.png)  
Figure 1. SPI interface

 ![image](https://europe1.discourse-cdn.com/flex006/uploads/plecs/original/2X/7/78e8d3c4a2b1d6a341f5a35c052de63737da710e.png)

Figure 2. Measurement by ADC
