I2C Events

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2C Events

Jump to solution
684 Views
jacewalton
Contributor III

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

Labels (1)
0 Kudos
1 Solution
491 Views
jacewalton
Contributor III

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.

View solution in original post

0 Kudos
2 Replies
492 Views
jacewalton
Contributor III

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.

0 Kudos
491 Views
jorge_a_vazquez
NXP Employee
NXP Employee

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

0 Kudos