Important – Renesas Emulation Probe for M32C/88 Group M30880T-EPB User Manual

Page 41

Advertising
background image

M30880T-EPB User’s Manual

2. Setup

REJ10J0497-0100Z Rev.1.00 January 16, 2005

Page 41 of 100

IMPORTANT

Notes on Switch SW5:

When setting the register below to use the analog input port selection function, you need to set the direction
register of port P15 for a pin that performs A/D conversion to "input".
And you need to set the function selection register of port P15 for a pin that performs A/D conversion to "I/O
port".
A/D0 control register 2 (address 394h)
b2,

b1

1, 0 : AN00 to AN07

1, 1 : AN20 to AN27

Also, when the P0 group and P2 group are selected for A/D input, port P15 cannot be used as an I/O port. When
setting the register above, port P15 cannot be used as an I/O port even if A/D conversion is halting.

When using the A/D converter in multi-port sweep mode, be sure to set the all SW5 to ON. When setting the
register below to use multi-port sweep mode, you need to set the direction register of port P15 for a pin that
performs A/D conversion to "input".
And you need to set the function selection register of port P15 for a pin that performs A/D conversion to "I/O
port".
A/D0 control register 4 (address 392h)
b3,

b2

1, 0 : AN0 to AN7, AN00 to AN07

1, 1 : AN0 to AN7, AN20 to AN27

Also, when the P0 group and P2 group are used for multi-port sweep mode, port P15 cannot be used as an I/O
port. When setting the register above, port P15 cannot be used as an I/O port even if A/D conversion is halting.

Because a converter board and other devices are used between the evaluation MCU and the user system, the
A/D converter operates differently from an actual MCU. Make the final evaluation of the A/D converter using
an actual MCU.

Advertising