Instruction/ maintenance manual of the product REJ06B0732-0100 Renesas
Go to page of 13
APPLICATION NOTE REJ06B0732-0100/Rev.1.00 March 2008 Page 1 of 13 SH7211 Group Data Transfer between On-chip RAM Ar eas with DMAC (Cycle-Stealing Mode) Introduction This applicat ion note desc ribes the operation of the DMAC, and is inte nded for refe rence t o help in the d esign of user software.
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 2 of 13 1. Introduction 1.1 Specification • DMAC cha nnel 0 is used. • Auto-request mode is used as the interrupt source for activating DMA transfer.
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 3 of 13 2. Description of Sample Application In this sample application.
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 4 of 13 DREQ Bus mastership returned to CPU once Bus cycle Write Read W.
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 5 of 13 DMATCR_n SAR_n CHCR_n DAR_n DMAOR DMARS0 to DMARS3 HEIn DACK0 t.
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 6 of 13 2.2 Operational Description of Sample Program The settings of the DMAC for the sample program are listed in table 4.
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 7 of 13 2.3 Procedure for Setting Modules This section describes the procedure for making initial settings when the DMAC is to be used to transfer data between locations within the on-chip RAM.
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 8 of 13 DMAC_init END [3] [4] [5] [6] [1] [2] [1] Disable DMA transfer .
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 9 of 13 2.4 Register Settings for Sample Program 2.4.1 Clock Pulse Generator (CPG) The settings of the clock pulse generator for the sample program are described in table 5.
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 10 of 13 2.4.3 Direct Memory Access Controller (DMAC) The settings of DMAC registers for the sa mple program are described in table 7.
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 11 of 13 3. Documents for Reference • Software Manual SH-2A, SH2 A-FPU Softwa re Manual The most up-t o-date versi on of this document i s available o n the Renesa s Technology Website.
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 12 of 13 Website and Support Renesas Technolo gy Website http://www.renesas.com/ Inquiries http://www.renesas.com/inquiry csc@renesas.
SH7211 Group Data Transfer between On-chi p RA M Areas with DMAC (Cycle-Stealing M ode) REJ06B0732-0100/Rev.1.00 March 2008 Page 13 of 13 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use.
An important point after buying a device Renesas REJ06B0732-0100 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Renesas REJ06B0732-0100 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Renesas REJ06B0732-0100 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Renesas REJ06B0732-0100 you will learn all the available features of the product, as well as information on its operation. The information that you get Renesas REJ06B0732-0100 will certainly help you make a decision on the purchase.
If you already are a holder of Renesas REJ06B0732-0100, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Renesas REJ06B0732-0100.
However, one of the most important roles played by the user manual is to help in solving problems with Renesas REJ06B0732-0100. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Renesas REJ06B0732-0100 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center