2025-02-13 05:40 AM
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:
Solved! Go to Solution.
2025-02-13 06:45 AM
Hello @waaizkhan ,
have you seen the example in Cube Firmware _G4 examples:
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
2025-02-13 06:45 AM
Hello @waaizkhan ,
have you seen the example in Cube Firmware _G4 examples:
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