System freeze with LPC3250

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

System freeze with LPC3250

960 Views
markoylkanen
Contributor II

There is a growing problem when using I2C interface on LPC3250. System

freezes (keyboard, LEDs and Display not working) and only way to get it up again is to boot system.

Situation is described http://www.nxp.com/documents/user_manual/UM10204.pdf chapter 3.1.16.

 

Is there a workaround (HW/SW) to prevent this system freeze?

 

Reason for this system freeze might be
the result of situation where SDA is left down and one of the slaves can’t see
all the SCL pulses and continues to wait one more. It might
help if SCL- pin could be put as GPIO and force couple of clock pulses out.

Problem with the LPC3250 is that
those are dedicated to I2C and you can’t force them.

 

OS in use is Linux (Kernel

2.6.34)

 


Labels (1)
Tags (1)
1 Reply

474 Views
Pavel
NXP Employee
NXP Employee

The LPC3250 I2C controller does not have possibility to pulses generation on SCL if SDA is low.

Sole method concerns to connect a GPIO open drain port to SCL line. Use this GPIO for SCL pulse generation.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------