Is it possible to access the same i2c of i.MX8M Mini by A53 and M4?
For example, A53 Linux access the device with address 0x1a on i2c1. After A53 access done, then M4 access 0x1a on i2c1.
Solved! Go to Solution.
It is not recommended to access the same i2c with 2 different device drivers.
It is better to write an application that runs on A53 core and asks M4 one to send or receive data via i2c when it is required.
Hi Victor,
One more question, is it OK for access the different I2C devicess via the same I2C bus in A53 core & M4 core?
For example. one M4 application is access I2C address (0x74) on I2C1 and one A53 application is access I2C addresses(0x51, 0x32) on I2C1.
It is not OK to access the same I2C bus with both cores at the same time.
However you can use some semaphores to share the bus.
I mean when one core will use the bus it should "deny" it for another core.
It is not recommended to access the same i2c with 2 different device drivers.
It is better to write an application that runs on A53 core and asks M4 one to send or receive data via i2c when it is required.