User`s manual

Operational Specifications
3.2.3 Switch and LED Functions
Rev.1.01
Jan 31, 2008
3-18
REJ10J1262-0101
3
3.2.3 Switch and LED Functions
The M3A-HS11 includes seven switches and seven LEDs.
Table3.2.3 lists switches mounted on M3A-HS11.
Table3.2.3 Switches Mounted on M3A-HS11
No. Function Remarks
SW1 System Power On/Off Switch -
SW2 System Reset Input Switch See Section 2.8 for details
SW3 DIP Switch for User (4-pole)
SW3-1 OFF : PB15=H, ON : PB15=L
SW3-2 OFF : PB19=H, ON : PB19=L
SW3-3 OFF : PB28=H, ON : PB28=L
SW3-4 OFF : PB29=H, ON : PB29=L
*PB15, PB19, PB28 and PB29 are pulled
up. See section 2.5 2 for details.
SW4 DIP Switch for System Setting (4-pole) See
Table3.2.4
for the functions
SW5 NMI Switch See Section 2.9 for details
SW6 IRQ3 Switch See Section 2.9 for details
SW7 TR Switch See Section 2.9 for details
Table3.2.4 lists the functions of switch SW4. SH7211 operating mode is set by the combination of the MD0, MD1
and FWE pins. Table3.2.5 lists the setting of SH7211 operating modes.
Table3.2.4 Functions of Switch SW4
No. Setting Function
OFF
FWE=H
(Releasing the writing/erasing protects of on-chip flash memory)
SW4-1
FWE
ON
FWE=L
(Setting the writing/erasing protects of on-chip flash memory)
OFF MD1 pin state “H” SW4-2
MD1
ON MD1 pin state “L”
OFF MD0 pin state “H” SW4-3
MD0
ON MD0 pin state “L”
MCU operating
mode setting
(See.Table3.2.5)
: Initial Setting
Table3.2.5 Selection of SH7211 Operating Modes
SH7211 Operating Mode
SW4-1
(FWE)
SW4-2
(MD1)
SW4-3
(MD0)
Operating mode Mode name
ON ON ON Mode0
MCU extension mode0
(On-chip ROM disabled, CSO space:16bit bus)
ON ON OFF Mode1
MCU extension mode1
(On-chip ROM disabled, CSO space:8bit bus))
ON OFF ON Mode2 MCU extension mode2 (On-chip ROM enabled)
ON OFF OFF Mode3 Single chip mode (On-chip ROM enabled)
OFF ON ON Mode4 Boot mode (On-chip ROM enabled)
OFF ON OFF Mode5 User boot mode (On-chip ROM enabled)
OFF OFF ON Mode6 User programming mode (On-chip ROM enabled)
OFF OFF OFF Mode7 Writer mode (On-chip ROM enabled)
: Initial Setting