2+ Years later...
Is there a proper solution yet?
multi-thread I2C synchronization
Re: multi-thread I2C synchronization
Like Wifi says, mutex. May add an extra mutex but cost is low and you can sleep safe.
Its not normal to use a device/driver from multiple threads. If the driver has to cover these RT bases then the driver would get fat and slow.
So best that these particular use/cases are handled at the application level.
Its not normal to use a device/driver from multiple threads. If the driver has to cover these RT bases then the driver would get fat and slow.
So best that these particular use/cases are handled at the application level.
& I also believe that IDF CAN should be fixed.
Who is online
Users browsing this forum: No registered users and 118 guests