Author |
Message |
Topic: PIC16F1936 General Call problem |
Steve Smith
Replies: 2
Views: 5410
|
Forum: General CCS C Discussion Posted: Thu Apr 07, 2011 1:17 am Subject: PIC16F1936 General Call problem |
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 ... |
Topic: PIC16F1936 General Call problem |
Steve Smith
Replies: 2
Views: 5410
|
Forum: General CCS C Discussion Posted: Mon Apr 04, 2011 1:39 am Subject: PIC16F1936 General Call problem |
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 ... |
Topic: General Call Problem with I2C Slave code within PIC16F1936 |
Steve Smith
Replies: 5
Views: 12845
|
Forum: General CCS C Discussion Posted: Wed Mar 30, 2011 9:25 am Subject: General Call Problem with I2C Slave code within PIC16F1936 |
Thanks again. I will look at the spec more closely for General Call.
However, if I pause my code (running in MPLAB Debugger) straight after I send Start then 00 (general call), the R/W bit in SSPST ... |
Topic: General Call Problem with I2C Slave code within PIC16F1936 |
Steve Smith
Replies: 5
Views: 12845
|
Forum: General CCS C Discussion Posted: Wed Mar 30, 2011 8:41 am Subject: General Call Problem with I2C Slave code within PIC16F1936 |
Just to clarify, when I talk about 'previous communications between Master and Slave' and 'Everything else seems to work fine', I am referring to addressing the Slave with its unique address.
The onl ... |
Topic: General Call Problem with I2C Slave code within PIC16F1936 |
Steve Smith
Replies: 5
Views: 12845
|
Forum: General CCS C Discussion Posted: Wed Mar 30, 2011 8:28 am Subject: Reply to Ttelmah |
Firstly, thank you for looking at my issue and replying so quickly.
I agree, a GCA with a 1 in the R/W bit is illegal. Also, if I tried to do this, all slaves would talk at once. However, this is wha ... |
Topic: General Call Problem with I2C Slave code within PIC16F1936 |
Steve Smith
Replies: 5
Views: 12845
|
Forum: General CCS C Discussion Posted: Wed Mar 30, 2011 7:51 am Subject: General Call Problem with I2C Slave code within PIC16F1936 |
I have a problem with General Call in my I2C slave code. I hope that someone can help.
I have copied the format of the pksa.c file in the Microchip website. The main difference is that my code is wit ... |
|