This is an old revision of the document!
(this page is under construction) The PWM-Generator Add-On for EVAL boards simplifies setup and testing by providing all PWM signals required to stimulate 3-phase B6 inverter topologies. The Generator is based on an STM32L432KCU6 Nucleo32 development board and is fully controlled via USB from a host running a Windows 10 OS. A small GUI application on the host controls all functions of the PWM-Generator.
In cases where Eval-Boards expect 5V logic (TTL) input signals, level-shifting from 3.3V logic of the PWM Generator is required. This could be achieved by a level-shifter interposing board. In order to facilitate usage and minimize p.c.b. real estate, such a level-shifter board could also accommodate the PWM-Generator in a piggy-back fashion.
A GENPRES (generator present) signal is provided to the host eval board which can be modified by the host in order to disable the PWM-Generator’s outputs.
On the right hand pane, make sure that the connection type is set to ST-LINK, then click “Connect”. The log window should report a successful connection as “Data read successfully” (the data displayed in the data window may be different). Note that the NUCLEO LED is flashing in red/green.
3. Install the PWM generator firmware on the NUCLEO board: click on the “Open file” tab and open the firmware “adi_pwm_gen.hex” in C:\Analog Devices\SoftwareModules\PwmGenerator-Rel1.0.0\firmware\bin.
Now, click on the “Download” button to download the firmware onto the NUCLEO. Click OK to confirm the completion of the download process. Your STM32L432 NUCLEO is now ready to run as a PWM generator. Close the STM32CubeProgrammer.
1. Start the PWM generator software (PGS) pwm_gen_gui.exe in
2.Select the correct COM port in the drop-down list. The PGS will immediately connect to the NUCLEO board:
3.Now you can set the PWM parameters according to your requirements:
Finally, click on “Apply” to send the changes to the PWM generator, which will then take immediate effect. You can then “Save” and “Load” these settings for later use.