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.

PWMDac not working with HV kit code running on EZDSP for 28335

Other Parts Discussed in Thread: CONTROLSUITE

I am running the HV kit PMSM code for the 28335 on an EZDSP 28335 board.  I am now up to build level 4.  The PWM Dac does not seem to be working.  I have put a scope on the PWM5A, 5B and 6A outputs of the EZDSP and there appears to be no signal. 

I would appreciate some suggestions of what to look for to solve this problem.

Thanks,

Brad Mularcik

  • The driver shipped with the HV Kit supports the channels 5A and 6A only for the F28335 device. You would have to modify the driver if you want to use different channels. The driver can be found here

    controlSUITE\libs\app_libs\motor_control\drivers\f2833x_v1.1

    Make sure you have the PWM's clock enables and port settings are correct..

    Regards

    Manish Bhardwaj

     

  • Manish,

         The HVPMSM for 2833x example code contains the f2833xpwndac.h file.  What do I need to look at to determine of the PWM's, clock enables and port settings are correct?  I am sorry to be so helpless.

    Thanks,

    Brad

  • Manish,

         I found that the EZ DSP has a dip switch that must be off for the GPIO8 and 10 to be used as IO instead of CAN.  Now that this is set to "off", the outputs are generating PWM signals.  I can now connect them to the RC DAC filter on the 88312 eval board.

    Thanks,

    Brad