Renesas Emulation Probe M30850T2-EPB User Manual

Page 38

Advertising
background image

M30850T2-EPB User’s Manual

2. Setup

REJ10J1005-0200 Rev.2.00 April 1, 2007

(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

Setting

Description

When not using the
analog input port
selection function

O

N

1

2

3

4

5

6

7

8

AD ON 0

7

OFF 0

7

(Factory-setting)

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

When using AN23 to
AN27

O

N

1

2

3

4

5

6

7

8

AD ON 0

7

OFF 0

7

AD23 to AD27 used: ON

AD20 to AD22 unused: OFF

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.

When using AN20 to
AN27

AD20 to AD27 used: ON

O

N

1

2

3

4

5

6

7

8

AD ON 0

7

OFF 0

7

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.

When using AN04 to
AN07

O

N

1

2

3

4

5

6

7

8

AD ON 0

7

OFF 0

7

AD04 to AD07 used: ON

AD00 to AD03 unused: OFF

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.

When using AN03 to
AN05 and AN25 to
AN27

O

N

1

2

3

4

5

6

7

8

AD ON 0

7

OFF 0

7

AD03 to AD05 used: ON
AD25 to AD27 used: ON

AD00 to AD02 unused: OFF
AD20 to AD22 unused: OFF

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.

Page 38 of 98

Advertising