M5253 Demo Board User Manual, Rev. 0
Hardware Submodules
Freescale Semiconductor6
3.5 SDRAM Interface
The M5253 demo board provides 16 MB of on-board SDRAM, which is located at 0x0. The on-board
terminations are provided. The software should take notice of the timing configuration of this device for
the SDRAM controller module.
The SDRAM timing characters are listed below:
tRCD > 20 ns
CASL = 2 CLK
45 ns < tRAS < 100 ns
tRP > 20 ns
tRWL, RDL = 1 CLK (less than 100 MHz speed)
Here is the initialization code example for the SDRAM controller:
…
; set up 5253 cpu settings
; initialize memory settings SDRAM base Address 0x0000_0000
writemem.w 0x10000100 0x8209 ;SDRAM0 DCR0A
writemem.l 0x10000108 0x00002320 ;SDRAM0 DACR0A
writemem.l 0x1000010C 0x00FC0001 ;SDRAM0 DMR0A
writemem.l 0x10000108 0x00002328 ;SDRAM0 DACR0B
writemem.l 0x00000000 0x00000000 ;SDRAM0 MEMWR0
writemem.l 0x10000108 0x0000A320 ;SDRAM0 DACR0C
writemem.l 0x10000108 0x0000A360 ;SDRAM0 DACR0D
writemem.l 0x00000800 0x00000800 ;SDRAM0 MODE0…
3.6 BDM Interfaces — Processor
The M5253 demo board provides an on-board BDM (background debug mode) module and a connector
(26-pin header) to give the final user the ability to utilize the BDM features of the MCF5253 processor.
With the on-board BDM, the customer can use a USB A-to-B cable for debugging and downloading the
software. The 26-pin header is not populated on the board by default, the customer can populate it on the
J14. To enable the header, the customer also needs to populate four 0 Ω resistors on R4 to R7.
3.7 USB 2.0 OTG
The MCF5253 processor contains a USB high-speed OTG module. This module is USB 2.0 compliant. It
supports both the host and the device modes, and provides an on-chip high-speed/full-speed/low-speed
transceiver. One mini-AB receptacle (USB 2.0 OTG) is provided on the Jamaica board. The board also
provides an external power distribution switch (MIC2026) to provide the VBUS when necessary. The USB
module uses a 24 MHz crystal for module clock.
SDRAM address
0x0000_0000 ~ 0x00FF_FFFF