I check the send values via Hyper Terminal.
And thats my problem:
At the slave output I am getting permanently the address of the PIC |a0||a0|... and so on and not the |EE||EE|....
And at the master output |ff||ff| ....
Is there something wrong with the routines or do I have to clear the input buffer of the slave PIC? Because I think the code "should" work. I also screened the signal on the scope. And till the write command everything looks fine.
It would be very nice if somebody could help me. I tried it now to long without result.
BYE
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Jan 23, 2006 10:35 am
Quote:
It would be very nice if somebody could help me. I tried it now to long without result.
My suggestion is to get the CCS example EX_SLAVE.C, working first.
It's in this folder:
c:\Program Files\Picc\Examples
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