infineon4engi@twitter infineon@linkedin infineon4engineers infineon@youtube
twitter Facebook Linkedin Youtube

+ Reply to Thread
Results 1 to 5 of 5

Thread: Xmc1302 p1.4 LED

  1. #1
    New Member New Member yhaksoz is on a distinguished road
    Join Date
    Nov 2019
    Location
    USA
    Posts
    6
    Points
    120

    Xmc1302 p1.4 LED

    I have XMC power explorer kit and I am using the the control boards with XMC1302 and XMC4200 for learning.
    On the XMC1302 board there is a test LED connected to P1.4. I wanted to blink it with the PWM app but it is not shown as feasible from the pin mapping tool.
    Could you please help me understand why P1.4 is not available for the pwm output? Can it be made available? Am I doing anything wrong?
    Thanks in advance.
    YH
    ?????? ?????? pwm.PNG‎   Available pins.PNG‎  

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    746
    Hi,

    Try by selecting in the PWM APP the CCU8 as timer module. The P1.4 alternate output function is only connected to CCU8 slice output, not CCU4.

    Regards,
    Jesus
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    New Member New Member yhaksoz is on a distinguished road
    Join Date
    Nov 2019
    Location
    USA
    Posts
    6
    Points
    120
    Thank you. I got it working.

  4. #4
    New Member New Member yhaksoz is on a distinguished road
    Join Date
    Nov 2019
    Location
    USA
    Posts
    6
    Points
    120
    Is there a way of accessing the pwm output by the software? We can access digital io by using:

    pin_status = DIGITAL_IO_GetInput(&DIGITAL_IO_0);

    I would like to do the same for pwm output.

    Thank you.

  5. #5

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    746
    You use the same API on the pin where the PWM is output is being driven.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread

Tags for this 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.