Part Number: UCC5870QEVM-045
Other Parts Discussed in Thread: LAUNCHXL-F28379D, , UCC5870-Q1, UCC5881-Q1
Hi,
I am currently working on an ACIM motor control PoC based on SIMULINK and the LaunchPad LAUNCHXL-F28379D, like this :
PC+SIMULINK ↔ LaunchPad with 0/+3V PWM outputs → UCC5870QEVM-045 to get -8/+15V outputs → Inverter with six +15V IGBT gates → triphased ACIM
In SIMULINK, before doing anything else, I must first configure the UCC5870QEVM-045 module properly at startup with the right data frames in the right order.
It looks like it would be too complex to do that using the SPI blocks from C2000 Microcontroller Blockset from scratch, since there are almost no example except a CCS code sample.
However, since there is this sample CCS code on the UCC5870QEVM-045 product page, I was wondering how to properly adapt and run this initialization code using SIMULINK custom C block.
How can I do this properly?
Plus, I didn't dig deep into the code, it is a bit complex and I want the module to just do the work, but are there changes to be done?
Thank you for your help!