Dear Arduino enthusiasts,
I need your help to understand how to configure the start condition of I2C transmission. I try to communicate between my arduino board and my own board (addr : 0x56).
I don't know how to explain but the clock (SCL) begins too late. I want to send 0x56(0b01010110) but I receive 0xAC (0b10101100) => because SCL begins after the first "0"...
I attached the I2C sequence that I receive and please find below my code :
#include <Wire.h>
void setup() {
Wire.begin();
// Initialization Sequence
Wire.beginTransmission(0x56);
Wire.write(byte(0x06));
Wire.write(byte(0x07));
Wire.endTransmission();
}
void loop() {
}
Thanks in advance !