IMXRT1010: Example for a single LPI2C master and multiple slaves

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

IMXRT1010: Example for a single LPI2C master and multiple slaves

3,296件の閲覧回数
yokonav
Contributor III

Is there any example for single master/multiple slaves (at least two)? Any pointer/hints would be helpful. I am using SAI example "sai/evkmimxrt1010_sai_edma_record_playback" which has already configured LPI2C1 master for  an audio codec slave. I want to add one more LPI2C slave for the same master. If not possible, how can I add another master LPI2C2? Which pins are configured for LPI2C2?

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

3,200件の閲覧回数
yokonav
Contributor III

I am able to use LPI2C2 master to connect a slave successfully. Before I was using eDMA which was causing some issue. 

0 件の賞賛
返信

3,200件の閲覧回数
yokonav
Contributor III

So what is the workflow to add a slave to an existing master?  For example, in the "sai/evkmimxrt1010_sai_edma_record_playback" how can I add one more slave?

0 件の賞賛
返信

3,200件の閲覧回数
lucas_cao
NXP Employee
NXP Employee

For SDK examples, seems there is no examples which you wanted.

Lucas Cao

0 件の賞賛
返信