View previous topic :: View next topic |
Author |
Message |
Steve Smith
Joined: 30 Mar 2011 Posts: 6 Location: Hampshire
|
PIC16F1936 General Call problem |
Posted: Mon Apr 04, 2011 1:39 am |
|
|
I have a problem when I try to address my PIC (which is a slave device) with the General Call (00) address. As soon as I do this, the READ/WRITE bit of SSPSTAT register is set to READ. Therefore, the subsequent data clocked by the master device does not make it to the SSPBUF register of my slave device.
Has anyone seen this problem before?
I believe I have set my registers correctly, and can post them on this site if required.
Many thanks in advance.
Steve |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Apr 04, 2011 11:46 am |
|
|
What happens if you use a different PIC, such as 16F877 ?
(and, what's your compiler version ?) |
|
|
Steve Smith
Joined: 30 Mar 2011 Posts: 6 Location: Hampshire
|
|
Posted: Thu Apr 07, 2011 1:17 am |
|
|
Sorry for the delay, it has been manic at work.
The General Call seems to work absolutely fine when I used a PIC16F767.
However, it was decided to change to the PIC 16F1936 as it is a newer device with on board EEPROM.
The compiler version is 4.119.
Thanks for looking into this.
Regards
Steve |
|
|
|