Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

multi channel mode

$
0
0
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
?????

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>