This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hi All,
As shown in the below figure, I need to generate 6 PWM signal (Ta1 -Ta6) with an external modulating sine wave. I have TMS320F28035 control card and I have gone through examples projects available in controlSuite. But I am not able to find a solution to my requirements as the PWM duty cycle from the control card is fixed and not varying throughout the modulating signal cycle, due to duty cycle is dependent on TBPRD register.
However, in my requirement there are multiple duty cycles within the the modulating signal cycle as shown in below. Now my questions are
1)How can I generate the multiple duty cycles PWM within the the modulating signal cycle?
2)Initially I am planning to generate the modulating signal using internal look up table, can I able to generate sine wave in TMS320F28035 control card? because I have not seen any signal generation libraries or sample signal examples in the controlSuite.
3)If TMS320F28035 control card is not suitable for my requirements, then could you please suggest me the suitable device to full fill my requirement.
4)I have simulated the requirement in simulink, but I tried to load the program into the control card , however, PWM blocks are not having any inputs.
Therefore, I request you to provide me suitable solution and kindly let me know if you need any further information.
Regards!
Bala
Bala,
if you wish to update the PWM's frequency you can simply change TBPRD, we of course recommend using shadow loads however immediate loads are also available.
To answer your questions directly as I can.
Regards,
Cody
Basic info on MathWorks C2000 support is available here: https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/484814
There are posts in these forums with MathWorks + TI C2000 questions and answers - you can search to find them.
Finally, you can contact MathWorks Technical Support if needed.
Cheers,
-Brian