I2C interface

Matthew J Fletcher amimjf at gmail.com
Thu Feb 11 15:50:46 UTC 2021


Hi,

The ATSAM BSP has I2C support, but i am slightly unclear about the API that
should be used to access it.

Using pread() & pwrite() seems to trigger assertions that look like memory
corruption in atsam_i2c_bus.c

The linux I2C userspace API seems to be suggested, which looks like
ioctrl(), but there is also a i2c_smbus_write_byte() type interface.



regards
---
Matthew J Fletcher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20210211/ea8a545b/attachment.html>


More information about the users mailing list