I2C MSTA bit on i.MX6Q

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

I2C MSTA bit on i.MX6Q

1,017件の閲覧回数
kzkzkz
Contributor I

Hello,

I'm testing the I2C driver in the Secure World on i.MX6Q using the i.MX6 platform SDK. However, I2C_I2CR MSTA bit cannot be set. According to the i.MX6 reference manual, "The module clock should be on for writing to the MSTA bit."

I looked into the module clock which is "ipg_clk_patref", and checked the value of CCGR2. It looks fine, but the I2C driver is not working. 

Did I miss something? What part should I check?

Thanks,

D

ラベル(1)
タグ(5)
0 件の賞賛
返信
1 返信

927件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Daniel

for security application it may be useful to check sect.3.2.1 Peripheral access policy

i.MX6DQ Security Reference Manual on link

https://community.nxp.com/docs/DOC-97660 

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

0 件の賞賛
返信