Part Number: TMS320F28379D
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE
Tool/software: Code Composer Studio
Hello
Using the examples provided under Controlsuite-> device support -> F28379D and the technical reference manual I managed to understand how the PWM and ADC work.
Now I would like to include the CLA into my program to calculate the control law.
In the technical reference manual, they say that you should do the following six steps:
1)Copy CLA code into the CLA program RAM
2)Initialize CLA data RAM if necessary
3)Configure the CLA registers
4)Initialize the PIE vector table and registers
5)Enable CLA tasks/interrupts
6)Initialize other peripherals
I tried to retrieve these steps in the examples that are provided but I have a lot of difficulties with this CLA. Is it possible to provide an example where all these steps are shown? Are there some functions that are provided to be readily used for this purpose?
I would like to use the CLA for the PI control loops in a power electronics converter.
Kind regards
Simon