Microcontroller User's Guide
USER’S GUIDE
050396 38/173
39
DS5000 MEMORY CONTROL REGISTER
Label:MCON Register Address: 0C6H
D7 D6 D5 D4 D3 D2 D1 D0
PA3 PA2 PA1 PA0 RA32/8 ECE2 PAA SL
Bit Description:
MCON.7–4: PA3–0
“Partition Address”: Used to select the starting address of Data Memory on the Byte–wide bus.
Program space lies below the partition address.
PA3 PA2 PA1 PA0 Partition Address
0 0 0 0 0000H
0 0 0 1 0800H
0 0 1 0 1000H
0 0 1 1 1800H
0 1 0 0 2000H
0 1 0 1 2800H
0 1 1 0 3000H
0 1 1 1 3800H
1 0 0 0 4000H
1 0 0 1 4800H
1 0 1 0 5000H
1 0 1 1 5800H
1 1 0 0 6000H
1 1 0 1 6800H
1 1 1 0 7000H*
1 1 1 1 8000H*
*A 4K byte increment (not 2K bytes) in the Partition Address takes place between bit field values 1110B and
111B.
Initialization: Set to all 1’s on a No V
LI
Power On Reset or when the Security Lock bit is
cleared to a 0 from previous 1 state. These bits are also set to all 1’s when
any attempt is made to have them cleared to all 0’s with the SL bit set to 1
(illegal condition).
Read Access: May be read anytime.
Write Access: PAA bit must = 1 in order to write PA3–0. Timed Access is not required to
write to PA3–0 once PAA=1.
MCON.3: RA32/8
“Range Address”: Set the maximum usable address in on the Byte–wide bus.
RA32/8=0 sets Range Address = 1FFFH (8K)
RA32/8=1 sets Range Address = 7FFFH (32K)
Initialization: Set to a 1 during a No V
LI
Power On Reset and when the Security Lock bit
(SL) is cleared to a 0 from a previous 1 state. Remains unchanged on all oth-
er types of resets.