Not applicable
Aug 13, 2015
11:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 13, 2015
11:32 PM
8 Replies
Aug 17, 2015
03:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 17, 2015
03:21 AM
For which module are you referring to, CCU8, POSIF?
Not applicable
Aug 17, 2015
03:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 17, 2015
03:24 AM
CCU4 on XMC1100, Multi-Channel Control
I have read the reference manual but not clear...
I have read the reference manual but not clear...
Not applicable
Aug 17, 2015
07:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 17, 2015
07:56 PM
Hi,
The idea of the multichannel mode support in the CCUx modules is to allow the output states of the timer (or simply, the PWM outputs) to be controlled in parallel using a single pattern.
The patterns are controlled via the CCUx inputs: MCIx (Multi Channel Inputs). The pattern can be controlled directly by other module e.g. using the POSIF module in standalone multichannel mode to do pattern update or in POSIF module/Hall Sensor Mode to update the PWM pattern for brushless DC motor control or the BCCU module in lighting control.
The multi channel control mode is selected individually in each slice by setting the CC4yTC.MCME = 1B. Once this bit is set, it allows the output to be controlled by the pattern.
Regards,
Daryl
The idea of the multichannel mode support in the CCUx modules is to allow the output states of the timer (or simply, the PWM outputs) to be controlled in parallel using a single pattern.
The patterns are controlled via the CCUx inputs: MCIx (Multi Channel Inputs). The pattern can be controlled directly by other module e.g. using the POSIF module in standalone multichannel mode to do pattern update or in POSIF module/Hall Sensor Mode to update the PWM pattern for brushless DC motor control or the BCCU module in lighting control.
The multi channel control mode is selected individually in each slice by setting the CC4yTC.MCME = 1B. Once this bit is set, it allows the output to be controlled by the pattern.
Regards,
Daryl
Not applicable
Aug 17, 2015
09:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 17, 2015
09:23 PM
Parallel means all slice output follow one input signal?
Not applicable
Aug 18, 2015
02:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 18, 2015
02:09 AM
Hi,
Parallel means that you can update the pattern in a single register to control the PWM output.
You can refer to our Application Note (AP32289 - XMC1000/XMC4000 - Position Interface (POSIF). In Chapter 4.4, it takes about how to use the POSIF in Standalone Multi-Channel Mode for multichannel control on CCU8 PWM signals.
http://www.infineon.com/dgdl/Infineon-POSIF-XMC1000_XMC4000-AP32289-AN-v01_00-EN.pdf?fileId=5546d462...
Regards,
Daryl
Parallel means that you can update the pattern in a single register to control the PWM output.
You can refer to our Application Note (AP32289 - XMC1000/XMC4000 - Position Interface (POSIF). In Chapter 4.4, it takes about how to use the POSIF in Standalone Multi-Channel Mode for multichannel control on CCU8 PWM signals.
http://www.infineon.com/dgdl/Infineon-POSIF-XMC1000_XMC4000-AP32289-AN-v01_00-EN.pdf?fileId=5546d462...
Regards,
Daryl
Not applicable
Aug 29, 2015
12:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 29, 2015
12:14 AM
How to configure the MCIx pins?
I found "reserved" in the CCU40y - CC40 Pin Connections.
It means I cannot use multi channel mode on XMC1100?
I found "reserved" in the CCU40y - CC40 Pin Connections.
It means I cannot use multi channel mode on XMC1100?
Not applicable
Aug 30, 2015
11:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 30, 2015
11:01 PM
Hi,
Yes, you are right.
This function is not available on XMC1100 device.
Regards,
Daryl
Yes, you are right.
This function is not available on XMC1100 device.
Regards,
Daryl
Attachments are accessible only for community members.
Apr 18, 2018
08:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 18, 2018
08:33 AM
Hi,
attached an example for CCU8 Multichannel control based on XMC1300:
* This program shows the usage of Multi channel control.
* A 3 PWM are generated by CCU80.CC80, the outputs are P0.00,P0.01,P0.02
* The CCU40.CC42 is used to trigger an update of the MCM and reload via SW the MCMS in the period interrupt (called: sim_hall_isr).
* THE CCU40.CC41 is used as snyc. trigger, so that the update occurs immediately. Another option would be to use the CCU8 slice as sync trigger to avoid spikes.
*
* In the sim_hall_isr alternating Out01 and Out02 are blanked.
*
* The Digital OI APP is configured as push pull.
* To combine OUT01 and OUT02 externally it is mandatory to set the IO APPs to Open Train and add an external pull up resistor (~10kOhm)
Best Regards
Eric
attached an example for CCU8 Multichannel control based on XMC1300:
* This program shows the usage of Multi channel control.
* A 3 PWM are generated by CCU80.CC80, the outputs are P0.00,P0.01,P0.02
* The CCU40.CC42 is used to trigger an update of the MCM and reload via SW the MCMS in the period interrupt (called: sim_hall_isr).
* THE CCU40.CC41 is used as snyc. trigger, so that the update occurs immediately. Another option would be to use the CCU8 slice as sync trigger to avoid spikes.
*
* In the sim_hall_isr alternating Out01 and Out02 are blanked.
*
* The Digital OI APP is configured as push pull.
* To combine OUT01 and OUT02 externally it is mandatory to set the IO APPs to Open Train and add an external pull up resistor (~10kOhm)
Best Regards
Eric