I2C returns MSG_RESET for successful transaction

Report here problems in any of ChibiOS components. This forum is NOT for support.
Dzarda
Posts: 9
Joined: Sat Feb 28, 2015 2:28 pm
Location: Brno, Czech Republic
Has thanked: 1 time
Been thanked: 1 time

Re: I2C returns MSG_RESET for successful transaction

Postby Dzarda » Wed Jan 13, 2021 7:00 pm

@Edoardo1982 Yeah that's effectively the same logic I'm happy with :^)

steved
Posts: 747
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 10 times
Been thanked: 114 times

Re: I2C returns MSG_RESET for successful transaction

Postby steved » Wed Jan 13, 2021 7:27 pm

Dzarda wrote:Appears as if the NACK somehow taints the following transaction or smth...

Not my experience; that snippet of mine came from a test program for I2C FRAM, where I intentionally inject an access to an "empty" address every so often. Only get errors on invalid access; none on valid access.

It's of course possible that your peripheral is getting confused.

I don't use the standard Chibi I2C driver, because I need to support slave mode as well. The master part should be the same as Chibi, but if you want to try my driver, work backwards in this thread to get the code.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 5 guests