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.

CCS / TMS320F28027F:The source code of the TMDSHVRESLLCKIT suite is absolutely wrong

Part Number: TMS320F28027F
Other Parts Discussed in Thread: TMDSCNCD28027, CONTROLSUITE

Tool/software: Code Composer Studio

I use the TMDSHVRESLLCKIT suite. When I write it into LLC program, there is no PWM waveform output at all. I think the source code of TMDSHVRESLLCKIT suite is wrong.

  • Hi Desert,

    The source code should be right theoretically. It could be caused by several possible reasons. Can you give us more information on this besides no PWM output was found? Is there anything that you thought in the code might cause this problem? Thanks.

    Regards,
    Chen
  • Hello, Chen Jiang!

        I purchased a TMDSHVRESLLCKIT kit. For safety reasons, this TMDSHVRESLLCKIT kit does not load 400VDC DC high voltage, but only adds +5VDC to the TMDSCNCD28027 control card.

    Then use the oscilloscope to measure PWM-1A (GPIO-00), no PWM waveform output, only 0V low level! Also use the oscilloscope to measure PWM-1B (GPIO-01), there is no PWM waveform output, only 3.3V high level! This is very strange!

    According to the program in C:\ti\controlSUITE\development_kits\TMDSHVRESLLCKIT_v1.0 given by TI, it is written into the TMDSCNCD28027 control card. The result is the same as above, also PWM-1A(GPIO-00)=0V,

    PWM-1B (GPIO-01) = 3.3V.
       
        Based on the above test data, I think the source code of TMDSHVRESLLCKIT_v1.0 is a problem, it is a source code that does not work properly! If there is no problem with the source code of TMDSHVRESLLCKIT_v1.0, then I would like to ask: how to set up
    Can the TMDSHVRESLLCKIT kit work properly?

  • Hi Desert,

    Thanks for your reply. Did you follow the HVLLC-SWGuide in the controlSUITE? If not, I suggest to go through it. If yes, I assume it does not work under build 1(mainly check ADC and PWM), at which specific step did you start to see the problem?

    Regards,
    Chen
  • Hi Desert ,

    Do you have any updates for this issue? I will be back to office on 3/21 and will follow this thread at that time. Sorry for the inconvience.

    Regards,
    Chen
  • Hello, Chen Jiang ti! Thank you very much for your reply!

       I went on a business trip last week. I just returned today. According to your practice, I followed the HVLLC-SWGuide in controlSUITE. According to the build 2,
    the PWM waveform immediately came out! Fine, thank you!

    But found several new problems: 1, PWM cycle is 6us, why is the cycle so short? How can I change the size of the initial value period? 2, the voltage feedback is input
    by ADC-A7, but the output can't be regulated, that is, it can't work in closed loop. I did it according to build 2.

  • Hi Desert,

    Sorry for the late reply.

    1. In the software guide build 1:
    With the primary power supply set to 0V or turned off, verify the PWM and ADC circuitry:
    --Enable the PWMs by setting “LLC_Enable” and “SR_Enable” to 1. Use an oscilloscope
    to verify the PWM waveforms. Adjust the “Period” value and verify that the frequency of
    the PWM waveforms change.

    2. Have you verified all the procedures in build 1? Are you able to change the output voltage in build 1?

    Regards,
    Chen
  • Hi Desert,

    Are you able to solve the problem? I am going to click the "TI thinks resolved" button and close the thread. Feel free to come back and create another thread if you have any other questions. Thanks.

    Regards,
    Chen
  • Hello, Chen Jiang Ti !

         I have been working too busy recently, so I have not given you a reply for a long time, I am very sorry! According to the method you said, the waveform of the PWM comes out, and the maximum and minimum period of the PWM can also be set arbitrarily. Through the voltage feedback terminal of the ADC-A7, the closed-loop voltage regulation is also very stable, that is, the TMDSHVRESLLCKIT kit is used as the LLC Power supply, closed loop regulation is no problem! This is very good!
       
         The output voltage is 12V, and the output current can even reach 50A, but there is no overcurrent protection function. Observe the ADC-B1 port with an oscilloscope, the waveform of the current signal, and even the maximum signal amplitude can reach 3.3V or more, but there is no protection Action, carefully check the relevant current protection code, found that the voltage feedback terminal code of ADC-A7 is working, the current feedback ADC-B1 port has no overcurrent protection code, how can Chen Jiang Ti get the current protection function of TMDSHVRESLLCKIT kit Normal? I hope that Chen Jiangyi will give an answer during his busy schedule, thank you!
  • Hi Desert,

    Yes, there is no current protection in the code. You can implement it by using the comparator and EPWM module.

    Regards,
    Chen
  • Very good. Thank you very much, Chen Jiang Ti !