2020-11-06 11:18 AM
Is it possible for any of the analog watchdogs of ADC1 to be used to trigger TIM8? I would like to stop a PWM generated using TIM8 when an ADC1 conversion crosses a threshold. Table 251, Interconnect to the tim_etr input multiplexer seems to indicate that this is not possible, but Table 73, Interconnect 2 suggests that perhaps it is possible. Which table is correct? Table 73 seems to indicate that the triggers are somehow tied to ADC master slave behavior. Is this really the case?
thanks,
galen
2020-11-10 04:51 AM
Hello @galens ,
Thanks for your post.
Both tables should have the same – but Table 73 needs a bit explanation:
Where for example:
I have raised your feedback internally to modify RM0440 to have Table 73 more correct.
Please select the post as a "Best Answer" if it answered your question.
Imen
2020-11-10 09:16 AM
Thanks for your response. Based on that, the answer to my original question appears to be no, TIM8 cannot be triggered by an ADC1 watchdog. Only the watchdogs of ADC2 and ADC3 can trigger TIM8.
(Note that there is presumably an error in the TIM20 column of Table 73. On the timx_etr8 row, adc345_awd2_m should be adc345_awd1_m.)
2020-11-11 12:17 AM
You are right, the TIM20 column will be corrected in the coming RM0440.
Thanks for pointing out this typo.
Imen