I am wondering if hardware background receive fuctions correctly when used with Hi2c.
I have an 08M running at 8MHz listening happily to a 433MHz receiver. This captures the data and sends it approximately at 1 second intervals to a 40X1 running at 16MHz, via automatic serial backgrond receive. The data is extracted from the scratchpad, decoded and displayed on an LCD. This works perfect until I added a DS1307 RTC on the I2C bus which updates the LCD to 1 second resolution. I now find that the 40X1 (Version A.3 firmware with 5.2.9 editor) occasionally resets with the result that it either corrupts the DS1307 or returns ?? ?? ?? from the RTC. The 40X1 was substituted by a 40X2 (Version B.0 firmware with 5.2.9 editor) but with the same results.
Removing physically the background serial receive from the 40X1 clears the problem and the I2C works as expected. I tried slowing the micros, buadrates and the I2C bus but to no avail. Slowing the serial data from the 08M to the 40X1 seems (although I think, it is not all that reliable) to improve the situation but this reduces the speed drastically.
While waiting for any comments, I really want to thank all the people who help in this forum.
I have an 08M running at 8MHz listening happily to a 433MHz receiver. This captures the data and sends it approximately at 1 second intervals to a 40X1 running at 16MHz, via automatic serial backgrond receive. The data is extracted from the scratchpad, decoded and displayed on an LCD. This works perfect until I added a DS1307 RTC on the I2C bus which updates the LCD to 1 second resolution. I now find that the 40X1 (Version A.3 firmware with 5.2.9 editor) occasionally resets with the result that it either corrupts the DS1307 or returns ?? ?? ?? from the RTC. The 40X1 was substituted by a 40X2 (Version B.0 firmware with 5.2.9 editor) but with the same results.
Removing physically the background serial receive from the 40X1 clears the problem and the I2C works as expected. I tried slowing the micros, buadrates and the I2C bus but to no avail. Slowing the serial data from the 08M to the 40X1 seems (although I think, it is not all that reliable) to improve the situation but this reduces the speed drastically.
While waiting for any comments, I really want to thank all the people who help in this forum.