Search found 3 matches

by mstanisz
Mon Jan 22, 2018 11:42 pm
Forum: General Support
Topic: I2C Slave mode support?
Replies: 116
Views: 138557

Re: I2C Slave mode support?

After poking around the LLD files and commsthread a bit, it seems like there was an issue where txPtr and txBody were not receiving the same data from rxBody. I removed txPtr portion and did a memcpy() from rxBody into txBody in the messageProcessor() function and now it all looks good. If time ...
by mstanisz
Sat Jan 20, 2018 12:21 am
Forum: General Support
Topic: I2C Slave mode support?
Replies: 116
Views: 138557

Re: I2C Slave mode support?

Hey steved,

Actually, I started with your F051 example first. I've integrated it back into my code, but I'm getting a similar response. Perhaps I'm misinterpreting the demo code, but if I perform a I2C write and then an I2C read with my master, I should get the data back from the echoRx routine ...
by mstanisz
Fri Jan 19, 2018 7:58 pm
Forum: General Support
Topic: I2C Slave mode support?
Replies: 116
Views: 138557

Re: I2C Slave mode support?

Hey all,

I've merged the latest (Chibi_I2C_Slave_17.6.3.zip) into my code for my STM32F37xx. I've read through this post and a few others and have 4 similar examples for an I2C slave test. I'm currently trying to port the F401_Nucleo_I2C_Slave example. Using an Aardvark as my master, I can see it ...