cancel
Showing results for 
Search instead for 
Did you mean: 

In RM0401 Rev 3 and using the STM32F410, Table 62 page 373 shows that LPTIM can be used as a source trigger for TIM5 (slave). Is this possible?

FArms.1
Associate II

I've noticed that there does not seem to be a trigger output selection for LPTIM. Is there a default operation I am missing?

I've tried making LPTIM as the source trigger for TIM5 for the STM32F410 in the CubeMX IDE but can't seem to get it to work.

If this is possible, is there an example setup I can refer too?

2 REPLIES 2
FArms.1
Associate II

I figured it out.

I was able to setup LPTIM to output a PWM signal on PC1 to verify the LPTIM. Then by selecting 'external clock mode 1' in TIM5 and setting it for ITR1 and setting TIM5 to OC, I can operate LPTIM as the pre-scaler for TIM5. So, LPTIM can be used to trigger TIM5 as a pre-scaler. There is no setting in LPTIM that needs to be selected to generate the trigger.

Well observed.

This is much like when timers without explicit TRGO are used as triggers - their output channel is there used as trigger source in the slave. Pity the RM does not make this explicitly clear.

JW