+ Reply to Thread
Results 1 to 3 of 3

Thread: XMC1000 ... P0.8 won't toggle.

  1. #1
    Beginner Beginner
    Join Date
    May 2013
    Posts
    11
    Points
    63.75

    Angry XMC1000 ... P0.8 won't toggle.

    Hi

    I have XMC1300 boot kit and download blinky example from here.

    I have edit pin assignment from p0.0 to p0.8 and run it.
    It won't toggle for p0.8 (LED always turn ON but not blinking)
    what wrong?

    Regards,
    iamten

  2. #2
    Beginner Beginner
    Join Date
    Jun 2013
    Location
    Marēshia
    Posts
    51
    Points
    410
    Hi iamten,

    There is a bit tricky for this pin.
    If you read the Reference Manual on the P0_IOCR8 register, it mentioned that this pin is set as input pull up device (00010b).
    Unfortunately, DAVE did not take care to mask it back to 00000 when doing initialization.
    Instead, it just OR with the new value when doing initialization and it basically will end up with different output function.
    Hence, what you need to do is to mask the register back to zero in the DAVE_MUX_Init(); before it gets initialized.


    rgds,
    Rou

  3. #3
    Beginner Beginner
    Join Date
    May 2013
    Posts
    11
    Points
    63.75
    Hi Rou,

    Thank you for calrify. I have doubt for many days about p0.8 ..
    I will try to mask P0_IOCR8 register in DAVE_MUX_Init(); to zero.

    Regards,
    iamten

+ 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.