![Mitsubishi 32172 User Manual Download Page 296](http://html1.mh-extra.com/html/mitsubishi/32172/32172_user-manual_1808662296.webp)
9
9-56
Rev.1.0
9.4 Precautions on Using DMAC
•
About writing to the DMA related registers
In DMA transfers, data are exchanged via the internal bus. Therefore, make sure the DMA related
registers basically are written to immediately after reset or when transfers are disabled (transfer
enable bit = 0). When transfers are enabled, do not write to the DMA related registers, except for
the DMA transfer enable bit, transfer request flag, and the DMA transfer count register that is
protected against write in hardware. This is necessary to ensure stable operation of DMA transfers.
The table below shows whether DMA related registers can be accessed for write.
Table 9.4.1 DMA Related Registers That Can Be and Cannot Be Accessed for Write
State
Transfer enable bit
Transfer request flag
Other DMA related registers
Transfers enabled
✕
Transfers disabled
: Can be accessed; 5: Cannot be accessed
Even for a few exceptional registers that can be accessed for write while transfers are enabled,
make sure the following conditions are met.
①
DMA Channel Control Register's transfer enable bit and transfer request flag
For all other bits of the channel control register, write the same data as they had before
writing. Note that for the transfer request flag, only writing 0 is effective.
➁
DMA Transfer Count Register
When transfers are enabled, this register is protected against write in hardware.
Therefore, the data written to this register is ignored.
➂
Rewriting the source and destination addresses of DMA on other channels by a DMA
transfer
Although this means accessing the DMA related registers while transfers are enabled, it
may not cause any problem. However, a DMA transfer to any DMA related registers on
the current channel cannot be performed.
DMAC
9.4 Precautions on Using DMAC
Summary of Contents for 32172
Page 20: ... This is a blank page 16 ...
Page 21: ...1 1 Overview 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Layout CHAPTER 1 CHAPTER 1 OVERVIEW ...
Page 44: ...1 1 24 Rev 1 0 This is a blank page Overview 1 4 Pin Layout ...
Page 58: ...2 2 14 Rev 1 0 This is a blank page CPU 2 6 Data Formats ...
Page 122: ...4 4 26 Rev 1 0 This is a blank page EIT 4 13 Precautions on EIT ...
Page 200: ...7 7 6 Rev 1 0 This is a blank page RESET 7 4 Precautions to Be Taken Immediately after Reset ...
Page 298: ...9 9 58 Rev 1 0 This is a blank page DMAC 9 4 Precautions on Using DMAC ...
Page 776: ...19 19 10 Rev 1 0 RAM BACKUP MODE 19 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 782: ...20 20 6 Rev 1 0 OSCILLATION CIRCUIT 20 2 Clock Generator Circuit This is a blank page ...
Page 856: ...23 23 26 Rev 1 0 This is a blank page ELECTRICAL CHARACTERISTICS 23 6 AC Characteristics ...
Page 857: ...24 1 A D Conversion Characteristics CHAPTER 24 CHAPTER 24 STANDARD CHARACTERISTICS ...
Page 859: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 865: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...