Notes On A-D Input Selection Function; Note On Dma Transfer; Note On Dmac Ii Transfer Completion Interrupts; Note On Address Match Interrupt - Renesas M30830T-RPD-E User Manual

Emulation pod for m32c/81, 82, 83 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 P15 to input.
Port P15 corresponds to the pin that performs A-D conversion.
Example: To select A-D input for P00-P07, set the direction register of P150-P157 and P00-P07
Also, when the port P0 group and port P2 group are selected for A-D input, port P15 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 DMAC II Transfer Completion Interrupts:

• You can use DMAC II transfer completion interrupts during program execution only. Do not generate
DMAC II transfer completion interrupts when you use any function but program execution.

Note on Address Match Interrupt:

• To debug with the address match interrupt, set the software and hardware breaks in the top address
used in address match interrupt processing.
• Do not single-step an address where an address-match interrupt occurs.

Note on Protect Register:

• 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.
DMA0 transfer counter register DCT0
DMA1 transfer counter register DCT1
DMA0 memory address register DMA0
DMA1 memory address register DMA1
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