I2C stops working until hard reset


#1

Hi,

We are using the hardware I2C bus on a Q24 Plus to control the MCP23008 IO expander. The communication is going on every 1.5 second. After some time of operation (up to an hour) the bus hangs up. The SCL line remains stuck low sometimes.

A software reset does not recover from the error, only a hard reset helps. The trace is as follows:

...
86794.581	Trace	CUS4	24	Bus Write 0 len 1 : 0
86794.582	Trace	CUS4	24	Bus Read 0 len 1 : 0
86794.582	Trace	CUS4	24	Bus Write 0 len 11 : 0
86796.064	Trace	CUS4	24	Bus Write 0 len 1 : 0
<--- HERE THE BUS GOES OFF --->
86796.064	Trace	IOB	1	Unable to find the string of the remote trace in the file (ID = 8705)
86796.064	Trace	CUS4	24	Bus Read 0 len 1 : -1
86796.064	Trace	IOB	1	Unable to find the string of the remote trace in the file (ID = 8701)
86796.064	Trace	CUS4	24	Bus Write 0 len 11 : -1
86797.566	Trace	IOB	1	Unable to find the string of the remote trace in the file (ID = 8701)
86797.566	Trace	CUS4	24	Bus Write 0 len 1 : -1
86797.566	Trace	IOB	1	Unable to find the string of the remote trace in the file (ID = 8705)
86797.566	Trace	CUS4	24	Bus Read 0 len 1 : -1
86797.566	Trace	IOB	1	Unable to find the string of the remote trace in the file (ID = 8701)
86797.576	Trace	CUS4	24	Bus Write 0 len 11 : -1
...

We tried unsubscribing from the bus and than subscribing back even after every read/write but nothing helps. Once the bus is gone only a hard reset is effective.

Any ideas or suggestions on what is happening? Is the mode of operation described in http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?t=1250 possibly the cause of this problem?

Regards,
Martin


#2

Hello there,

I have the same problem using Q2501B under OPEN AT 3.14 and 657e firmware.

I am trying to interface with DS2482 and my program works for a couple of hours and after that get wrong answer when trying to write to the bus. Then only hard reset the whole board helps the situation. Any suggestions?


#3

Hello there,

I have tha same problem using 24Extended CPU. Is there any software bus recovery procedure available?


#4

Oasis probably could solve it. I’ve just implemented its I2C and it works for half an hour without freezing. With OpenAT it was impossible to achieve. But there is no Oasis for q24. Only q26 and WMP series.


#5

I have same problem. I use Q24Classic and Q24Plus.
Wavecom plans correct this problem?


#6

We make some devices and then find this problem.
Now resolve problem is very importantly.
Please help.


#7

We have this problem with Q24classic too. It is essential for our design to know how can we fix this problem. Please help anybody that know about this problem.
Thanks


#8

Problem is now solved yet :frowning:
We try find docummentation for ARM processors in Q24Classic and Q24Plus,but not find.
Please help us find this documentation.