Page 1
XM C 400 0 XMC4000 Family CC U 8 an d O utpu t St ate O ve rri de Output State Override on External Events User Guid e Device Guide <Revision 1.0>, <2012-30-03> Mic rocon t rolle r...
Page 2
Infineon Technologies components may be used in life-support devices or systems only with the express written approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body or to support and/or maintain and sustain and/or protect human life.
Page 3
Device Guide XMC4000 CCU8 and Output State Override Revision History Page or Item Subjects (major changes since previous revision) <Revision 1.0>, <2012-30-03> Trademarks of Infineon Technologies AG AURIX™, C166™, CanPAK™, CIPOS™, CIPURSE™, EconoPACK™, CoolMOS™, CoolSET™, CORECONTROL™, CROSSAVE™, DAVE™, EasyPIM™, EconoBRIDGE™, EconoDUAL™, EconoPIM™, EiceDRIVER™, eupec™, FCOS™, HITFET™, HybridPACK™, I²RF™, ISOFACE™, IsoPACK™, MIPAQ™,...
Device Guide XMC4000 CCU8 and Output State Override Table of Contents Table of Contents Output State Override on External Events ..................6 Use Cases ............................6 External Events Control of a Timer Output State ................8 External Events Control of Timer Input Functions in general .............. 8 Selection of External Events Control Sources and Input Functions ............
Page 5
Device Guide XMC4000 CCU8 and Output State Override List of Figures List of Figures Figure 1 Use case - Current Control and Protection by Monitoring using Output State Override ..... 8 Figure 2 External Events Control of a Timer Slice Input Functions..............8 Figure 3 Output State Override illustration .......................
Device Guide XMC4000 CCU8 and Output State Override Output State Override on External Events Output State Override on External Events It is possible to override the Output State of a slice with the value of an external source (or its complement value) on the edge event of another external source.
Page 7
Device Guide XMC4000 CCU8 and Output State Override Output State Override on External Events User Guide <Revision 1.0>, <2012-30-03> Device Guide...
Device Guide XMC4000 CCU8 and Output State Override External Events Control of a Timer Output State Figure 1 Use case - Current Control and Protection by Monitoring using Output State Override External Events Control of a Timer Output State An External Event Control request is a considered edge or level event signal from a peripheral unit or a GPIO. It can be linked to CCU8xCC8y slices input selection stages via a comprehensive matrix.
Device Guide XMC4000 CCU8 and Output State Override External Events Control of a Timer Output State Output Pin PASSIVE / ACTIVE Level Control The PASSIVE/ACTIVE state of a slice internal outputs (i.e. the status bits CCU8xSTyA/-B) is controlled by the compare levels and the External Modulation Mode.
Device Guide XMC4000 CCU8 and Output State Override Output State Override Output State Override See Figure 3. Figure 3 Output State Override illustration User Guide <Revision 1.0>, <2012-30-03> Device Guide...
Device Guide XMC4000 CCU8 and Output State Override Getting Started with CCU8 and Output State Override Getting Started with CCU8 and Output State Override Ultimate Initialization Sequence Before start and execution of a timer slice SW first time, the CAPCOM8 must have been initialized appropriately according to a specific CAPCOM8 Initialization Sequence: 1.
Device Guide XMC4000 CCU8 and Output State Override Getting Started with CCU8 and Output State Override // Manipulation of the Output Pin PASSIVE/ACTIVE LEVEL control bit (PSL) if needed // CC8yPSL = ACTUAL_PASSIVE_LEVEL // Use for LOW: 0x00000000 or HIGH: 0x00000001 // (There are no other bits but the PSL bit (CC8yPSL.PSL) in this register!) Figure 5 Setting Output State Override Parameters (Control Registers)
Device Guide XMC4000 CCU8 and Output State Override Example Application for CCU8 and Output State Override Example Application for CCU8 and Output State Override Principle of Peak&Hold with Current Limitation by Output State Override Figure 6 Principle of Peak&Hold with Current Limitation by Output State Override User Guide <Revision 1.0>, <2012-30-03>...
Page 14
. i n f i n e o n . c o m Published by Infineon Technologies AG...