The Data Transfer Controller – A Flexible Way to Transfer Data
This blog follows on from the blog looking at some of the more unique peripheRAls available in the RA microcontroller family, in the last blog we looked at the Data Operating Circuit (DOC), a unique peripheral that provides a simple processing element that can be used to make basic decisions without CPU intervention.
In this blog, we’ll look at the Data Transfer Controller (DTC), a peripheral that has been designed to provide a simple, but extremely flexible mechanism to transfer data between a peripheral and memory or memory and a peripheral. In the next blog, we will see how we can combine the DOC and the DTC to create a complete intelligent subsystem that can operate without any CPU intervention. A Data Transfer Controller can be found on all the members of the RA microcontroller family.
The DTC uses a simple programmable controller to make data transfers between memory and peripherals, and vice versa, rather than using a large, dedicated hardware block for this task, such as is used by the Direct Memory Access Controller (DMAC). This programmability provides us with a much higher level of flexibility in its operation compared to using a DMAC.
On the RA family, an event (or interrupt), triggered by the CPU, by a peripheral on the device, or by an external pin can all generate a number of actions on the device. You can see a simplified diagram of the interrupt controller below, here you can see an event can trigger a number of actions, a traditional interrupt, that changes the direction of the application, a DMAC transfer, or a DTC transfer, it’s also possible to trigger more than one of these from a single event. You can also see an additional type of action can be created, using our Event Link controller, which allows us to directly connect peripherals together, which we will discuss in a future blog.
So, let's look at the DTC in detail.
The main advantage of this programmability is that it holds all the required set-up information for the transfer not in a fixed set of on-chip registers like in a DMA controller, but in a small block of on-chip SRAM. This means that the DTC controller can be used not just to create one or two channels of data transfer, but 10 or 20, or even more if required. The only requirement is that for each channel that you define, you require a small block of SRAM dedicated to holding that specific channel configuration information. The main disadvantage of this mechanism is that for each transfer a few cycles must be taken to read the configuration data held in the SRAM before each transfer takes place, so generally, the DTC transfer is slower than a DMA transfer.
The DTC can transfer 1 byte or more than one byte, between a peripheral and memory or memory and peripheral up to 256 times. The source and destination address for the transfer can be the same address, or it can be incremented or decremented independently, so creating a buffer structure in memory.
At the end of the transfer, the DTC can generate an interrupt, to tell the CPU the data is ready, or it can trigger a second DTC transfer. This can be used to chain several transfers together and is what we call, funnily enough, chain mode. This chain mode can be especially useful if the movement of multiple pieces of data between peripherals and memory is required. Chain mode is particularly interesting when used with the DOC we discussed previously, as this means that multiple transfers from various locations in memory and or peripheral can be triggered by one interrupt source. For instance, this means that with one interrupt, such as the ADC interrupt, we can cause comparison data to be loaded into the DOC, and by chaining a second transfer, we can load the DOC with the data from the ADC to be compared, all completely automatically, with any CPU involvement. This ability for one interrupt to generate a complex sequence of different transfers is extremely powerful, not only when used with the DOC. Some of the different operating modes of the DTC are shown in the figure below.
The DTC can also be placed into repeat mode, where it will repeat the transfer an additional number of times. For most applications the flexibility of the DTC provides a perfect comprise, between speed, flexibility, and of the course device cost. You can create automated transfers between any peripheral and memory almost without limit.
The Data Transfer Controller provides an ideal method for automating the transfer of data between peripherals and memory, without any CPU intervention. The use of the DTC in chain mode when transferring data to the DOC, provides us with the ability to make simple tests on many pieces of data without any CPU intervention, so providing the chip itself with the ability to make simple decisions.
Hopefully, you can see how the DTC can be much more flexible than the traditional DMAC, if you need the highest data transfer speeds, the DMSAC is still the most appropriate method and almost all the RA microcontrollers include a number of DMAC channels, but for flexibility, and the way you can manage data the DTC wins hands down for flexibility, and you can create many channels, only limited by the available SRAM on the device.
- |
- +1 赞 0
- 收藏
- 评论 0
本文由翊翊所思转载自Renesas News,原文标题为:The Data Transfer Controller – a flexible way to transfer data,本站所有转载文章系出于传递更多信息之目的,且明确注明来源,不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。
相关推荐
RH850/U2A SERIES MICROCONTROLLER INTRODUCTION
型号- RH850/U2X,RH850/X1X,RH850/X2X,F1KH,U2A3,U2A16,F1KM,RH850/P1M-C,RH850/P1M-E,RH850/U2A8,RH850/E2X,RH850/P1M,RH850/P1L-C,RH850/U2A16,RH850/U2A6,U2A8,U2A6,RH850/U2A3,RH850/P1H-C,RH850G4MH,RH850,RH850/U2A,RH850/E1M-S2,F1H
RH850 Family Renesas microcontroller User's Manual: Hardware
型号- R7F7016124AFD,R7F7016124AFE,R7F7016203AFP-C,RH850/F1K,R7F7016233AFD,R7F7016233AFE,R7F7015423AFD,R7F7015664AFE,R7F7016204AFE,R7F7015423AFE,R7F7016204AFD,R7F7015664AFD,R7F7015773AFE,R7F7015773AFD,R7F7015423AFP-C,R7F7015623AFP-C,R7F7016234AFP-C,R7F7015823AFP-C,R7F7016034AFP-C,R7F7015864AFE,R7F7015434AFD,R7F7015973AFD,R7F7015434AFE,R7F7015973AFE,R7F7015864AFD,R7F7016033AFE,R7F7016033AFD,R7F7016863AFP-C,R7F7016463AFP-C,R7F7016453AFP-C,R7F7015664AFP-C,R7F7015633AFP-C,R7F7015624AFE,R7F7015624AFD,R7F7016463AFE,R7F7016463AFD,R7F7015573AFE,R7F7015823AFE,R7F7015573AFD,R7F7015823AFD,R7F7015873AFP-C,R7F7015473AFP-C,R7F7016864AFD,R7F7016864AFE,R7F7016853AFP-C,R7F7016024AFP-C,R7F7015604AFP-C,R7F7015474AFE,R7F7016123AFE,R7F7015474AFD,R7F7016123AFD,R7F7015774AFD,R7F7016853AFD,R7F7016853AFE,R7F7015774AFE,R7F7015463AFD,R7F7015463AFE,R7F7016213AFP-C,R7F7015863AFE,R7F7015863AFD,R7F7015433AFE,R7F7015834AFD,R7F7015433AFD,R7F7015834AFE,R7F7016473AFP-C,R7F7015614AFP-C,R7F7015574AFP-C,R7F7016234AFD,R7F7016473AFD,R7F7016473AFE,R7F7016234AFE,R7F7015604AFE,R7F7015604AFD,R7F7016114AFD,R7F7016223AFE,R7F7016114AFE,R7F7015874AFD,R7F7015874AFE,R7F7016223AFD,R7F7015813AFE,R7F7016214AFP-C,R7F7015864AFP-C,R7F7015813AFD,R7F7015974AFE,R7F7015473AFE,R7F7015974AFD,R7F7015473AFD,R7F7016113AFD,R7F7016483AFP-C,R7F7016113AFE,R7F7016023AFP-C,R7F7015673AFP-C,R7F7015634AFP-C,R7F7016224AFP-C,R7F7015824AFE,R7F7015433AFP-C,R7F7015824AFD,F7016123AFP-C,R7F7016863AFE,R7F7015874AFP-C,R7F7016863AFD,R7F7015663AFP-C,R7F7016103AFP-C,R7F7016864AFP-C,R7F7015603AFE,R7F7015603AFD,R7F7016233AFP-C,R7F7015873AFE,R7F7016843AFD,R7F7015873AFD,R7F7016224AFE,R7F7016224AFD,R7F7016134AFP-C,R7F7016843AFE,R7F7015424AFP-C,R7F7016213AFD,R7F7015833AFD,R7F7016104AFD,R7F7016213AFE,R7F7016104AFE,R7F7015833AFE,R7F7015624AFP-C,R7F7016204AFP-C,R7F7016483AFE,R7F7016033AFP-C,R7F7016483AFD,R7F7015824AFP-C,R7F7015614AFD,R7F7015614AFE,R7F7016493AFP-C,R7F7015673AFD,R7F7015673AFE,R7F7016103AFE,R7F7016103AFD,R7F7016443AFD,R7F7016443AFE,R7F7015803AFP-C,RH850 FAMILY,R7F7015573AFP-C,R7F7016223AFP-C,R7F7015973AFP-C,R7F7015434AFP-C,R7F7015834AFP-C,R7F7015674AFP-C,R7F7016443AFP-C,R7F7015814AFE,R7F7015814AFD,R7F7016843AFP-C,RH850/F1KM,R7F7015633AFE,R7F7015803AFE,R7F7015803AFD,R7F7015863AFP-C,R7F7016024AFE,R7F7016024AFD,R7F7015463AFP-C,R7F7015633AFD,R7F7016214AFE,R7F7016214AFD,R7F7016034AFD,R7F7016034AFE,R7F7015814AFP-C,R7F7016493AFE,R7F7016493AFD,R7F7016134AFD,R7F7015674AFD,R7F7016134AFE,R7F7015674AFE,R7F7015613AFE,R7F7015613AFD,R7F7016124AFP-C,R7F7010XXXAFD,R7F7010XXXAFE,R7F7015424AFD,R7F7015424AFE,R7F7015663AFD,R7F7015663AFE,R7F7016203AFD,R7F7016203AFE,R7F7015574AFD,R7F7016844AFD,R7F7016844AFE,R7F7015813AFP-C,R7F7015613AFP-C,R7F7015574AFE,R7F7015774AFP-C,R7F7015974AFP-C,R7F7016113AFP-C,R7F7016854AFD,R7F7016114AFP-C,R7F7015833AFP-C,R7F7015603AFP-C,R7F7015464AFP-C,R7F7016844AFP-C,R7F7016854AFE,R7F7015464AFD,R7F7015464AFE,R7F7015804AFE,R7F7015804AFD,R7F7015773AFP-C,R7F7016453AFD,R7F7016023AFE,R7F7016453AFE,R7F7016023AFD,R7F7015634AFD,R7F7015634AFE,R7F7016854AFP-C,R7F7015474AFP-C,R7F7015804AFP-C,R7F7016104AFP-C,R7F7015623AFE,R7F7015623AFD,R7F7016133AFP-C,R7F7016133AFE,R7F7016133AFD
RA FAMILY ENTRY LINE RA2E2 MICROCONTROLLER INTRODUCTION
型号- FPB-RA2E2,RA2E2,RA2,EK-RA2E2,RA2 SERIES,RA FAMILY
RA6M3 Group: Evaluation Kit for RA6M3 Microcontroller Group EK-RA6M3 v1 Errata
型号- RA6 SERIES,EK-RA6M3,RA6,RA FAMILY,RA6M3 GROUP,RA6M3
V850ES/Fx3 32-bit Single-Chip Microcontroller
型号- UPD70F3376AM2GCA1-UEU-AX,UPD70F3379M2GJA-GAE-AX,UPD70F3372M2GKA-GAK-AX,UPD70F3380M1GJA-GAE-AX,UPD70F3382M2GJA2-GAE-AX,UPD70F3383M1GMA-GAR-AX,UPD70F3384M1GMA-GAR-AX,UPD70F3373M2GKA-GAK-AX,UPD70F3372M1GKA1-GAK-AX,UPD70F3372M1GKA2-GAK-AX,UPD70F3385M1GMA-GAR-AX,UPD70F3379M2GJA1-GAE-AX,UPD70F3383M2GMA2-GAR-AX,UPD70F3382M2GJA1-GAE-AX,UPD70F3383M2GMA1-GAR-AX,UPD70F3379M2GJA2-GAE-AX,UPD70F3381M1GJA-GAE-AX,UPD70F3378M2GJA-GAE-AX,UPD70F3382M1GJA-GAE-AX,UPD70F3373M1GKA-GAK-AX,UPD70F3380M1GJA2-GAE-AX,UPD70F3384M1GMA2-GAR-AX,UPD70F3375M1GCA1-UEU-AX,UPD70F3385M1GMA2-GAR-AX,UPD70F3382M2GJA-GAE-AX,ΜPD70F3376A,UPD70F3378M1GJA-GAE-AX,UPD70F3380M2GJA-GAE-AX,UPD70F3381M2GJA-GAE-AX,UPD70F3379M1GJA-GAE-AX,UPD70F3373M1GKA2-GAK-AX,UPD70F3379M1GJA2-GAE-AX,V850ES/FX3,UPD70F3373M1GKA1-GAK-AX,UPD70F3374M1GCA)-UEU-AX,ΜPD70F3371,UPD70F3370AM1GBA2-GAH-AX,UPD70F3371M2GBA2-GAH-AX,UPD70F3374M2GCA1-UEU-AX,UPD70F3376AM1GCA1-UEU-AX,UPD70F3376AM1GCA2-UEU-AX,ΜPD70F3377A,UPD70F3378M2GJA1-GAE-AX,ΜPD70F3378,ΜPD70F3379,UPD70F3372M1GKA-GAK-AX,V850ES/FF3,UPD70F3384M2GMA1-GAR-AX,UPD70F3384M2GMA2-GAR-AX,ΜPD70F3374,UPD70F3377AM1GCA-UEU-AX,ΜPD70F3375,ΜPD70F3372,ΜPD70F3373,UPD70F3374M1GCA1)-UEU-AX,UPD70F3382M1GJA1-GAE-AX,UPD70F3371M1GBA2-GAH-AX,UPD70F3377AM2GCA2-UEU-AX,UPD70F3380M1GJA1-GAE-AX,UPD70F3384M1GMA1-GAR-AX,UPD70F3375M1GCA2-UEU-AX,ΜPD70F3381,ΜPD70F3382,UPD70F3376AM2GCA-UEU-AX,ΜPD70F3380,UPD70F3377AM1GCA2-UEU-AX,ΜPD70F3370A,V850ES/FG3,ΜPD70F3385,UPD70F3376AM2GCA2-UEU-AX,ΜPD70F3383,ΜPD70F3384,V850 FAMILY,UPD70F3378M1GJA1-GAE-AX,UPD70F3378M1GJA2-GAE-AX,UPD70F3375M1GCA-UEU-AX,UPD70F3375M2GCA2-UEU-AX,UPD70F3373M2GKA1-GAK-AX,UPD70F3373M2GKA2-GAK-AX,UPD70F3383M1GMA1-GAR-AX,UPD70F3385M2GMA2-GAR-AX,UPD70F3380M2GJA1-GAE-AX,V850,UPD70F3380M2GJA2-GAE-AX,UPD70F3385M2GMA1-GAR-AX,UPD70F3375M2GCA1-UEU-AX,UPD70F3376AM1GCA-UEU-AX,V850ES/FE3,UPD70F3370AM2GBA-GAH-AX,UPD70F3371M1GBA1-GAH-AX,UPD70F3375M2GCA-UEU-AX,UPD70F3377AM2GCA1-UEU-AX,UPD70F3382M1GJA2-GAE-AX,UPD70F3381M1GJA2-GAE-AX,UPD70F3383M1GMA2-GAR-AX,UPD70F3374M2GCA-UEU-AX,UPD70F3377AM1GCA1-UEU-AX,UPD70F3371M2GBA-GAH-AX,UPD70F3370AM2GBA2-GAH-AX,UPD70F3379M1GJA1-GAE-AX,V850ES,UPD70F3370AM1GBA1-GAH-AX,UPD70F3372M2GKA1-GAK-AX,UPD70F3371M2GBA1-GAH-AX,UPD70F3374M2GCA2-UEU-AX,UPD70F3378M2GJA2-GAE-AX,UPD70F3381M2GJA1-GAE-AX,UPD70F3381M2GJA2-GAE-AX,UPD70F3372M2GKA2-GAK-AX,V850ES/FJ3,UPD70F3370AM2GBA1-GAH-AX,UPD70F3374M1GCA2-UEU-AX,V850ES/FX3 SERIES,UPD70F3381M1GJA1-GAE-AX,UPD70F3371M1GBA-GAH-AX,UPD70F3385M1GMA1-GAR-AX,UPD70F3377AM2GCA-UEU-AX,UPD70F3384M2GMA-GAR-AX,UPD70F3383M2GMA-GAR-AX,UPD70F3385M2GMA-GAR-AX,UPD70F3370AM1GBA-GAH-AX,V850ES/FK3
Recommending the H8S Family Microcontroller IP to Users Looking For H8/3048-like IP
It might be assumed that Renesas should promote the H8/3048F IP as the main 16-bit microcontroller product of the family. However, Renesas decided to promote the H8S as the main IP for several reasons.
原厂动态 发布时间 : 2022-11-16
Making a Renesas RA microcontroller Time Check with the Clock Frequency Accuracy Measurement Circuit
In this blog, Renesas introduced another more unusual and less understood peripherals available in the RA microcontroller family, the Clock Frequency Accuracy Measurement Circuit or CAC.
设计经验 发布时间 : 2023-03-01
Using ECC to Correct Soft Errors on the RA Family Microcontroller
This article specifically likes to look at the error correction function available to use on the RA SRAM to detect and, in many cases, correct soft errors, as this has been a topic of discussion for a number of customers recently.
设计经验 发布时间 : 2023-06-29
Renesas(瑞萨)通用微控制器/微处理器阵容选型指南
目录- Company and product introduction RZ Family Microcontroller RX family Microcontroller RL78 family Microcontroller Microcontroller Development Environments Microcontroller Development Tool
型号- RX200,RL78 FAMILY,RZ FAMILY,RX100,RX FAMILY,RX600,RX700,RL78
SH7214/SH7216 to RX72M Microcontroller Migration Guide APPLICATION NOTE
型号- RX72M,SH7214,SH7216,RX72M GROUP
电子商城
品牌:EPSON
品类:32-bit Single Chip Microcontroller
价格:¥35.1261
现货: 4,800
现货市场
登录 | 立即注册
提交评论