Renesas Electronics America Inc. © 2011 Renesas Electronics America Inc. All rights reserved. RX Direct Memory Access Controller (DMAC) Ver. 1.00.

Slides:



Advertisements
Similar presentations
Microprocessors.
Advertisements

6-1 I/O Methods I/O – Transfer of data between memory of the system and the I/O device Most devices operate asynchronously from the CPU Most methods involve.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
ARM 7 Datapath. Has “BIGEND” input bit, which defines whether the memory is big or little endian Modes: ARM7 supports six modes of operation: (1) User.
Renesas Electronics America Inc. © 2011 Renesas Electronics America Inc. All rights reserved. RX210 Multi-Function Pin Controller (MPC) Ver
NS Training Hardware. System Controller Module.
MPC 555 Memory Controller and Chip Select
9/20/6Lecture 21 -PIC Architecture1 PIC Architecture Programmers Model and Instruction Set.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the different.
© 2008, Renesas Technology America, Inc. All Rights Reserved The RCAN-ET peripheral and the CAN API SH2 & SH2A MCUs V 1.2 Mar 2010.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Purpose  This training course describes how to configure the the C/C++ compiler options.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose:  This training module provides a technical description of Renesas.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
DAT2343 Accessing Services Through Interrupts © Alan T. Pinck / Algonquin College; 2003.
M Semiconductor Products Sector Computer Operating Properly Module Detail Slide #1 of 7 Tutorial Introduction PURPOSE -To explain how to configure and.
MICROPROCESSOR INPUT/OUTPUT
Faculty of Computer Science © 2006 CMPUT 229 Input and Output Devices Pooling and Interrupts.
Spring EE 437 Lillevik 437s06-l8 University of Portland School of Engineering Advanced Computer Architecture Lecture 8 Project 3: memory agent Programmed.
Lecture 14 DMA Controller & Serial Communications Interface (UART)
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the SH-2 32-bit RISC.
DMA Versus Polling or Interrupt Driven I/O
Renesas Electronics America Inc. RX USB Peripheral The Renesas RX USB peripheral a.k.a. USBC_597IP_PP Ver
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the CPU architecture.
RX Voltage Detection Circuit (LVD) and Power-On Reset (POR)
Using Direct Memory Access to Improve Performance
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose This course provides an overview of the peripheral functions.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose This course provides an introduction to the peripheral functions.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This training course provides an overview of the CPU architecture.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose This module provides an overview of sophisticated peripheral.
Direct Memory Access (DMA) Microprocessors I -1. Topics to be discussed  Basic DMA Concept Basic DMA Concept  DMA pins and timing DMA pins and timing.
Renesas Electronics Corporation © 2010 Renesas Electronics America Inc. All rights reserved. RX 12 Bit Analog-to-Digital Converter A Rev /1/10.
Direct Memory Access Module MTT M DIRECT MEMORY ACCESS MODULE (DMA)
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the peripherals.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the analog interfaces.
Modes of transfer in computer
Lecture 12 Multi-Function Timer Pulse Unit 2 (MTU2a)
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Advanced Debugging on the RX600.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training module provides an overview of debugging features.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This course gives an overview of the Toolchain feature of the High.
1 ARM University Program Copyright © ARM Ltd 2013 Using Direct Memory Access to Improve Performance.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the Direct Memory.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L05I Advanced Debugging on the RX600 Fatih Peksenar.
RX Serial Peripheral Interface (RSPI)
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the serial communication.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course explains how to use section setting and memory.
Direct Memory Access (DMA). DMA Features  7 independently configurable channels  Software programmable priorities: Very high, High, Medium or Low. 
Renesas Electronics America Inc. © 2011 Renesas Electronics America Inc. All rights reserved. RX Bus State Controller (BSC) Ver
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
Renesas Electronics America Inc. RX Ethernet Peripheral © 2011 Renesas Electronics America Inc. All rights reserved A Rev /16/2011.
Renesas Electronics America Inc. © 2011 Renesas Electronics America Inc. All rights reserved. RX Interrupt Control Unit (ICU) Ver
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the Project Generator function.
Direct Memory Access (DMA) Department of Computer Engineering, M.S.P.V.L. Polytechnic College, Pavoorchatram. A Presentation On.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This training course provides additional details about the.
ASYNCHRONOUS DATA TRANSFER
MPC8360 Micro Controllers Lab 7 - DMA Fall , 2010.
RX Watchdog Timer (WDT)
RX Compare Match Timer (CMT)
RX Data Transfer Controller (DTC)
RX 8-Bit Timer (TMR) 4/20/2011 Rev. 1.00
DMA CONTROLLER WHOLE WORKING
8237 DMA CONTROLLER.
Chapter 13 DMA Programming.
CPE 323 Introduction to Embedded Computer Systems: DMA Controller
8237 DMA CONTROLLER.
Lecture 23.
Chapter 5 Input/Output Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved
Presentation transcript:

Renesas Electronics America Inc. © 2011 Renesas Electronics America Inc. All rights reserved. RX Direct Memory Access Controller (DMAC) Ver. 1.00

