Notes On A-D Input Selection Function; Note On Dma Transfer; Note On Address Match Interrupt; Note On Protect Resistor - Renesas Emulation Pod for M16C/80 Group MCUs M30803T-RPD-E User Manual

Emulation pod for m16c/80 group mcus
Table of Contents

Advertisement

Notes on A-D Input Selection Function:

• To use A-D input group selection, it is necessary to set the direction register of port P10 to input.
Port 10 corresponds to the pin that performs A-D conversion.
Example: To select A-D input for P00-P07, set the direction register of P100-P107 and P00-P07
Also, when the port P0 group and port P2 group are selected for A-D input, port P10 cannot be used
as an I/O port.
• Because a flexible board and other elements exist between the evaluation MCU and target system,
the A-D converter operates differently than the actual MCU. Perform final evaluations of the A-
D converter with the actual MCU.

Note on DMA Transfer:

• With this product, the program is stopped with a loop program to a specific address. Therefore, if
a DMA request is generated by a timer or other source while the program is stopped, DMA transfer
is executed. However, make note of the fact that DMA transfer while the program is stopped may
not be performed correctly. Also note that the below registers have been changed to generate DMA
transfer as explained here even when the program is stopped.

Note on Address Match Interrupt:

• To debug with the address match interrupt, set the S/W and H/W breaks in the top address used in
address match interrupt processing.

Note on Protect Resistor:

• Make note of the fact that the protect is not canceled when protect register 3 (PRC2), which enables
writing in the port P9 direction register and the pin output function select register, is changed with
the below procedure.
(1) Step execution of the "instruction for setting ("1") PRC2"
(2) Setting the break point from the "instruction for setting ("1") PRC2" to when the "port P9
(3) Setting "("1") PRC2" from the dump window or script window during user program execution
IMPORTANT
to input.
DMA2 transfer counter register DCT2 (R0)
DMA3 transfer counter register DCT3 (R1)
DMA2 memory address register DMA2 (A0)
DMA3 memory address register DMA3 (A1)
direction register or pin output function select register 3 is set"
( 15 / 74 )

Advertisement

Table of Contents
loading

Table of Contents