chethankp
Member level 4
Hi,
I'm using software based I2C for 8051 (clock speed 32MHz)to read the 4 byte data from I2c(slave) sensor . below is the link to the data sheet
http://www.ist-ag.com/eh/ist-ag/resource.nsf/imgref/Download_190609_DigiPicco_I2C_Basic_EN_V4.1.pdf/$FILE/190609_DigiPicco_I2C_Basic_EN_V4.1.pdf
SCL frequency for the sensor is 400kHz(this is max frequency in which the sensor works).
Since our new 8051 controller runs with 32MHz frequency , I think because this clock variation I'm not able to get the data.
I have attached code which I have written for this pls help me to solve this.
I'm using software based I2C for 8051 (clock speed 32MHz)to read the 4 byte data from I2c(slave) sensor . below is the link to the data sheet
http://www.ist-ag.com/eh/ist-ag/resource.nsf/imgref/Download_190609_DigiPicco_I2C_Basic_EN_V4.1.pdf/$FILE/190609_DigiPicco_I2C_Basic_EN_V4.1.pdf
SCL frequency for the sensor is 400kHz(this is max frequency in which the sensor works).
Since our new 8051 controller runs with 32MHz frequency , I think because this clock variation I'm not able to get the data.
I have attached code which I have written for this pls help me to solve this.