Renesas M30850T-EPB Switch User Manual


 
( 18 / 76 )
Note on Applicable MCUs:
The M30850T-EPB supports M32C/80, 84, 85 and 85 Group MCUs. As the ROM and RAM sizes
and peripheral functions depend on a target MCU, refer to each hardware manual of the MCU to
develop your system.
IMPORTANT
Notes on A-D Conversion:
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, 0 : 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.
For the switch SW5, refer to "3.5 Setting Switches" (page 31).
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, 0 : 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 target
system, the A-D converter operates differently from an actual MCU. Make the final evaluation of
the A-D converter using an actual MCU.
Note on Final Evaluation:
Be sure to evaluate your system with an MCU for evaluation purposes. Before starting mask
production, evaluate your system and make final confirmation with a CS (Commercial Sample)
version MCU.
Note on Protect Resistor:
•A protect is not canceled when protect register bit 2 (PRC2), which enables writing in the port P9
direction register and the function select register A3, is changed with the below procedure.
(1) Step execution of an instruction setting ("1") PRC2
(2) Setting a break point from an instruction setting ("1") PRC2 to where the port P9 direction
register or the function select register A3 is set
(3) Setting ("1") PRC2 from the dump window or script window during user program execution