
SL11R
Document #: 38-08006 Rev. **
Page 16 of 85
0xC100 to 0xE800 by default. However, the Extended Memory Control can be used to configure multiple windows for external
ROM set-up.
Note: The Address space from 0x8000-0xC100 can also be used as the external ROM (see the External Memory Control set-up
for more detail).
4.3
Internal RAM: 0x0000-0x0BFF
The SL11R contains a 1.5Kx16 internal RAM. This memory is used to buffer video data and USB packets and is accessed by the
16-bit processor and the SIE (Serial Interface Engine). USB transactions are automatically routed to the memory buffer. The 16-bit
processor has the ability to set up pointers and block sizes in buffer memory for USB DMA transactions. For example, video data
can be read from the camera interface and is sent to the USB port by the internal DMA engine. The SL11R BIOS uses this internal
RAM for USB buffers, BIOS variables and user data/code. Executable code or data can reside in multiple locations: internal
masked ROM (3Kx16), internal RAM (3Kx8), external ROM and external SRAM. Program code or data can also be loaded to
either the internal or the external RAM from the USB port, the RS232 port, or the 2-wire serial interface.
The SL11R Internal RAM is mapped from 0x0000 to 0x0BFF. See internal RAM memory usage in Table 2 below:
Note:
2.
This address may be changed due to SL11R BIOS revision updates. The new SL11R BIOS may require more internal memory for its variable usage in any new
SL11R BIOS.
• The addresses from 0x0000 to 0x00FF are reserved for hardware and software interrupt vectors (see [Ref. 1] SL11R_BIOS
for more information).
• Addresses from 0x0100 to 0x01FF are reserved for Internal Register Banks (SL11R register R0-R15 bank 0 and R0-R15 bank
1) and the software stack. Others are reserved for USB Control registers and other read/write control registers.
• Addresses from 0x0200 to 0x021F are reserved for the hardware interrupt stack.
• Addresses from 0x0220 to 0x0343 are available internal RAM for application software. Software can be downloaded via the
USB port or UART interface (see [Ref. 1] SL11R_BIOS for more information).
4.4
Clock Generator
The SL11R has an option to use either a 48-MHz or 12-MHz external crystal or oscillator as its clock source. SL11R includes an
internal PLL that can be configured by software. At power-up, the SL11R BIOS default configuration sets the processor clock to
run at 2/3 of X1 (of the external provided clock).
Example 1 Changing SL11R CPU Speed
The default of the SL11R BIOS assumes a 48MHz input clock, so the SL11R processor clock is (2/3)*48MHz = 32MHz. See
example below:
mov
[0xC006],0x10
;clock = 2/3*X1
mov
[0xC008],0
;CPU clock at 32MHz
If the X1 input clock is 48 MHz, then the maximum speed of the SL11R processor can be set at follows:
mov
[0xC006],0
;clock = set up at X1 clock input
mov
[0xC008],0
;CPU clock at 48MHz
If the X1 input clock is 12 MHz, then the maximum speed of the SL11R processor can be set to:
mov
[0xC006],0x40
;clock = 4*X1
mov
[0xC008],0
;CPU clock at 48MHz
Table 4-2. Internal RAM Memory Usage
Address
Memory Description
0x0000 - 0x00FF
Hardware/Software Interrupts
0x0100 - 0x01FF
Register Banks/USB Control/Software Stack
0x0200 - 0x021F
Hardware Interrupts stack
0x0220 - 0x0343[2]
SL11R BIOS internal buffers & variables
0x0344 - 0x0BFF
User’s Programming Space