johanpret
Joined: 23 Oct 2006 Posts: 33 Location: South Africa
|
I2C Slave not functioning on newer version of CCS |
Posted: Fri Aug 08, 2008 1:42 am |
|
|
I have implemented I2C slave code very simular to the example. It works perfect if compiled with version 4.064 but if I compile with version 4.077 or 4.076 it causes the master to "hang" look like disabling all interupts on the master. I have posted to CCS support to tell me what changed because they state that :
"4.077 Some problems with slave I2C have been fixed, see the newest EX_SLAVE.C"
Did not get an answer yet.
Does anyone on the forum know what was "fixed" I saw something about clock streaching is now the default for chips that support it. I added the option of "NO_STRETCH" to the I2C definition with no effect. The slave compiled with the newest version still have an effect on the master.
For now I am using the older version of the compiler but I don't like the effect of upgrading causing previous working code not to work.
Johan _________________ Johan Pretorius |
|