Author |
Message |
Topic: Implementing general call addressing |
mlosso1
Replies: 12
Views: 23316
|
Forum: General CCS C Discussion Posted: Fri Apr 07, 2006 12:13 am Subject: Implementing general call addressing |
OK, my code essentially, because we are using an older version of the compiler, checks the status of the bits in the SSPSTAT Register to determine what state we are in. For the first state, which is t ... |
Topic: Implementing general call addressing |
mlosso1
Replies: 12
Views: 23316
|
Forum: General CCS C Discussion Posted: Wed Apr 05, 2006 11:12 am Subject: Implementing general call addressing |
Basically you are saying that using the other method, in which on the second byte (after the general call byte), is the most common one? This would be the method in which the LSB is 1, by my understa ... |
Topic: Implementing general call addressing |
mlosso1
Replies: 12
Views: 23316
|
Forum: General CCS C Discussion Posted: Tue Apr 04, 2006 7:58 pm Subject: Implementing general call addressing |
anyone's help or understanding would be greatly appreciated :D! |
Topic: Implementing general call addressing |
mlosso1
Replies: 12
Views: 23316
|
Forum: General CCS C Discussion Posted: Tue Apr 04, 2006 11:46 am Subject: Implementing general call addressing |
This is from spec sheet:
00000110 (H�06�). Reset and write programmable part
of slave address by hardware. On receiving this 2-byte
sequence, all devices designed to respond to the
general call ... |
Topic: Implementing general call addressing |
mlosso1
Replies: 12
Views: 23316
|
Forum: General CCS C Discussion Posted: Thu Mar 23, 2006 9:38 pm Subject: Implementing general call addressing |
We are using code pre i2c_isr_state |
Topic: Implementing general call addressing |
mlosso1
Replies: 12
Views: 23316
|
Forum: General CCS C Discussion Posted: Thu Mar 23, 2006 2:12 pm Subject: Implementing general call addressing |
I am looking to implement general call addressing by I2C with a 16F876A. How would I go about implementing this, per the description in the PIC datasheet:
The addressing procedure for the I2C bus i ... |
Topic: Configuring a PIC as a master |
mlosso1
Replies: 2
Views: 4095
|
Forum: General CCS C Discussion Posted: Tue Mar 21, 2006 11:45 am Subject: Configuring a PIC as a master |
Nevermind, I think I answered my own question, can someone confirm this. |
Topic: Configuring a PIC as a master |
mlosso1
Replies: 2
Views: 4095
|
Forum: General CCS C Discussion Posted: Tue Mar 21, 2006 8:33 am Subject: Configuring a PIC as a master |
I have a PIC16F876A and I want to configure it as a Master PIC in I2C protocol, but not using the #use_i2c directive. Do I just edit the SPCOM3-0 BITS in the SSPCON1 Register? |
Topic: 16F876A SSPADD Register value (General Call Addressing) |
mlosso1
Replies: 1
Views: 4850
|
Forum: General CCS C Discussion Posted: Tue Mar 21, 2006 2:29 am Subject: 16F876A SSPADD Register value (General Call Addressing) |
Background Info:
PIC: 16F876A
Protocol: I2C
I am communicating with a PIC through I2C using general call addressing. From what I understand, in your code the SSPADD should be assigned the addre ... |
|