cancel
Showing results for 
Search instead for 
Did you mean: 

STLUX adc trigger

mschn.17
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Peter BENSCH
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.