3 Replies Latest reply on Mar 11, 2015 2:20 AM by MiguelAngelLV

    Read register from i2c in Intel Edison is very slow


      I need a word (2bytes) from a register and that take until 9000000ns while read 100 bytes from bus take 3000000ns,. Is this normal?


      I use a Intel Edison with mraa with the last version from the Intel wedpage.


      uint16_t read = i2c->readWordReg(0xFD); 
      read = __bswap_16(read);
      i2c->read((char*)buffer, read);