SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
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.
Example22-2 assumes MEP step size of 150ps and does not use the SFO library.