Freescale i.MX MC9328MX1/MXL/MXS PLL Restart Effect on SDRAM Application Note

Freescale application note explaining how restarting the i.MX System PLL stops the SDCLK signal and can corrupt SDRAM data.


Freescale i.MX MC9328MX1/MXL/MXS PLL Restart Effect on SDRAM Application Note - cover page
Brand
Freescale
Category
Other
Document type
Other
Language
English
Pages
6
File format
PDF
File size
155 KB
Published
30 November, 2026
Updated
30 November, 2026
MD5 checksum
06DAE0BA1CAC683FB217FC2C76A17F9D

About this manual

This Freescale Semiconductor application note describes the effect of changing the System PLL frequency on SDRAM memories connected to the i.MX microprocessors MC9328MX1, MC9328MXL, and MC9328MXS. When the PLL is restarted, the SDCLK signal stops toggling for about 100 µs, during which no refresh commands are issued, which can corrupt data in non-refreshed rows.

The note explains the refresh requirements of the SDRAM controller and recommends initializing and setting up the PLLs before initializing the SDRAM during cold start up. For changes during system operation, it gives a sequence using the RTC interrupt and STOP mode to keep the SDRAM data intact.

What's inside

  • Abstract
  • Recommended Approach to Changing System PLL Frequency
  • Cold Start Up
  • During System Operation
  • References
  • Revision History

Specifications

SDCLK low time during PLL restartabout 100 µs
Refresh interval for 2048-row SDRAMevery 31.25 µs
Refresh period64 ms
Supported row addresses11, 12, and 13
Refresh commands for 2048 rows2048 refresh commands
Refresh commands for 4096 rowstwo refresh commands every 31.25 µs
Refresh commands missed during 100 µs low timethree refresh cycles or twelve refresh commands

Frequently asked questions

What happens to the SDCLK signal when the System PLL is restarted?

The SDCLK signal goes low and stops toggling for about 100 µs, then starts toggling at the new frequency.

Why can restarting the PLL corrupt SDRAM data?

During the SDCLK low time no refresh commands are issued, so rows that need refreshing are not refreshed and their data can be corrupted.

When is it recommended to change the System PLL frequency?

It is recommended to initialize and set up the PLLs before initializing the SDRAM, which is normally done once during cold start up.

How can the PLL frequency be changed during system operation without losing SDRAM data?

Program SPCTL0, set up and enable an RTC interrupt, place the processor in STOP mode and execute WFI; the PLL then restarts at the new frequency and the SDRAM leaves self refresh.

Download PDF (155 KB)

More Freescale Manuals


View all Freescale manuals →