cancel
Showing results for 
Search instead for 
Did you mean: 

DAC Sawtooth waveform generation for peak current mode boost converter

waaizkhan
Associate II

Hi everyone,

I am working on implementing the Peak Current Control Method for a boost converter. As an initial step, I am trying to interface the sawtooth waveform for my ramp signal.

I have followed the ST YouTube video on this topic:
"STM32G4 Series Video App Note: DAC Sawtooth waveform generation for peak current mode buck converter",
but I am still unable to generate the sawtooth waveform successfully.

I would be really grateful if someone could help me with this. Any guidance or suggestions would be highly appreciated!

Thanks in advance! :smiling_face_with_smiling_eyes:

1 ACCEPTED SOLUTION

Accepted Solutions
STea
ST Employee

Hello @waaizkhan ,

have you seen the example in Cube Firmware _G4 examples:

 STM32CubeG4/Projects/NUCLEO-G474RE/Examples/DAC/DAC_SignalsGeneration2 at master · STMicroelectronics/STM32CubeG4 

this example offers 2 use cases using sinewave and sawtooth signals, but you can keep the sawtooth for you to make it work. this is similar to the examples you followed in the video but quite easier as it is developed with HAL and not in LL like in the example.
Regards 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
STea
ST Employee

Hello @waaizkhan ,

have you seen the example in Cube Firmware _G4 examples:

 STM32CubeG4/Projects/NUCLEO-G474RE/Examples/DAC/DAC_SignalsGeneration2 at master · STMicroelectronics/STM32CubeG4 

this example offers 2 use cases using sinewave and sawtooth signals, but you can keep the sawtooth for you to make it work. this is similar to the examples you followed in the video but quite easier as it is developed with HAL and not in LL like in the example.
Regards 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.