欢迎访问ic37.com |
会员登录 免费注册
发布采购

M32180F8TFP 参数 Datasheet PDF下载

M32180F8TFP图片预览
型号: M32180F8TFP
PDF下载: 下载PDF文件 查看货源
内容描述: 32位RISC单芯片微型计算机M32R系列M32R / ECU系列 [32-Bit RISC Single-Chip Microcomputers M32R Family M32R/ECU Series]
分类和应用: 计算机
文件页数/大小: 839 页 / 3694 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号M32180F8TFP的Datasheet PDF文件第239页浏览型号M32180F8TFP的Datasheet PDF文件第240页浏览型号M32180F8TFP的Datasheet PDF文件第241页浏览型号M32180F8TFP的Datasheet PDF文件第242页浏览型号M32180F8TFP的Datasheet PDF文件第244页浏览型号M32180F8TFP的Datasheet PDF文件第245页浏览型号M32180F8TFP的Datasheet PDF文件第246页浏览型号M32180F8TFP的Datasheet PDF文件第247页  
DMAC  
9.4 Precautions about the DMAC  
9
9.4 Precautions about the DMAC  
• About writing to the DMAC related registers  
Because DMA transfer involves exchanging data via the internal bus, the DMAC related registers basically can  
only be accessed for write immediately after reset or when transfer is disabled (transfer enable bit = "0"). When  
transfer is enabled, do not write to the DMAC related registers, except the DMA transfer enable bit, the transfer  
request flag and the DMA Transfer Count Register that is protected in hardware. This is a precaution necessary  
to ensure stable DMA operation.  
The table below lists the registers that can or cannot be accessed for write.  
Table 9.4.1 DMAC Related Registers That Can or Cannot Be Accessed for Write  
Status  
Transfer enable bit  
Can be accessed  
Can be accessed  
Transfer request flag  
Can be accessed  
Can be accessed  
Other DMAC related registers  
Cannot be accessed  
Can be accessed  
Transfer enabled  
Transfer disabled  
Even for registers that can exceptionally be written to while transfer is enabled, the following conditions must be  
observed:  
(1) DMA Channel Control Register 0 transfer enable bit and transfer request flag  
For all other bits in this register, be sure to write the same data that those bits had before the write. Note,  
however, that only writing "0" is effective for the transfer request flag.  
(2) DMA Transfer Count Register  
When transfer is enabled, this register is protected in hardware, so that any data rewritten to it is ignored.  
(3) Rewriting the DMA source and DMA destination addresses on different channels by DMA transfer  
Although this operation means accessing the DMAC related registers while DMA is enabled, there is no  
problem. Note, however, that no data can be transferred by DMA to the DMAC related registers on the  
currently active channel itself.  
• Manipulating the DMAC related registers by DMA transfer  
When manipulating the DMAC related registers by means of DMA transfer (e.g., reloading the DMAC related  
registers with the initial values by DMA transfer), do not write to the DMAC related registers on the currently  
active channel through that channel. (If this precaution is neglected, device operation cannot be guaranteed.)  
It is only the DMAC related registers on other channels that can be rewritten by means of DMA transfer. (For  
example, the DMAn Source Address and DMAn Destination Address Registers on channel 1 can be rewritten by  
DMA transfer through channel 0.)  
• About the DMA Interrupt Request Status Register  
When clearing the DMA Interrupt Request Status Register, be sure to write "1" to all bits, except those to be  
cleared. Writing "1" to any bits in this register has no effect, so that they retain the data they had before the write.  
• About the stable operation of DMA transfer  
To ensure the stable operation of DMA transfer, never rewrite the DMAC related registers, except the channel  
control register’s transfer enable bit, unless transfer is disabled. One exception is that even when transfer is  
enabled, the DMA Source Address and DMA Destination Address Registers can be rewritten by DMA transfer  
from one channel to another.  
32180 Group User’s Manual (Rev.1.0)  
9-38  
 复制成功!