Notes On A/D Conversion - Renesas R0E3308B0EPB00 User Manual

Table of Contents

Advertisement

R0E3308B0EPB00 User's Manual

Notes on A/D Conversion:

When selecting the MCU file "m308b0_ad.mcu" in the Init dialog box of the emulator debugger to execute the
A/D conversion debug, note the following.
• When using the analog input port selection function, and if you select AN00 to AN07 or AN20 to AN27 for the
register below, 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". Furthermore, set the SW5 switches of the R0E3308B0EPBM0 for the pins used for the A/D
conversion to ON and the pins not used to OFF by each individual pin.
A/D0 control register 2 (address 394h)
b2,
1,
1,
Also, when the P0 and P2 groups 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.
For the switch SW5, refer to "2.10.1 Setting Switches of Emulation Probe" (page 35).
• 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,
1,
1,
Also, when the P0 and P2 groups 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.
R20UT0210EJ0200 Rev.2.00
Sep 16, 2010
IMPORTANT
b1
0
: AN00 to AN07
1
: AN20 to AN27
b2
0
: AN0 to AN7, AN00 to AN07
1
: AN0 to AN7, AN20 to AN27
4. Hardware Specifications
Page 87 of 98

Advertisement

Table of Contents
loading

Table of Contents