FXOS8700CQ i2c functionality failure on Beaglebone

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FXOS8700CQ i2c functionality failure on Beaglebone

1,885 次查看
priyanks
Contributor I

Hi,

Forgive my lack of expert knowledge on this subject. I am working on interfacing the FRDM-STBC-AGM01 (FXOS8700CQ and FXAS21002). Due to this setup type with beaglebone I am unable to get any of the toolbars to work. I am trying to get started by reading the WHO_AM_I and writing to CTRL_REG1 on the board using i2c. The program only prints zero value for both cases. Can an expert suggest what I am doing wrong?

int main(void)
{
  char rxBuffer[32];  // receive buffer
  char txBuffer[32];  // transmit buffer
  int gyroAddress = 0x20; // gyro device address
  int xlAddress = 0x1E// accelerometer device address
  int tenBitAddress = 0// is the device's address 10-bit? Usually not.
  int opResult = 0// for error checking of operations

  // Create a file descriptor for the I2C bus
  int i2cHandle = open("/dev/i2c-1", O_RDWR);

  // Tell the I2C peripheral that the device address is (or isn't) a 10-bit
  opResult = ioctl(i2cHandle, I2C_TENBIT, tenBitAddress);

  // Tell the I2C peripheral what the address of the device is
  opResult = ioctl(i2cHandle, I2C_SLAVE, gyroAddress);

  // Clear our buffers
  memset(rxBuffer, 0, sizeof(rxBuffer));
  memset(txBuffer, 0, sizeof(txBuffer));

  //We're going to ask the gyro to read back its "WHO_AM_I"
  txBuffer[0] = 0x0C; // This is the address we want to read from.
  opResult = write(i2cHandle, txBuffer, 1);
  if (opResult != 1) printf("No ACK bit!\n");
  opResult = read(i2cHandle, rxBuffer, 1);
  printf("Part ID: %d\n", (int)rxBuffer[0]);
 
  // we need to change the slave address!
  opResult = ioctl(i2cHandle, I2C_SLAVE, xlAddress);
  txBuffer[0] = 0x0D// This is the address to read from.
  opResult = write(i2cHandle, txBuffer, 1);
  if (opResult != 1) printf("No ACK bit!\n");
  opResult = read(i2cHandle, rxBuffer, 1);
  printf("Part ID: %d\n", (int)rxBuffer[0]);
}

I can read values from the sensor using i2cget/dump commands. Program seems simple but still does not function. Any hints?

Thank you.

0 项奖励
1 回复

1,560 次查看
michaelestanley
NXP Employee
NXP Employee

Priyank,

I've moved your question to the general Sensors community, as I think we're more likely to get you a good answer here.  The sensorfusion team has no experience with the BeagleBoard, so can't be much help.

Mike

