This way, the code can be tested in both configurations. As seen in the code, it can be compiled to be used either directly with PIGPIO or indirectly through the PIGPIOD using the macro switch PIGPIOD. The following code is used in a raspberry pi configured as an i2c slave device. There appears to be an unnecessary requirement to send a control message first from the master to slave. And the status flag bytes are getting reversed between PIGPIO and PIGPIOD.įurthermore, I have not been able to determine from the documentation how the Raspberry Pi slave device is notified of a simple requestFrom() bus master request. Data is consistently getting lost, and slave responses are received out of sequence. Data passed between a Raspberry Pi, configured as an I2C slave device, is not reliably transmitting between an Arduino I2C bus master device.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |