Kinetis 60n512 + MQX + I2C Slave

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

Kinetis 60n512 + MQX + I2C Slave

1,271件の閲覧回数
eichest
Contributor I

Hello everyone

 

I have some problems with the I2C Slave driver on the Kinetis 60n512 with MQX.

 

The main Problem is that I have to detect a repeated START or a STOP signal. This is necessary because I don't know the exact size of a package when the master begins to write the data. Is there a possibility to read out somehow when the master finished with writing? I didn’t find an option in the status register or somewhere else.

 

Regards,

Stefan

0 件の賞賛
返信
2 返答(返信)

764件の閲覧回数
c0170
Senior Contributor III

Hi eichest,

 

can you repost or move this thread to the MQX section. You might find help faster there!

 

Regards,

MartinK

0 件の賞賛
返信

764件の閲覧回数
eichest
Contributor I

Hy Kojto, thanks for your reply!

 

I will also post the thread in the MQX section, as you said.

 

But I think the problem has more to do with the Kinetis controller itself and not really with MQX. I found in the datasheet of the K60 no way to detect the end of a message. The only way to detect it somehow would be to poll the BUSY flag in the status register, but if a repeated start signal will be sent this has no effect because the bus is still busy. For my appliance the most interesting way to detect it would be due an interrupt, but I don't think this is possible.

0 件の賞賛
返信