Why nop is inserted in imx7d_low_power_idle.S?

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

Why nop is inserted in imx7d_low_power_idle.S?

跳至解决方案
1,366 次查看
satoshishimoda
Senior Contributor I

Hi community,

Our customer have a question about i.MX7S low power mode.
Please see line 698 of arch/arm/mach-imx/imx7d_low_power_idle.S in L4.1.15_1.0.0-ga.
There are 25 nops after wfi from this line.
Would you let me know the intent why there are these nops?


Best Regards,
Satoshi Shimoda

标签 (3)
标记 (1)
1 解答
1,136 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  when exit low power mode, some delay is necessary to make sure signals

stable enough for DDR operation.

 

Have a great day,

Yuri

 

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

Note: If this post answers your question, please click the Correct

Answer button. Thank you!

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

在原帖中查看解决方案

3 回复数
1,137 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  when exit low power mode, some delay is necessary to make sure signals

stable enough for DDR operation.

 

Have a great day,

Yuri

 

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

Note: If this post answers your question, please click the Correct

Answer button. Thank you!

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

1,136 次查看
satoshishimoda
Senior Contributor I

Hi Yuri,

Thank you for your reply.

> when exit low power mode, some delay is necessary to make sure signals
> stable enough for DDR operation.

What is the factor to decide how long delay is needed?

Time to stabilize DDR clock from PLL?

Or DDR chip requires some delay?

Best Regards,

Satoshi Shimoda

0 项奖励
1,136 次查看
Yuri
NXP Employee
NXP Employee

Hello,

 when exit  low power mode, ~10us delay is necessary.

Regards,

Yuri.