I2C MSTA bit on i.MX6Q

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

I2C MSTA bit on i.MX6Q

457 Views
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

Labels (1)
0 Kudos
1 Reply

367 Views
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 Kudos