In this 8th lecture of the motor control course we discuss about power stage (DevKit MotorGD) configuration that involves the configuration and initialization of the MC34GD3000 FET pre-driver via SPI commands and the setup of the FlexPWM peripheral to generate PWM commands to the inverter MOSFETs.
Main topics:
- What is MC34GD3000 FET pre-driver and how it works;
- FET pre-driver initialization sequece;
- Power Stage Configuration and Control pins;
- How to configure the FlexPWM to generate PWM commands and validate the hardware;
- How to configure the SPI communication;
Objectives:
- Understand MC34GD3000 role;
- Understand PWM;
- Understand SPI communication;
- Implement and validate models for power stage initialization, configuration and operation;
NOTE: Chinese viewers can watch the video on YOUKU using this link
注意:中国观众可以使用此链接观看YOUKU上的视频
Additional information:
- pdf attached with slides shown in this video;
- Simulink models used in this video;
Update revisions:
February 25, 2019
May 06, 2020
Hi,
I'm trying to use this with the MOTORGD & REV E of the MPC5744P (MATLAB R2020b is what I'm running), and each time I try to run the coder I get an error claiming that it's trying to divide by 0 at some point. Could I have some assistance on this please?
Thanks,
Crispin
Hi Daniel:
I can not open the attachment.
Beacause I use MATLAB R2015a, can you export previous version?
Thanks.
Hi rogerdai,
Sure, please find it attached in 2015a mdl format.
Hope you find it useful.
Best regards,
Daniel