Not applicable
Mar 20, 2017
03:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 20, 2017
03:27 AM
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.
Regards,
Tinchu
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.
Regards,
Tinchu
- Tags:
- IFX
5 Replies
Mar 21, 2017
10:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 21, 2017
10:10 AM
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.
Regards
Eric
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.
Regards
Eric
Mar 22, 2017
06:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 22, 2017
06:43 AM
CORDIC Coprocessor is only a hardware accelerating unit to aid your calculating. Whether you need it depends on the performance requirement.
May 08, 2018
06:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 08, 2018
06:22 AM
Hi,
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.
Aitor
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.
Aitor
Aug 17, 2018
01:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 17, 2018
01:37 PM
I am very interested in this issue too.
Please, some experienced user could help?
Please, some experienced user could help?
Aug 21, 2018
06:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 21, 2018
06:45 AM
Nobody?
I really did expect more activities for this forum.
I am evaluating the use of Infineon microcontrollers for new projects, and I think that forum supports is an important issue to consider when we select a microcontroller brand for our products.
I really did expect more activities for this forum.
I am evaluating the use of Infineon microcontrollers for new projects, and I think that forum supports is an important issue to consider when we select a microcontroller brand for our products.