I am working with the K22f512VLK12
I set up I2C channel 1 and have been having trouble with the Events
the OnMasterSend and OnMasterRevieve does not seem to happen I put a break point in those functions and ran the code, it did not break until several iteration through the Main Look
my project is included below
Thanks
Original Attachment has been moved to: worktrax.zip
Solved! Go to Solution.
Found my problem, I was not sending proper messages to the I2C slave device. the Even happens after the block is sent. I just needed to send proper commands the salve device.
Found my problem, I was not sending proper messages to the I2C slave device. the Even happens after the block is sent. I just needed to send proper commands the salve device.
Hi Jace Walton
Is this thread related with this other one: I2C internal Freq (Multiplier Factor) ? Have you resolved your issue?
You mentioned that you can access to this events but it needs many time to happen. I believe that in this case you need to check that OnMasterSend and OnMasterRevieve are property set and what are the interrupts that will trigger this events, because you actually can access to the events.
Best Regards
Jorge Alcala