Skip to main content
Visitor II
April 21, 2025
Solved

STLUX adc trigger

  • April 21, 2025
  • 1 reply
  • 393 views

I am trying to configure an STLUX285 SMED to trigger an ADC measurement but am unable to find the documentation of the registers required to do this.

RM0380 claims "SMED as ADC trigger source" in section 21.16.

"AFR_IOMXP2" is supposed to have a bit called "ADC_HWtrg" yet I cannot find it.

likewise the bit "SMD_HWtrg" seems not to be documented anywhere.

How do I configure the SMED to trigger an ADC reading at a precise point in time?

For context:

The SMED is used to drive the primary mosfet of a flyback converter. I want to use it also to trigger an adc conversion of an aux winding.

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    First of all, please note that the STLUX285A was discontinued some time ago and support is no longer possible, at least from STMicroelectronics. The RM0380 is also from 2015 and will probably no longer be corrected (there are quite a few mistakes in there).

    If I remember correctly, I didn't see any HWtrg in the SMED configurator STSW-STLUXSMED02 that could trigger the ADC at a precisely specified time.

    Regards
    /Peter

    1 reply

    Technical Moderator
    April 22, 2025

    First of all, please note that the STLUX285A was discontinued some time ago and support is no longer possible, at least from STMicroelectronics. The RM0380 is also from 2015 and will probably no longer be corrected (there are quite a few mistakes in there).

    If I remember correctly, I didn't see any HWtrg in the SMED configurator STSW-STLUXSMED02 that could trigger the ADC at a precisely specified time.

    Regards
    /Peter