infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 3 of 3

Thread: XMC4500 synchronous PWM start

  1. #1
    Tarbal
    Guest

    XMC4500 synchronous PWM start

    Hello!
    I tried to find a way to run all timers I use simultaneously. There is some information in the document I have (Reference Manual V1.0, 2012-02).
    In the timer initialization procedure I found:
    9th Step:For all the Timer Slices that should be started synchronously via SW, the
    specific system register localized in the SCU, CCUCON, that enables a synchronous
    timer start should be addressed.

    Unfortunately I didn't found any explanation about usage of the CCUCON in the Reference Manual.

    So I have two questions:
    1. Is it possible to configure all timers of XMC4500 to start them simultaneously?
    2. If possible then how?

    Thank you in advance.
    Last edited by Tarbal; Nov 11th, 2013 at 07:10 AM.

  2. #2
    New Member New Member Dmitry Podobedov is on a distinguished road Dmitry Podobedov's Avatar
    Join Date
    Mar 2013
    Location
    Konstanz, Germany
    Posts
    60
    Points
    157.5
    Just a simple example

    Code:
    /*
    	 * Configuring External Start
    	 */
    	// Select rising edge for Event 0 (used for synchronous start)
    	WR_REG(slice_reg->INS, CCU8_CC8_INS_EV0EM_Msk, CCU8_CC8_INS_EV0EM_Pos, 1);
    	// External Start Signal (Event 0) CCU81.IN0H <= SCU.GLCCST81 (Global Start)
    	WR_REG(slice_reg->INS, CCU8_CC8_INS_EV0IS_Msk, CCU8_CC8_INS_EV0IS_Pos, 7);
    	// External Start Function triggered by Event 0
    	WR_REG(slice_reg->CMC, CCU8_CC8_CMC_STRTS_Msk, CCU8_CC8_CMC_STRTS_Pos, 1);
    Code:
    // Global synchronous start of some CAPCOM timers
    	SCU_GENERAL->CCUCON |= SCU_GENERAL_CCUCON_GSC81_Msk;

  3. #3
    Tarbal
    Guest
    Thank you, Dmitry.

+ Reply to Thread
Disclaimer

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.