0 项奖励
%3CLINGO-SUB%20id%3D%22lingo-sub-425351%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBeaglebone%20%E4%B8%8A%E7%9A%84%20FXOS8700CQ%20i2c%20%E5%8A%9F%E8%83%BD%E5%A4%B1%E6%95%88%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-425351%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%3C%2FP%3E%3CP%3E%E8%AF%B7%E5%8E%9F%E8%B0%85%E6%88%91%E7%BC%BA%E4%B9%8F%E8%BF%99%E6%96%B9%E9%9D%A2%E7%9A%84%E4%B8%93%E4%B8%9A%E7%9F%A5%E8%AF%86%E3%80%82%E6%88%91%E6%AD%A3%E5%9C%A8%E8%BF%9B%E8%A1%8C%20FRDM-STBC-AGM01%20%EF%BC%88FXOS8700CQ%20%E5%92%8C%20FXAS21002%EF%BC%89%E7%9A%84%E6%8E%A5%E5%8F%A3%E5%B7%A5%E4%BD%9C%E3%80%82%E7%94%B1%E4%BA%8E%20beaglebone%20%E7%9A%84%E8%BF%99%E7%A7%8D%E8%AE%BE%E7%BD%AE%E7%B1%BB%E5%9E%8B%EF%BC%8C%E6%88%91%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8%E4%BB%BB%E4%BD%95%E5%B7%A5%E5%85%B7%E6%A0%8F%E3%80%82%E9%A6%96%E5%85%88%EF%BC%8C%E6%88%91%E6%83%B3%E8%AF%BB%E5%8F%96%20WHO_AM_I%20%E7%84%B6%E5%90%8E%E4%BD%BF%E7%94%A8%20i2c%20%E5%86%99%E5%85%A5%E6%9D%BF%E4%B8%8A%E7%9A%84%20CTRL_REG1%E3%80%82%E5%9C%A8%E8%BF%99%E4%B8%A4%E7%A7%8D%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%8C%E7%A8%8B%E5%BA%8F%E9%83%BD%E5%8F%AA%E6%89%93%E5%8D%B0%E9%9B%B6%E5%80%BC%E3%80%82%E4%B8%93%E5%AE%B6%E8%83%BD%E5%90%A6%E6%8C%87%E5%87%BA%E6%88%91%E5%81%9A%E9%94%99%E4%BA%86%E4%BB%80%E4%B9%88%EF%BC%9F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CCODE%20class%3D%22rainbow%22%20style%3D%22font-family%3A%20Consolas%2C%20'Liberation%20Mono'%2C%20Courier%2C%20monospace%3B%20color%3A%20inherit%3B%20background%3A%20transparent%3B%22%3E%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3Eint%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22call%20function%22%3Emain%3C%2FSPAN%3E%20(%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3Evoid%3C%2FSPAN%3E)%20%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3Echar%3C%2FSPAN%3E%20rxBuffer%20%5B%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E32%3C%2FSPAN%3E%5D%3B%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%2F%2F%E6%8E%A5%E6%94%B6%E7%BC%93%E5%86%B2%E5%8C%BA%20%3C%2FSPAN%3E%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3Echar%3C%2FSPAN%3E%20txBuffer%20%5B%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E32%3C%2FSPAN%3E%5D%3B%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%2F%2F%E4%BC%A0%E8%BE%93%E7%BC%93%E5%86%B2%E5%8C%BA%20int%20gyroAddress%20%3D%3C%2FSPAN%3E%20%3CBR%20%2F%3E%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E0x20%3C%2FSPAN%3E%20%3B%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%2F%2F%E9%99%80%E8%9E%BA%E4%BB%AA%E8%AE%BE%E5%A4%87%E5%9C%B0%E5%9D%80%20%3C%2FSPAN%3E%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3Eint%3C%2FSPAN%3E%20xlAddress%20%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E0x1E%3C%2FSPAN%3E%3B%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%2F%2F%E5%8A%A0%E9%80%9F%E5%BA%A6%E8%AE%A1%E8%AE%BE%E5%A4%87%E5%9C%B0%E5%9D%80%20in%20%3C%2FSPAN%3E%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3Et%3C%2FSPAN%3E%20TenbitAddress%20%3D%200%3B%2F%2F%E8%AE%BE%E5%A4%87%E7%9A%84%E5%9C%B0%E5%9D%80%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3C%2FSPAN%3E%E6%98%AF%2010%20%E4%BD%8D%E5%90%97%EF%BC%9F%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%E9%80%9A%E5%B8%B8%E4%B8%8D%E6%98%AF%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3Eint%3C%2FSPAN%3E%20opResult%20%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E0%3C%2FSPAN%3E%3B%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%2F%2F%E7%94%A8%E4%BA%8E%E6%93%8D%E4%BD%9C%E9%94%99%E8%AF%AF%E6%A3%80%E6%9F%A5%3C%2FSPAN%3E%2F%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%2F%E4%B8%BA%20I2C%20%E6%80%BB%E7%BA%BF%E5%88%9B%E5%BB%BA%E6%96%87%E4%BB%B6%E6%8F%8F%E8%BF%B0%E7%AC%A6%20%3C%2FSPAN%3E%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3Eint%3C%2FSPAN%3E%20i2%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3C%2FSPAN%3E%20Chandle%20%3D%20open%20(%22%20%2Fdev%2Fi2c-1%20%22%3CSPAN%20class%3D%22call%20function%22%3E%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22string%22%20style%3D%22color%3A%20%23dd1144%3B%22%3E%3C%2FSPAN%3E%2C%20O_RDWR)%3B%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%2F%2F%E5%91%8A%E8%AF%89%20I2C%20%E5%A4%96%E5%9B%B4%E8%AE%BE%E5%A4%87%E5%9C%B0%E5%9D%80%E6%98%AF%EF%BC%88%E6%88%96%E4%B8%8D%E6%98%AF%EF%BC%8910%20%E4%BD%8D%20%20opResult%20%3D%20ioctl%20(i2Chandle%E3%80%81I2C_TENBIT%E3%80%81TenbitAddress)%3C%2FSPAN%3E%3B%20%3CBR%20%2F%3E%2F%2F%E5%91%8A%E8%AF%89%20I2C%20%E5%A4%96%E5%9B%B4%E8%AE%BE%E5%A4%87%E8%AE%BE%E5%A4%87%E7%9A%84%E5%9C%B0%E5%9D%80%E6%98%AF%E4%BB%80%E4%B9%88%20opResult%20%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22call%20function%22%3E%20ioctl%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E(i2Chandle%E3%80%81I2C_SLAVE%E3%80%81GyroAddress)%3B%2F%2F%3C%2FSPAN%3E%E6%B8%85%E7%A9%BA%E6%88%91%E4%BB%AC%E7%9A%84%E7%BC%93%E5%86%B2%E5%8C%BA%20%3CBR%20%2F%3E%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22call%20function%22%3E%3C%2FSPAN%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22call%20function%22%3Ememset%3C%2FSPAN%3E%20(rxBuffer%2C%20%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E0%3C%2FSPAN%3E%2C%20%3CSPAN%20class%3D%22call%20function%22%3Esizeof%3C%2FSPAN%3E%20(rxBuffer))%3B%20%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22call%20function%22%3Ememset%3C%2FSPAN%3E%20(txBuffer%2C%20%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E0%3C%2FSPAN%3E%2C%20%3CSPAN%20class%3D%22call%20function%22%3Esizeof%3C%2FSPAN%3E%20(TxBuffer))%3B%20%3CBR%20%2F%3E%3CBR%20%2F%3E%2F%2F%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%E6%88%91%E4%BB%AC%E8%A6%81%E8%AE%A9%E9%99%80%E8%9E%BA%3C%2FSPAN%3E%E5%9B%9E%E8%AF%BB%E5%AE%83%E7%9A%84%20%22%20WHO_AM_I%20%22%20txBuffer%20%5B0%5D%20%3CBR%20%2F%3E%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E0x0C%3C%2FSPAN%3E%3B%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%2F%2F%E8%BF%99%E6%98%AF%E6%88%91%E4%BB%AC%E8%A6%81%E8%AF%BB%E5%8F%96%E7%9A%84%E5%9C%B0%E5%9D%80%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3EopResult%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22call%20function%22%3Ewrite%3C%2FSPAN%3E(i2cHandle%2C%20txBuffer%2C%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E1%3C%2FSPAN%3E)%3B%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3Eif%3C%2FSPAN%3E(opResult%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E!%3C%2FSPAN%3E%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E1%3C%2FSPAN%3E)%3CSPAN%20class%3D%22call%20function%22%3Eprintf%3C%2FSPAN%3E(%3CSPAN%20class%3D%22string%22%20style%3D%22color%3A%20%23dd1144%3B%22%3E%22No%20ACK%20bit!%5Cn%22%3C%2FSPAN%3E)%3B%3CBR%20%2F%3E%20opResult%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22call%20function%22%3Eread%3C%2FSPAN%3E(i2cHandle%2C%20rxBuffer%2C%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E1%3C%2FSPAN%3E)%3B%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22call%20function%22%3Eprintf%3C%2FSPAN%3E(%3CSPAN%20class%3D%22string%22%20style%3D%22color%3A%20%23dd1144%3B%22%3E%22Part%20ID%3A%25%3C%2FSPAN%3E%20d%5Cn%22%2C%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3E(int%3C%2FSPAN%3E)rxBuffer%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E%5B0%3C%2FSPAN%3E%5D)%3B%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%2F%2F%20%E6%88%91%E4%BB%AC%E9%9C%80%E8%A6%81%E6%9B%B4%E6%94%B9%E4%BB%8E%E6%9C%BA%E5%9C%B0%E5%9D%80%EF%BC%81%3C%2FSPAN%3E%3CBR%20%2F%3E%20opResult%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22call%20function%22%3Eioctl%3C%2FSPAN%3E(i2cHandle%2C%20I2C_SLAVE%2C%20xlAddress)%3B%3CBR%20%2F%3E%20txBuffer%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E%5B0%3C%2FSPAN%3E%5D%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E0x0D%3C%2FSPAN%3E%3B%3CSPAN%20class%3D%22comment%22%20style%3D%22color%3A%20%23999988%3B%22%3E%2F%2F%20%E8%BF%99%E6%98%AF%E8%A6%81%E8%AF%BB%E5%8F%96%E7%9A%84%E5%9C%B0%E5%9D%80%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3E%20opResult%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22call%20function%22%3Ewrite%3C%2FSPAN%3E(i2cHandle%2C%20txBuffer%2C%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E1%3C%2FSPAN%3E)%3B%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3Eif%3C%2FSPAN%3E(opResult%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E!%3C%2FSPAN%3E%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E1%3C%2FSPAN%3E)%3CSPAN%20class%3D%22call%20function%22%3Eprintf%3C%2FSPAN%3E(%3CSPAN%20class%3D%22string%22%20style%3D%22color%3A%20%23dd1144%3B%22%3E%22No%20ACK%20bit!%5Cn%22%3C%2FSPAN%3E)%3B%3CBR%20%2F%3E%20opResult%3CSPAN%20class%3D%22keyword%20operator%22%20style%3D%22font-weight%3A%20bold%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22call%20function%22%3Eread%3C%2FSPAN%3E(i2cHandle%2C%20rxBuffer%2C%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E1%3C%2FSPAN%3E)%3B%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22call%20function%22%3Eprintf%3C%2FSPAN%3E(%3CSPAN%20class%3D%22string%22%20style%3D%22color%3A%20%23dd1144%3B%22%3E%22Part%20ID%3A%25%3C%2FSPAN%3E%20d%5Cn%22%2C%3CSPAN%20class%3D%22keyword%22%20style%3D%22font-weight%3A%20bold%3B%22%3E(int%3C%2FSPAN%3E)rxBuffer%3CSPAN%20class%3D%22numeric%20constant%22%20style%3D%22color%3A%20%23009999%3B%22%3E%5B0%3C%2FSPAN%3E%5D)%3B%3CBR%20%2F%3E%7D%3C%2FCODE%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E6%88%91%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%20i2cget%2Fdump%20%E5%91%BD%E4%BB%A4%E4%BB%8E%E4%BC%A0%E6%84%9F%E5%99%A8%E8%AF%BB%E5%8F%96%E6%95%B0%E5%80%BC%E3%80%82%E7%A8%8B%E5%BA%8F%E7%9C%8B%E4%BC%BC%E7%AE%80%E5%8D%95%EF%BC%8C%E4%BD%86%E4%BB%8D%E6%97%A0%E6%B3%95%E8%BF%90%E8%A1%8C%E3%80%82%E6%9C%89%E4%BB%80%E4%B9%88%E6%8F%90%E7%A4%BA%E5%90%97%EF%BC%9F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-425352%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FXOS8700CQ%20i2c%20functionality%20failure%20on%20Beaglebone%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-425352%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E6%99%AE%E9%87%8C%E6%89%AC%E5%85%8B%3C%2FP%3E%3CP%3E%E6%88%91%E5%B7%B2%E7%BB%8F%E5%B0%86%E6%82%A8%E7%9A%84%E9%97%AE%E9%A2%98%E8%BD%AC%E5%88%B0%E4%BA%86%20%22%E4%BC%A0%E6%84%9F%E5%99%A8%20%22%E7%A4%BE%E5%8C%BA%EF%BC%8C%E5%9B%A0%E4%B8%BA%E6%88%91%E8%AE%A4%E4%B8%BA%E6%88%91%E4%BB%AC%E6%9B%B4%E6%9C%89%E5%8F%AF%E8%83%BD%E5%9C%A8%E8%BF%99%E9%87%8C%E4%B8%BA%E6%82%A8%E6%89%BE%E5%88%B0%E6%BB%A1%E6%84%8F%E7%9A%84%E7%AD%94%E6%A1%88%E3%80%82%20sensorfusion%20%E5%9B%A2%E9%98%9F%E6%B2%A1%E6%9C%89%E4%BD%BF%E7%94%A8%20BeagleBoard%20%E7%9A%84%E7%BB%8F%E9%AA%8C%EF%BC%8C%E5%9B%A0%E6%AD%A4%E5%B8%AE%E4%B8%8D%E4%B8%8A%E4%BB%80%E4%B9%88%E5%BF%99%E3%80%82%3C%2FP%3E%3CP%3EMike%3C%2FP%3E%3C%2FLINGO-BODY%3E