Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

XMC1400 BOOT KIT XMC1400_IIC_Master example

$
0
0
hello,

I am trying to run the XMC1400_IIC_Master example. I have a 2kOhms pull-up resitance on SCL and SDA.
The problem I have is that the SCL stay at Vdd and SDA shortly goes to GND and it never stops.
In debug it stay stick to the "while (XMC_USIC_CH_GetTransmitBufferStatus(channel) == XMC_USIC_CH_TBUF_STATUS_BUSY)" line in the" void XMC_I2C_CH_MasterStart" function in xmc_i2c.c
I was able to run the BlinkyLed_MCAN and XMC1400_SPI_Loopback before without problems.
I attach file a screenshot of the osciloscope of P3.0 (SCL blue) and P3.1 (SDA red)

is there anything to do in addition to make this example working?

thank you and best regards
Attachment 3636
?????

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>