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.

TMS320F28377D: Looking for C2000WARE-DIGITALPOWER-SDK sample code function name

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE-DIGITALPOWER-SDK, , TIDM-HV-1PH-DCAC, TIDM-1000, TIDM-DC-DC-BUCK

Hi team,

I’m looking for sample code function name for specific interrupt processing.

My customer is interested in TMS320F28377D and would like to see how PWM ISR will be done in our C2000WARE-DIGITALPOWER-SDK sample code.

I’ve got inputs from another team that in our sample code it works as;

  • The PWM ISR will trigger the ADC read, set a flag, and then exit so that the ISR completes as quickly as possible.
  • The control loop code will then see the flag to run the next iteration, read the ADC values, compute the new PWMs, and update them before the next PWM cycle.

Could you tell me the function name which will show the above described operation?

Best regards,

Kurumi

  • Hi Kurumi-san

    You can take a look at the TIDM-1000 or the TIDM-HV-1PH-DCAC solutions for sample PWM ISRs. I'll have a digitalpower systems expert comment further on the ISR details.

    Regards,

    Ozino

  • Hi Ozino-san,

    Thank you for your comments. I have technical issue with the C2000WARE-DIGITALPOWER-SDK. I'll contact IT team but right now I cannot see the code by myself.

    Also I will not be able to read/understand the code since I'm not really familiar with the software. I'd appreciate it if the digital power systems expert could tell me the function name the customer is looking for.

    (I'm sorry but I accidentally hit "This resolved my issue" bottom )

    Best regards,

    Kurumi

  • Kurumi-San, 

    Please have the customer go through the C2000 training first, the SDK is not supposed to be to learn the C2000 device. First is C2000 training.

    Every solution in the SDK may do this differently based on the application needs and impact and there is no one way to do things right. 

    Hence i will recommend if you have a specific question narrow it to one design the customer is looking at .. 

    I'll be unable to answer the question for the whole SDK, typically this is handled in setupInterrupt function which is called from the main.c and you will need to look at that particular solution to understand how it is done for it.

    -Manish 

  • Manish-san

    Yes, the customer has been using C2000 already. They need to speed up the processing speed, so they’d like to understand how software approach can be done, and how our software solution can help.

    I understand that there are different ways to accomplish that. Could you tell me one function name that I can tell the customer as example?

    For example, in the TIDM-1000 software, which one is related to PWM ISRs?

    If TIDM-1000 software is not designed to have the best processing speed, please let me know so that we can discuss detail offline.

    Best regards,

    Kurumi

  • Hi Ozino-san and Manish-san

    Do you have any update on this?

    Best regards,

    Kurumi Hasegawa

  • Please point them to TIDM-1000 and TIDM-DC-DC-BUCK, On TIDM-1000 see fig 4, we trigger the ISR and use the same trigger to start the interrupt. BY the time we reach the ISR execution the ADC result is ready.

    We provide several thresholds to trigger the ISR in the PWM so if the sampling needs to be adjusted it can be done. You can also point them to F28377 training.  

  • I understand. Thank you for the advice.