Skip to main content
ozgur erbulan
Visitor II
February 4, 2017
Question

Is AutoReloadPreload something new with cubeMX v19, firmware 1.6

  • February 4, 2017
  • 1 reply
  • 1014 views
Posted on February 04, 2017 at 19:00

Hi,

I used to use cubemx with 1.5.1 firmware.

I am using NUCLEO-F767ZI board. After formatting my computer, I realize that there is something new in timer configuration lines. It comes as:

htim(anyofthem).Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;

After cubemx, I am adding configuration files to the mbed OS and it returns error for that lines.

If I just delete that line, is the board works properly?

#cube-mx #nucleo-f767zi
This topic has been closed for replies.

1 reply

Christopher Pappas
Senior II
February 4, 2017
Posted on February 04, 2017 at 20:34

Yes, it is a new provision that is included for CubeMX 4.19. If you delete the line, it will default to 

TIM_AUTORELOAD_PRELOAD_DISABLE, and the ARPE bit in the timer will not be set.

If your code does not rely on the ability to pre-load a new timing period on-the-fly (without stopping the timer first), then you don't need to worry if it is disabled.

Kuba Miszcz
Visitor II
April 13, 2018
Posted on April 13, 2018 at 10:41

then why is it in production version when its just generate errors? if its for future the enable it when its ready to implement

>:(