2016-03-13 10:15 PM
Hi,
I found an error in RM0360 about TIM15/16/17.
It says TIM15 is able to act as a slave timer and triggerred by TIM16 or TIM17 (On page 403, slave timer is TIM15, when chosse ITR2, TIM16 acts as external trigger). But according to ''TIM16 and TIM17 block diagram'' on page 374, TIM16/17 have no TRGO signal. Also, I cannot find the master mode bits when check the registers of TIM16/17.
So, I think there may be something wrong about these 3 timers. TIM15 cannot be triggered by TIM16/17, right? But when I check the homepage of STM32F030x8, I cannot find any docs about this issue. I really confused about this problem, because I need a 32-bit timer but TIM1/3 have been occupied.
I would like to konw that whether TIM15 and TIm16 can be connected together. And how to connect them.
Thank you.
#stm32f030r82016-03-14 04:27 AM
Hi kang.wang,
There is no trigger output for TIM16 and TIM17. That is why their regular output compare (TIM16 OC and TIM17 OC) are used as internal triggers for TIM15.In fact, TIM15 trigger input is directly connected to TIM16 and TIM17 outputs.Then, in slave side (TIM15 in your case), you have to select the relevant ITR.-Mayla-PS: based on the pages numbers you provided, I think that you are not using last revision of the document ().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.
2016-03-15 03:58 AM
Hi, Mayla
Thanks. I have downloaded the newest RM0360.pdf. I think these following step maybe necessary:1. Select TIM15 trigger source ITR2;2. Config TIM16 TH1 OC mode;3. Enable OC output, but not connect the pin.Right?Thank you.Wang Kang.