Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE, BOOSTXL-BUCKCONV
Hi,
In the code for the HRPWM converter, which is referenced in a previous question that I have created a new question from, there are a few questions I have. The code can also be seen on page 25 of https://www.ti.com/lit/ug/spru924f/spru924f.pdf?ts=1616598823840&ref_url=https%253A%252F%252Fwww.google.com%252F.
First of all, the initialization code is written in C, but the actual updating of the duty, I believe, is performed in assembly. How exactly does one call an assembly code from the main C? There does not seem to be any single function or call from within the C code that would allow execution of the asm file.
Is this a good snippet from a full program, that TI wrote? is there any way I could access this whole C program, such that the program makes more sense with more context?
This would also help with a lot of the defintions when initializing the PWM module, which are given as variables - which I assume are initialized as global variables elsewhere in the code. I am afraid that it is terribly difficult to understand and interpret the HRPWM code snippet with so little context.
Regards,
Joel