cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G071 Timer One Pulse Mode Not Working..

Karan 123
Senior

Hi,

I have NUCLEO-G071RB board . My System Clock frequency is 64 MHz .

The Timer (6) with Generates Continue Interrupt is working fine by CubeMx Code

By Just adding  HAL_TIM_Base_Start_IT(&htim6) ;  Line

I need only One Pulse But One Pulse Mode on "Cube Check Box Option" is not working at my ends

if(SW == 0)

{

// Generate One Pulse according to Timer

HAL_TIM_Base_Start_IT(&htim6) ;

}

0693W000007ZZ9kQAG.png 

Do I need something extra in code ?

--

Karan

0 REPLIES 0