Part Number: TMS320F280039
Other Parts Discussed in Thread: TIDM-02013, , C2000WARE
Dear TI Expert,
When I was studying the source code of the TIDM-02013 project, I found the code related to the TBPRDHR register calculation in the following function quite confusing.
According to the content of the source program, the second parameter of the function is 500800 (the LLC resonant frequency), the third parameter is 120000000 (the system clock), and the macro TWO_RAISED_TO_THE_POWER_SIXTEEN is defined as 65536. In this case, the variable pwmPeriod_ticks will become a very large value. I would like to ask what is the reason for this calculation?
Are there any easy-to-understand reference materials that introduce the content of HRPWM?
Looking forward to your reply, thank you!
Best Regards,
Power Wang
