Different roles TIM2 & TIM6 in code example in nucleo board Stm32G431RB
Hello everyone !
Hope you are fine,
The file I use is one of the example on stm32G431RB "DAC_SignalGeneration2" and for this example, the output frequency on Oscillo is 1kHz but for my use, I want to have high frequency for sinusoidal signal on oscilloscope. I try many issu but i don't have what i want.
For example, I calculated PSC et ARR corresponding to my frequency i want or double the number of step in tab sinewave or do (programmed a specific tab sinwave at the frequency i want but i stil don't have good result on oscilloscope.
And i don't understand the specific roles of each timer (TIM2 & TIM6) in this code.
Thank you for you respond
