Renesas Emulation Probe M30850T2-EPB User Manual page 38

Emulation probe for m32c/80, 84, 85, 86 and 8a groups
Table of Contents

Advertisement

M30850T2-EPB User's Manual
(2) Setting SW5 on the M30850T2-EPBM
Table 2.3 lists the examples of setting the switch SW5. It is necessary to change the setting if using the analog input port
selection function of the A/D converter.
Setting the SW5 enables to set each analog input pin for selecting an analog input port. When selecting AN00 to AN07 or
AN20 to AN27 for the analog input port select bits (bit 2 and bit 1 of 0394h), set the pins used for A/D conversion to ON,
the pins not used to OFF.
Table 2.3 Switch settings of the M30850T2-EPBM (SW5)
Analog input port
AD ON 0
When not using the
analog
input
port
selection function
AD ON 0
When using AN23 to
AN27
OFF 0
AD ON 0
When using AN20 to
AN27
AD ON 0
When using AN04 to
AN07
OFF 0
AD ON 0
When using AN03 to
AN05 and AN25 to
AN27
OFF 0
REJ10J1005-0200 Rev.2.00 April 1, 2007
Setting
7
OFF 0
7
(Factory-setting)
AD23 to AD27 used: ON
7
7
AD20 to AD22 unused: OFF
AD20 to AD27 used: ON
7
OFF 0
7
AD04 to AD07 used: ON
7
7
AD00 to AD03 unused: OFF
AD03 to AD05 used: ON
AD25 to AD27 used: ON
7
7
AD00 to AD02 unused: OFF
AD20 to AD22 unused: OFF
This is the setting when not using the analog input port selection
function. When using this product with the conditions below, use
this setting.
- When using the memory expansion mode
- When using the microprocessor mode
- When using the multi-port sweep mode
- When selecting AN0 to AN7 for analog input port select bits
- When selecting AN150 to AN157 for analog input port select bits
This is a setting when using the analog input port selection function
and using AN23 to AN27 for analog input pins.
Set the analog input pins to ON.
With this setting, set the direction registers of ports P153 to P157 to
input. Pins P150 to P152 can be used for I/O port, ISTxD0, ISCLK0
and ISRxD0.
This is a setting when using the analog input port selection function
and using AN20 to AN27 for analog input pins.
Set the analog input pins to ON.
With this setting, set the direction registers of ports P150 to P157 to
input. Pins P150 to P157 cannot be used for I/O port, ISTxD0,
ISCLK0 and ISRxD0.
This is a setting when using the analog input port selection function
and using AN04 to AN07 for analog input pins.
Set the analog input pins to ON.
With this setting, set the direction registers of ports P154 to P157 to
input. Pins P150 to P153 can be used for I/O port, ISTxD0, ISCLK0
and ISRxD0.
This is a setting when using the analog input port selection function
and using AN03 to AN05 and AN25 to AN27 for analog input pins.
Set the analog input pins to ON.
With this setting, set the direction registers of ports P153 to P157 to
input. Pins P150 to P152 can be used for I/O port, ISTxD0, ISCLK0
and ISRxD0.
Description
2. Setup
Page 38 of 98

Advertisement

Table of Contents
loading

Table of Contents