infineon4engi@twitter twitter

infineon4engineers Facebook

infineon@linkedin linkedin

infineon@youtube youtube

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    New Member New Member alfrieck is on a distinguished road alfrieck's Avatar
    Join Date
    Oct 2013

    IIC Pin-Mapping XMC4k without bidirectional pins

    We want to implement IIC on an existing design for which we have only specific pins available.
    I am following the Datasheet Chapter Signal Description ff.

    We have the pins available as outlined in the picture and we want to implement a single master I2C. We do not allow clock stretching by a slave.

    Click image for larger version

Name:	iic.jpg
Views:	0
Size:	68.6 KB
ID:	3746

    Following the specification ....
    the pin assignment of module IIC A shows separate pins for the input and output signals for SDA and SCL.
    This assignment can be used if the application does not provide pins having DOUT0 and a DX0 stage input for the same pin
    (similar for SCLKOUT and DX1).

    I should be able to set-up something like this:
    USIC1_CH1.DX0D I P0.0
    USIC1_CH1.DOUT0 O P0.1


    I cannot select this pinning in DAVE.
    When I generate some I2CMaster-code with Dave and another pinning which lines to I have to change to get to the pinning as outlined above?

    Last edited by alfrieck; Jan 8th, 2019 at 12:17 AM. Reason: mistake

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012

    The I2C_MASTER APP does not allow this. You will need to use the I2C_CONFIG APP.
    Click image for larger version

Name:	i2c_config.png
Views:	5
Size:	28.5 KB
ID:	3748

    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.


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.