STLUX adc trigger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-21 1:12 AM
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.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-22 12:54 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-22 12:54 AM
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
