Renesas M30830T-EPB Switch User Manual


 
( 15 / 72 )
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
direction register or pin output function select register 3 is set
(3) Setting ("1") PRC2 from the dump window or script window during user program execution
IMPORTANT
Notes on A-D Input Selection Function:
To use A-D input group selection function, it is necessary to set the direction register of port P15
to input. Port 15 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
to input.
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 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 DMA Transfer:
With this product, the user 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 user 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 user program is stopped.
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)