SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
The best way to understand how to use the HRPWM capabilities is through two real examples:
The following examples all have initialization and configuration code written in C. To make these easier to understand, the #defines shown below are used.
Example26-2 assumes MEP step size of 150ps and does not use the SFO library.