MOD5234-100IR NetBurner Inc, MOD5234-100IR Datasheet - Page 142

MOD5234 10/100 ETHERNET MODULE

MOD5234-100IR

Manufacturer Part Number
MOD5234-100IR
Description
MOD5234 10/100 ETHERNET MODULE
Manufacturer
NetBurner Inc
Type
Controllers & Processorsr

Specifications of MOD5234-100IR

Interface
I²C, SPI, UART
Voltage - Supply
2.5V
Mounting Type
Surface Mount
Package / Case
Module
Product
Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Format
-
Baud Rates
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
Q4483564
Static RAM (SRAM)
6.2.2
After a hardware reset, the contents of the SRAM module are undefined. The valid bit of the
RAMBAR is cleared, disabling the module. If the SRAM requires initialization with instructions
or data, the following steps should be performed:
The ColdFire processor or an external emulator using the debug module can perform these
initialization functions.
6.2.3
The following code segment describes how to initialize the SRAM. The code sets the base address
of the SRAM at 0x2000_0000 and then initializes the SRAM to zeros.
RAMBASE
RAMVALID
move.l
movec.l
The following loop initializes the entire SRAM to zero
lea.l
move.l
SRAM_INIT_LOOP:
clr.l
subq.l
bne.b
6-4
1. Load the RAMBAR mapping the SRAM module to the desired location within the address
2. Read the source data and write it to the SRAM. There are various instructions to support
3. After the data has been loaded into the SRAM, it may be appropriate to load a revised
space.
this function, including memory-to-memory move instructions, or the MOVEM opcode.
The MOVEM instruction is optimized to generate line-sized burst fetches on 0-modulo-16
addresses, so this opcode generally provides maximum performance.
value into the RAMBAR with a new set of attributes. These attributes consist of the
write-protect and address space mask fields.
SRAM Initialization
SRAM Initialization Code
EQU $20000000
EQU $00000001
#RAMBASE+RAMVALID,D0
D0, RAMBAR
RAMBASE,A0
#16384,D0
(A0)+
#1,D0
SRAM_INIT_LOOP
MCF5235 Reference Manual, Rev. 2
;set this variable to $20000000
;load RAMBASE + valid bit into D0.
;load RAMBAR and enable SRAM
;load pointer to SRAM
;load loop counter into D0
;clear 4 bytes of SRAM
;decrement loop counter
;if done, then exit; else continue looping
Freescale Semiconductor

Related parts for MOD5234-100IR