kender
Joined: 09 Aug 2004 Posts: 768 Location: Silicon Valley
|
PIC18LF4525 as I2C slave and v4.071 |
Posted: Thu Apr 10, 2008 8:45 pm |
|
|
Colleagues,
I have an I2C code that worked, when it was compiled with PCWH 3.240. I was forced to upgrade to PCWH 4.071. (I waited as long as I could. The GUI looks nice, though. Overall v4 feels more useable, although Visual C++ is still better.) The big problem is that my I2C slave code hangs up the bus, when it’s compiled with PCWH 4.071. Hardware was PIC18LF4525 in both cases.
Are there any known problems with I2C slave on v4.071?
UPDATE: Writing to the slave started to work with NO_STRETCH option. I’ll be reading from it too. Preparation of the response to the master takes some time in my case, and I was using clock stretching.
- Nick _________________ Read the label, before opening a can of worms. |
|