Course Introduction Purpose Provide details on the RX DMA Controller (DMAC) Content DMAC Overview Transfer Modes Register Set Overview DMAC Interrupts Learning Time 20 Minutes © 2011 Renesas Electronics America Inc. All rights reserved. 2

Direct Memory Access Controller (DMAC) © 2011 Renesas Electronics America Inc. All rights reserved. 3

DMAC Normal Transfer Mode One data per request (8/16/32-bit) DMSAR/DMDAR contain source & destination Increment/decrement/fixed/offset addition DMCRAL: Transfer counter, decremented each transfer Up to transfers (or free-running) Can generate interrupt at end of transfer (not in free-run) © 2011 Renesas Electronics America Inc. All rights reserved. 4 DMSARDMDAR Data 1 Data 2 Data 3 Data 4 Data 5 Transfer source data area Transfer destination data area Data 1 Data 2 Data 3 Data 4 Data 5

DMAC Repeat Transfer Mode One data per request (8/16/32-bit) DMSAR/DMDAR contain source & destination DMCRAH: Repeat area size (up to 1K) DMCRAL: Transfer count, decremented each transfer DMCRB: Block count, decremented after each repeat cycle Can generate interrupt at end of repeat or transfer © 2011 Renesas Electronics America Inc. All rights reserved. 5 DMSAR DMDAR Data 1 Data 2 Data 3 Data 4 Source areaDestination area Data 1 Data 2 Data 3 Data 4 Data 1 Data 2 Data 3 Data 4

DMAC Block Transfer Mode One block per request DMSAR/DMDAR contain source & destination (inc/dec/offset) DMCRAH: Block size (up to 1K) DMCRAL: Transfer count (copy of DMCRAH) DMCRB: Block count, decremented after each block xfer Can generate interrupt at end of block or transfer © 2011 Renesas Electronics America Inc. All rights reserved. 6 DMSAR DMDAR Source areaDestination area Block n First block Block Area

DMAC Registers Basic registers for all transfers Source & Destination Registers (DMSAR/DMDAR) Transfer Count Register (DMCRA) Block Counter Register (DMCRB) Mode & control registers Interrupt & status registers Registers from other RX subsystems Interrupt Control Unit (ICU) registers Peripheral registers © 2011 Renesas Electronics America Inc. All rights reserved. 7

DMAC Register Set © 2011 Renesas Electronics America Inc. All rights reserved. 8 SymbolRegister nameAccess sizeFunction DMSARDMA source address register32Address DMDARDMA destination address register32Address DMCRADMA transfer count register32Count DMCRBDMA block transfer count register16Count DMTMDDMA transfer mode register16Mode DMINTDMA interrupt setting register8Interrupt DMAMDDMA address mode register16Address DMOFR 1 DMA offset register32Address DMCNTDMA transfer enable register8Control/status DMREQDMA software start register8Control/status DMSTSDMA status register8Control/status DMCSLDMA activation source flag control register8Interrupt DMAST 2 DMA start register8Control/status Notes 1 Only on channel DMAC0 2 One register common to all channels

DMAC Source & Destination Address Registers 32-bit Source & Destination Addresses for Transfers Valid ranges (256 Mbytes each): 0x to 0x0FFF FFFF, 0xF to 0xFFFF FFFF DMAC Address Mode Register controls inc/dec/offset © 2011 Renesas Electronics America Inc. All rights reserved. 9 DMA Source Address Register (DMSAR) b31b16 b0b15 DMA Destination Address Register (DMDAR) b31b16 b0b15

DMAC Transfer Count Register (DMCRA) Normal mode: DMCRAL contains 16-bit counter Repeat & block xfer mode: DMCRAH contains repeat or block size DMCRAL contains repeat or block count (init to DMCRAH) © 2011 Renesas Electronics America Inc. All rights reserved. 10 Normal transfer mode: b31b16 b0b15 16-bit transfer counter b25b26 Repeat transfer mode; block transfer mode b31b16 b0b15 b25b26 Repeat/block size Repeat/block count b9

DMAC Block Transfer Count Register (DMCRB) Normal mode: Not used Repeat & block xfer mode: Number of repeat/block transfers 0x001 to 0x3FF (1 to 1023) 0x000 (1024) © 2011 Renesas Electronics America Inc. All rights reserved. 11 Repeat transfer mode; block transfer mode b15b0b9b10 # of repeats/blocks

DMAC Interrupts Interrupts to start DMAC transfer ICU: DMACA Activation Source Select Registers (DMRSR0-3) Install the vector number of the interrupt source Not all sources can trigger DMAC Interrupts generated by DMAC At each transfer At each repeat/block completion At end of all transfers Controlled by DMINT register © 2011 Renesas Electronics America Inc. All rights reserved. 12 b0 DMRS[7:0] b7 DMRSRn (n=0-3)

Summary DMAC Overview Transfer Modes Normal Repeat Transfer Register Set DMAC Interrupts Into DMAC to start transfers Out of DMAC to indicate status Thank you! © 2011 Renesas Electronics America Inc. All rights reserved. 13

Renesas Electronics America Inc. Thank You © 2011 Renesas Electronics America Inc. All rights reserved.