I2C loop back test in iMX6 CPU

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

I2C loop back test in iMX6 CPU

ソリューションへジャンプ
2,877件の閲覧回数
mohammedazlum
Contributor IV

Hello FSL,

Is it possible to do the I2C1 & I2C2 loop back test in same iMX6 processor ?

Example,

Time T1

I2C1 is act as master and I2C2 is act as slave at time T1. So that master and slave can be communicated (example send and receive data) in same processor. Thus we can make sure that I2C1 master & I2C2 slave functionalities are working properly. 

Time T2

Similar way,

I2C1 is act as slave and I2C2 is act as master at time T2. So that master and slave can be communicated (example send and receive data) in same processor. Thus we can make sure that I2C1 slave & I2C2 master functionalities are working properly. 

Also here I have atathced the wiring diagram of the I2C loop back test. Could you review and share the feedback ?

I2C1 & I2C2 Loop Test.png

Regards,

Azlum

ラベル(4)
0 件の賞賛
1 解決策
2,185件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi mohammed

yes this is feasible test since i.MX6 I2C modules are

independent modules. One can work as master, while other

as slave and can communicate with each other.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
2,186件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi mohammed

yes this is feasible test since i.MX6 I2C modules are

independent modules. One can work as master, while other

as slave and can communicate with each other.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
2,185件の閲覧回数
puneethkumar_kk
Contributor II

Hi Igor

Need some clarification on this issue. You had mentioned that I2C slave mode functionality is not possible on IMX6 in the below thread.

i.mx6 i2c set to slave? 

But in the current thread , it is mentioned as it is possible to do the same. 

I want to perform loopback test on i2c expansion connectors between i2c0 and i2c2(one as master and one as slave) on the IMX6 custom board. If it is possible, what are changes required to perform i2c loop-back test.

Any suggestions would be helpful.

Regards

Puneeth Kumar K

0 件の賞賛
2,185件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Puneeth

in the current thread , it is mentioned as it is possible - yes,  hardware supports it.

In below thread. i.mx6 i2c set to slave? 

it is mentioned that linux does not support it:

"..Linux Manual :

The I2C driver does not support the I2C slave mode of operation."

Best regards
igor

0 件の賞賛
2,185件の閲覧回数
mohammedazlum
Contributor IV

Thank you for the support Igor !

Regards,

Azlum

0 件の賞賛