IMXRT1010: Example for a single LPI2C master and multiple slaves

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMXRT1010: Example for a single LPI2C master and multiple slaves

3,297 次查看
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,201 次查看
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,201 次查看
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,201 次查看
lucas_cao
NXP Employee
NXP Employee

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

Lucas Cao

0 项奖励
回复