XMC4500 IIC(USIC) communication Problem

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi All,
I am working on XMC4500 Relax Lite Kit, i want to establish a communication between external RTC & Board using IIC communication over USIC channel, but i am unable to get any sort of data or clock over SDA & SCL line even in IIC ideal mode, i am using example code provided by Infineon for IIC module.please help me out.
0 Likes
5 Replies
Not applicable
Hi ashishkar,

Did you connect external pull up for your line?
External pull up is required by IIC protocol.
0 Likes
Not applicable
Hi Jackson,
Thanks for the input. I have connected external pull up now the SCL & SDA line are coming high after IIC initialization.But i am unable to get any acknowledgement from the slave.
0 Likes
Not applicable
Hi ashishkar,

Do you see any data on the SDA line or clock on SCL line when you sending data?
0 Likes
Not applicable
hi Jackson,
the start condition is detecting but along with this error condition is also detecting and there is no ack, please help.
0 Likes
Not applicable
hi Jackson,
Finally i am able to write data to the external RTC , but while reading from RTC i am getting Garbage value(0xFF), i am not getting where is the problem.
0 Likes