Hi forum,
For my masterthesis I'am using the LAUNCHXL-F28027F with Simulink Matlab to implement my control algorithm. What want to do is having one LAUNCHXL-F28027F as a master device, it will be connected by an SPI bus to multiple LAUNCHXL-F28027F in a daisy chain. For the application it is important that they are synchronized and have a determined phase shift to each another. So I thought I approach my problem step by step by only using one LAUNCHXL-F28027F and control the PWM1 and PWM2. The was in a first step to synchronize them and then add a phase shift. I set up the following model in Simulink for the MCU:
I control the frequency, duty cycle etc trough the SCI communication bus from my laptop with the following model:
When the model is running I can adjust everthing apart of the phase shift of the PWM channels. here are the settings of the PWM blocks:
What am I doing wrong? and for the next step how can I proceed the Synco trough SPI to the other MCU?
Thank you for your help!
Best regards,
Oliver