I2C Slave Transaction

equinox2k
Posts: 2
Joined: Sat Jul 20, 2024 3:37 am

I2C Slave Transaction

Postby equinox2k » Sat Jul 20, 2024 3:42 am

I have a I2C Master device which sends a command then expects to read a value back based on command sent.

My problem is i can receive the command sent, how ever transmitting a value back seems to be another transaction and thus master device does not get expected value.

I've been following the i2c_slave examples, however there is nothing i can see where i can begin a transaction, receive command, then send result, end transaction.

Do i have to use the hal_i2c_slave somehow or something else?

Thanks in advance

Who is online

Users browsing this forum: Bing [Bot], PhilipK and 88 guests