73
73
73
73
S Y S T E M C O N T R O L R E G I S T E R S
The system control registers allows to check and control Devkit16 configuration.
(1) System control DIP switches status
SCDS[7:0]
7
6
5
4
3
2
1
0
Address: C0
H
USW
UART0/1
SWAP
FLASH8/16
Adr/Io
UMD2
UMD1
UMD0
Read/Write
(R)
(R)
(R)
(R)
(R)
(R)
(R)
(R)
Initial Value
(X)
(X)
(X)
(X)
(X)
(X)
(X)
(X)
This register allows to read the current state of mainboard System control DIP
switches (SW1).
Writing to this register has no meaning.
(2) System Configuration Register
SCR[7:0]
7
6
5
4
3
2
1
0
Address: C1
H
RESET MirrorFF
SWAP
FLASH8/16
Adr/Io
MD2
MD1
MD0
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
(0)
(1)
(X)
(X)
(X)
(X)
(X)
(X)
The value in this register controls the system configuration.
MD0-MD2:
these bits directly control the state of CPU pins MD0-
MD2. The initial value of this register is affected by
the state of the mainboard System control DIP
switches (SW1) – when the power is applied to the
mainboard or mainboard Reset button is pressed, the
state of UMD0-2, FLASH8/16, SMALL and SWAP
switches is copied to it.
ADR/IO:
When '1', the A16-A23 CPU pins can be switched to
general I/O mode. For description of this feature, see
the "Mainboard User Reference" chapter. When '0',
the A16-A23 pins are expected to behave as address
signals.
FLASH 8/16:
if 1 then 16bit access is selected for main board
FLASH
Note: setting of this bit should correspond with the CPU external data bus
width configuration of the memory space where the mainboard’s FLASH
memory is mapped - see the “Bus control signal selection register”
description on page 277 in the “F
2
MC-16LX Family, 16-Bit
Microcontroller MB90540/545 series hardware manual”.
SWAP FLASH/RAM:
if 1 then Main board RAM is mapped to upper
memory block - UMB, Main board FLASH is in LMB
else RAM is LMB and FLASH is UMB.
MirrorFF:
if 1 then any access to address range 4000H - 0FFFFH
is mapped to the FF4000H-FFFFFFH range. The