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.

C2000WARE-DIGITALPOWER-SDK: Where to put duty calculation inside code

Part Number: C2000WARE-DIGITALPOWER-SDK
Other Parts Discussed in Thread: LAUNCHXL-F28069M, CONTROLSUITE, , LAUNCHXL-F280049C, TIDM-DC-DC-BUCK, C2000WARE

Hello,

I'm trying to desing a digital current mode buck converter.

I don't know where and how to write feedback loop block calculation operations in order set new duty value for fixed freq. switching.

Do I need to assign a new ISR other than my ADC ISRs?

Do I need to make feedback loop calculations at ADC ISRs? If yes, those two ADC ISRs are sychonorized and at same freq. , how to use those values at code.

If I need to assign an ISR for digital feedback loop calculations, can i do it by using normal math functions like production of feedback blocks and summations or do i need to use ASM codes, which I cannot understand?

  • gG,

    You can see this older TIDM-DC-DC-BUCK reference design for the basics of implementing a VMC buck converter using LAUNCHXL-F28069M as the controller.  The software was released through controlSUITE.

    This reference design will be updated soon with VMC and PCMC examples using LAUNCHXL-F280049C and released through C2000WARE-DIGITALPOWER-SDK.

    -Tommy

  • Hello,

    At your offered document and work. 

    The assembly code is executed inside the interrupt service routine (ISR) and runs the critical control code.

    I don't know assembly language and cannot evaluate the code to use it my own code.

    I need C coded ISRs.

  • gG,

    You can look for the updated TIDM-DC-DC-BUCK in the 1Q C2000WARE-DIGITALPOWER-SDK release for C-implementation.  Do note however, that the user guide will not be updated for the F28004x implementation for a few weeks.

    You can also find C2000Ware examples with ISRs implemented in C (such as adc_soc).  If you already have a device platform in mind, I recommend taking the closest available device workshop.

    -Tommy

  • Tommy,

    I downloaded and installed newer version as you mentioned.

    However, I couldn't find TIDM-DC-DC-BUCK. Could you please copy me the folder location such c:\ti\c2000\devices.....

    I will also need to implement digital control library in order to use current mode controlled dc-dc converter which uses PI loops. Could you please also copy me the examples showing folder location such  c:\ti\c2000\devices.....

    Thank you.

  • gG,

    The 1Q release is not live on the web yet.  Look for v3.x.

    -Tommy