I2C Events

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,417件の閲覧回数
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

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 解決策
1,224件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
1,225件の閲覧回数
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 件の賞賛
返信
1,224件の閲覧回数
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 件の賞賛
返信