Twist tutorials setup environments - owntech-foundation/Tutorials GitHub Wiki
We have made a tool for you to visualize which parameter you will need to implement. You don't understand yet what a PWM or a dutycycle mean ? Go first on our electricity basis course (link).
svg The following parameters will be used to set up your electrical converter. If you don't have any oscilloscope at home, you can test your parameters here and visualize how it goes.
pwmSetFrequency(200000); pwmSetModulation(PWMA, Lft_aligned); pwmSetDeadtime(PWMA, 250, 250); pwmSetDutyCycle(PWMA, 0.5); pwmSetPhaseShift(PWMA, 0); pwmInit(PWMA); pwmStart(PWMA); pwmSetDutyCycle(PWMC, 0.5); pwmSetPhaseShift(PWMC, 180); pwmInit(PWMC); pwmStart(PWMC);