Skip to main content
jose luu
Associate III
February 22, 2016
Question

CubeMX for STM32F746, unable to set a specific timer option

  • February 22, 2016
  • 2 replies
  • 751 views
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
This topic has been closed for replies.

2 replies

Amel NASRI
ST Technical Moderator
February 24, 2016
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 "Best Answer" on the reply which solved your issue or answered your question.
jose luu
jose luuAuthor
Associate III
February 27, 2016
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 */

  }