i test these codes with protues by checking port values. At this debbuging step slave pic freezes. master demands only 8bytes from slave. but i found that slave tries to send 9 bytes to master (portd indicates 9) and i think program stuck up there. how can i solve this problem thanks for your helps.
sorry for wrong post at different topic
uav Guest
Posted: Fri Aug 24, 2007 12:45 pm
oops i forget slave codes
Code:
void ssp_interupt ()
{ state=i2c_isr_state();
if (state>=0x80)
{
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum