Kinetis SDK 2.0.I2C library.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Kinetis SDK 2.0.I2C library.

ソリューションへジャンプ
1,260件の閲覧回数
jun1
Contributor V

Please kindly advise.
I am using the I2C library of Kinetis SDK 2.0.
One byte of data was transmitted from the host to the General Call Address by setting the slave to General Call Address Enable.
Incoming callbacks are called, but the data is not as expected. Probably, I think that I did not specify the read buffer. Which API do you do?

0 件の賞賛
返信
1 解決策
1,131件の閲覧回数
jun1
Contributor V

thank Jing .
I referred to here.
http://mcuxpresso.nxp.com/apidoc/group__i2c__driver.html
· Slave Operation in interrupt transactional method
I did not know the timing of specifying the receive buffer, but when I looked at the sample code carefully, I specified it with kI2C_SlaveReceiveEvent.
solved. Thank you very much.

jun

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,131件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi jun,

Have you tried the I2C demos in SDK package? I don't know what MCU do you use. For example, if you use k22, in boards\frdmk22f\driver_examples\i2c there are many I2C demos. I think they can give you many help.

Regards,

Jing

0 件の賞賛
返信
1,132件の閲覧回数
jun1
Contributor V

thank Jing .
I referred to here.
http://mcuxpresso.nxp.com/apidoc/group__i2c__driver.html
· Slave Operation in interrupt transactional method
I did not know the timing of specifying the receive buffer, but when I looked at the sample code carefully, I specified it with kI2C_SlaveReceiveEvent.
solved. Thank you very much.

jun

0 件の賞賛
返信