infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 4 of 4

Thread: XMC1300 pure sine wave inverter

  1. #1
    Beginner Beginner akshatra is on a distinguished road
    Join Date
    Feb 2017

    XMC1300 pure sine wave inverter

    Hello All,

    I have to write the software for pure sinewave inverter.

    I have written the code to generate Center Aligned Mode 10 KHz PWM with 1 microsecond dead time using CCU08.

    Configured VADC.

    Could any please guide me how to generate the sinewave now (DCRC/LUT method)?

    CORDIC Coprocessor might be the thing that I have to imlement, but presently I am blank how to use it.

    Previously we were using dsPIC mcu from microchip. But now all our projects are shifted and are pipeline for XMC series of mcu.

    Microchip has many proven reference examples. But here for infineon I am not been able to get the desired references.

    Whether CORDIC should be used for inverter application or some other techinique is to be grasp.

    The mcu we are using is : XMC1302-Q40x0064

    Please guide and reply me ASAP.


  2. #2
    Intermediate Intermediate
    Infineon Employee
    Infineon Employee
    Eric is on a distinguished road
    Join Date
    Mar 2013
    Hi akshatra,

    The fastest solution is to use a PWM_SVM App.

    This is an APP for Motor Control input is angle and amplitude.
    increase the angle linear and you have a sine wave.
    (this is generating 3 PWMs with 6 Output pins)

    Enable the period match and connect it to an ADC_MEASUREMENT_ADV App and the CCU8 is triggering the ADC.
    (right click HW Signal Connection)

    But for sure you can also do it by your own.
    Update the CCU8 compare register and enable auto shadow update for compare register. The register fill you can do in SW or via DMA.

    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Advanced Advanced aurixuser is on a distinguished road
    Join Date
    Jan 2017
    CORDIC Coprocessor is only a hardware accelerating unit to aid your calculating. Whether you need it depends on the performance requirement.

  4. #4
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    CasadoRa is on a distinguished road
    Join Date
    Dec 2017

    I do have a problem using PWM_SVM App for XMC1302. I followed the example given in APP Help > Usage but it does not update the pulse lengths, it is always a fixed pulse for the three output.

    Hope you can help me.

    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.

Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.