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.

Compiler: DRV3205 EVM foc demo (N2HTE output pwm control pmsm).but charge pins the pwm can not output。

Other Parts Discussed in Thread: HALCOGEN, DRV3205EVM

Tool/software: TI C/C++ Compiler

dear all:

          DRV3205 EVM  foc demo (N2HTE output  pwm control pmsm).but charge  pins  the pwm can not output。

In the demo,used pin 20 18 16 30 14 12 . But we charge the pin ,pwm can not output ????

can you give me the N2HET demo Interpretation? 

  • Hi Feng,

    Our expert has been notified and should reply soon.
  • Hello Mr. Yang,

    You need to change the code in several places:

    1. Pinmux: make sure the pins you used are checked in pinmux page of HALCoGen

    2. The HW provides a XOR gate that is connected to outputs of the HR structure of 2 consecutive pins: N (even) and N+1(odd pin). You have to use the even pins for PWM output

    3. You also need to change the pin assignment in NHET micro code ( DRV3205EVM_N2HET.het). After change the pin assignment, please generate new header file and c file using HET IDE. Then copy the generated c file (DRV3205EVM_N2HET.c) to \..\drivelib\src folder, and header file (DRV3205EVM_N2HET) to  \..\drivelib\inc folder 

    4. The pins you assigned for PWM output are not be used by DRV3205 to drive the motor. So the modified code will not spin the motor.Please probe the PWM waveform at NHET pins on Launchpad

    Any question, please feel free to let us know.