Skip to main content
Michal Dudka
Lead
Jun 21, 2020 10:29 AM UTC
Question

CubeMX generate "ilegal" initialisation code for TIM6 in LL API

CubeMX TIM6 initialisation code for LL API ("MX_TIM6_Init") calls function

LL_TIM_DisableMasterSlaveMode(TIM6) set bit in "reserved" memory location. TIM6 do not contain MasterSlave controller.

Tested on CubeMX 5.6.1 with H743ZI (Nucleo).

0693W000001r8YBQAY.jpg0693W000001r8Y6QAI.jpg

0693W000001r8YGQAY.jpg

This topic has been closed for replies.

1 reply

Michal Dudka
Lead
Jun 21, 2020 10:30 AM UTC

Correction - it clears bit in reserved location...