cancel
Showing results for 
Search instead for 
Did you mean: 

Is AutoReloadPreload something new with cubeMX v19, firmware 1.6

ozgur erbulan
Associate
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
2 REPLIES 2
Christopher Pappas
Senior II
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.

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

>:(