cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX for STM32F746, unable to set a specific timer option

jose luu
Associate III
Posted on February 22, 2016 at 19:16

Under ''slave mode'' the timer configuration of the TIMx_SMCR register: ''

Combined Reset + trigger'' 

mode cannot be reached using the available menu items whereas ''reset mode'' or ''trigger mode'' are available.

It could also be that the encoder modes are not available as well.

#stm32f7xx-stm32cubemx
2 REPLIES 2
Amel NASRI
ST Employee
Posted on February 24, 2016 at 13:41

Hi jose.luu,

I confirm that the mode ''Combined reset + trigger'' for a slave timer is missing.

This is a bug that will be fixed soon.

Sorry for any inconvenience this may cause for you.

-Mayla-

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.

jose luu
Associate III
Posted on February 27, 2016 at 14:47

Thank you.

May I suggest that you make a provision for user code inserted at the end of the generated function, this would allow to complement the missing bits:

void MX_TIM1_Init(void)

{

... generated code ...

  /* USER CODE BEGIN MX_TIM1_Init1 */

  /* USER CODE END MX_TIM1_Init1 */

  }