Why nop is inserted in imx7d_low_power_idle.S?

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

Why nop is inserted in imx7d_low_power_idle.S?

Jump to solution
1,830 Views
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

Labels (3)
Tags (1)
1 Solution
1,600 Views
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!

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

View solution in original post

3 Replies
1,601 Views
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,600 Views
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 Kudos
Reply
1,600 Views
Yuri
NXP Employee
NXP Employee

Hello,

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

Regards,

Yuri.