I need explanations to understand the meaning of this. PIC16f877 has a register SSPCON and the four LSB are the configuration I2C. If are '1000' means i2c master mode but if are '1011' are i2c firmware controlled master mode. What is the diference btw them? In the true, i am using a PIC16f73 that only has a i2c firmware controlled master mode. Ive ever made an i2c routine with this chip, but not by hw just by sw and work fine except in exporadic times that eeprom (24lc02) is corrupted. As probably way to fix it I want to change i2c/sw by i2c/hw however i simply do not know what means 'firmware controlled master mode'. Could you help me? Regards, |
|

i2c master mode and i2c firmware controlled master mode
Started by ●August 31, 2004
Reply by ●August 31, 20042004-08-31
I've not yet done any i2c code but I will be in the not too distant future. That said, I beleive that the '1011' "firmware controlled master" mode is where the PIC device will be a master but it will implement that functionality through firmware. Those devices which implement i2c master mode in hardware also have the '1000' i2c master mode. --- In , "wantoniet" <wantoniet@y...> wrote: > I need explanations to understand the meaning of this. > PIC16f877 has a register SSPCON and the four LSB are the > configuration I2C. If are '1000' means i2c master mode but if > are '1011' are i2c firmware controlled master mode. What is the > diference btw them? > > In the true, i am using a PIC16f73 that only has a i2c firmware > controlled master mode. Ive ever made an i2c routine with this chip, > but not by hw just by sw and work fine except in exporadic times that > eeprom (24lc02) is corrupted. As probably way to fix it I want to > change i2c/sw by i2c/hw however i simply do not know what > means 'firmware controlled master mode'. > > Could you help me? > > Regards, |
|
Reply by ●September 1, 20042004-09-01
In section 9.4.6 of the data sheet it says: In Firmware Controlled Master mode, user code conducts all I2C bus operations based on START and STOP bit conditions. What this means exactly is not clear to me, because that is the last reference to any possible differences. I bet if you check the app. notes on I2C it may be explained further or hopefully more clearly. Chad --- Scott Lee <> wrote: > I've not yet done any i2c code but I will be in the not too distant > future. That said, I beleive that the '1011' "firmware controlled > master" mode is where the PIC device will be a master but it will > implement that functionality through firmware. Those devices which > implement i2c master mode in hardware also have the '1000' i2c master > mode. > > --- In , "wantoniet" <wantoniet@y...> wrote: > > I need explanations to understand the meaning of this. > > PIC16f877 has a register SSPCON and the four LSB are the > > configuration I2C. If are '1000' means i2c master mode but if > > are '1011' are i2c firmware controlled master mode. What is the > > diference btw them? > > > > In the true, i am using a PIC16f73 that only has a i2c firmware > > controlled master mode. Ive ever made an i2c routine with this > chip, > > but not by hw just by sw and work fine except in exporadic times > that > > eeprom (24lc02) is corrupted. As probably way to fix it I want to > > change i2c/sw by i2c/hw however i simply do not know what > > means 'firmware controlled master mode'. > > > > Could you help me? > > > > Regards, > ===== My software has no bugs, only undocumented features. _______________________________ |
Reply by ●September 1, 20042004-09-01
Thanks for replies!!! Regards, Wilson Antonieti Engenharia de Desenvolvimento Tel.: (11) 4223-5117 Fax.: (11) 4223-5103 Visite nosso site: www.contemp.com.br PRECIS AO SEU ALCANCE!!! ----- Original Message ----- From: "Chad Russel" <> To: <> Sent: Wednesday, September 01, 2004 12:25 PM Subject: Re: [piclist] Re: i2c master mode and i2c firmware controlled master mode > > In section 9.4.6 of the data sheet it says: > In Firmware Controlled Master mode, user code conducts all I2C bus > operations based on START and STOP bit conditions. > > What this means exactly is not clear to me, because that is the last > reference to any possible differences. I bet if you check the app. > notes on I2C it may be explained further or hopefully more clearly. > > Chad > > --- Scott Lee <> wrote: > > > I've not yet done any i2c code but I will be in the not too distant > > future. That said, I beleive that the '1011' "firmware controlled > > master" mode is where the PIC device will be a master but it will > > implement that functionality through firmware. Those devices which > > implement i2c master mode in hardware also have the '1000' i2c master > > mode. > > > > --- In , "wantoniet" <wantoniet@y...> wrote: > > > I need explanations to understand the meaning of this. > > > PIC16f877 has a register SSPCON and the four LSB are the > > > configuration I2C. If are '1000' means i2c master mode but if > > > are '1011' are i2c firmware controlled master mode. What is the > > > diference btw them? > > > > > > In the true, i am using a PIC16f73 that only has a i2c firmware > > > controlled master mode. Ive ever made an i2c routine with this > > chip, > > > but not by hw just by sw and work fine except in exporadic times > > that > > > eeprom (24lc02) is corrupted. As probably way to fix it I want to > > > change i2c/sw by i2c/hw however i simply do not know what > > > means 'firmware controlled master mode'. > > > > > > Could you help me? > > > > > > Regards, > > > > > > ===== > My software has no bugs, only undocumented features. > > _______________________________ > > to unsubscribe, go to http://www.yahoogroups.com and follow the instructions > Yahoo! Groups Links > > |
