About Hardware General (USBC_n_HWGENERAL) in i.MX6Q.

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

About Hardware General (USBC_n_HWGENERAL) in i.MX6Q.

跳至解决方案
606 次查看
keitanagashima
Senior Contributor I

Dear All,

Hello.

I have a question about USB register in i.MX6DQ.

Refer to "PHYM" bit of "65.6.2 Hardware General (USBC_n_HWGENERAL)" in MCIMX6DQRM(Rev.2).

PHYM has 3 bits [8-6].

But, there are detail description of 4 bits PHYM.

Ex)

1000 IC-USB

1001 Software programmable - reset to IC-USB

1010 HSIC

1011 Software programmable - reset to HSIC

How many bits does PHYM have?

And, how should I think this bits?

Best Regards,

Keita

标签 (3)
0 项奖励
1 解答
470 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Keita

for interpretation 4 bits one needs to use next field : PHYW,

example PHYM= 1010 HSIC

This means left 3 bits (101) are PHYM field [8:6] bits,

right bit (0) is most significant bit of PHYW field, that is bit 5 :

PHYM [8:6]=101

PHYW[5]=0

Best regards

igor

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

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

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

在原帖中查看解决方案

0 项奖励
1 回复
471 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Keita

for interpretation 4 bits one needs to use next field : PHYW,

example PHYM= 1010 HSIC

This means left 3 bits (101) are PHYM field [8:6] bits,

right bit (0) is most significant bit of PHYW field, that is bit 5 :

PHYM [8:6]=101

PHYW[5]=0

Best regards

igor

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

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

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

0 项奖励