10
Q21:
What is the correct initialize routine for Scarlet ?
To initialize the Scarlet correctly, you have to follow these steps :
1. Hardware reset sequence :
after power-on, XRESET and S must be L to issue a reset S must be L for min 500ns
after S is H, XRESET must be held low for min 300us
2. After reset, we recommend to initialize the Scarlet in the following way (C language based):
// Initialize Scarlet
ret = GdcInitialize();
// init API
if (ret != GDC_TRUE) return;
GdcSetMemoryMode(0x003f3802);
// set MemoryMode
GdcSetInterruptMask(0xFF);
// mask interrupts
GdcExecMode(GDC_FALSE);
// set exec mode
on register level :
/* --MMR-- */
reg = (DWORD *) (Ho 0x0000fffc);
*reg = 0x003f3802;
/* SDRAM-Settings */
/* IMASK */
reg = (DWORD *) (Ho 0x00000024);
*reg = 0x0000001f;
/* 1f = all Interrupts to Host-CPU disabled */
Q22:
using the Orchid (MB86292) we want to use a single 32-bit SDRAM from Micron (MT48LC4M32B2).
Do the unused Data lines MD32-MD54 and MDQM4-7 need a pull up resistor to have a known state,
or can I leave them open?
Please connect XRGBEN to Low (32-bit Bus Mode) so you can use all RGB Digital outputs
R0-7,G0-7,B0-7. All other pins MD32-MD54 und MDQM4-7 can be left open.
Q23:
How to connect the TESTx-pins ?
Scarlet - TESTL0, TESTL1, TESTH0, TESTH2, TESTH2, TESTH4 pins
Hardware manual page 16: 'TEST signals must be clamped to high level'.
The description of page16 is wrong.
Connect these pins same as eva-board.
TESTLx = GND; TESTHx = VDD3 (+ resistor).