IMXRT1010: Example for a single LPI2C master and multiple slaves

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMXRT1010: Example for a single LPI2C master and multiple slaves

2,543 Views
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 Kudos
Reply
3 Replies

2,447 Views
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 Kudos
Reply

2,447 Views
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 Kudos
Reply

2,447 Views
lucas_cao
NXP Employee
NXP Employee

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

Lucas Cao

0 Kudos
Reply