Instruction/ maintenance manual of the product REJ06B0734-0100 Renesas
Go to page of 17
APPLICATION NOTE REJ06B0734-0100/Rev.1.00 April 2008 Page 1 of 17 SH7263/SH7203 Group Data Transfer to On-chip P eripheral Modules with DMAC Introduction This applicat ion note p rovides an exam ple of tra nsferring d ata to on-chi p periphe ral modul es with the di rect m emory access controller (DMAC) of the SH7263/SH7203.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 2 of 17 1. Introduction 1.1 Specification • DMAC channel 1 is used to transfer data.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 3 of 17 2. Description of Sample Application In this sampl e application, t he DMAC and on-chip pe ripheral m odule requ ests are used to transfer data from exte rnal memory to the SCIF.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 4 of 17 DMATCR_n SAR_n CHCR_n DAR_n DMAOR DMARS0 to DMARS3 HEIn DACK0 to DACK3, TEND0.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 5 of 17 2.2 Procedure for Setting Used Modules This section describes the procedure for making initial settings when the DMAC is to be used to transfer data from memory to o n-chip pe ripheral m odules.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 6 of 17 2.3 Operation of Sample Program In this sample program, SCIF transmit FIFO da.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 7 of 17 2.4 Processing Procedure of Sample Program In this sample program, character .
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 8 of 17 Table 3 Macro Definitions Used in Sample Program Macro Definition Setting Val.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 9 of 17 3. Sample Program 1. Sample Progra m Listi ng "main.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 10 of 17 2. Sample Pro gram Li sting "main.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 11 of 17 3. Sample Progra m Listi ng "main.c" ( 3) 107 /* ==== Enabling SCIF0 initialization/transfer ==== */ 108 io_init_scif0(CBR_115200); 109 /* Communication mode :UART mode */ 110 /* Bit rate :115.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 12 of 17 4. Sample Pro gram Li sting "main.c" (4) 161 /* ----Setting DMA source address register---- */ 162 DMAC.SAR1.LONG = (unsigned long)src; 163 164 /* ----Setting DMA reload source address register---- */ 165 DMAC.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 13 of 17 5. Sample Progra m Listi ng "main.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 14 of 17 6. Sample Pro gram Li sting "main.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 15 of 17 4. Documents for Reference • Software Manual SH-2A, SH2A -FPU Softwa re Manual The most up-t o-date versi on of this document i s available o n the Renesas Technology Website.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 16 of 17 Website and Support Renesas Technolo gy Website http://www.renesas.com/ Inquiries http://www.renesas.com/inquiry csc@renesas.com Revision Record Description Rev.
SH7263/SH7203 Group Data Transfer to On-chip Peripheral Modules with DMAC REJ06B0734-0100/Rev.1.00 April 2008 Page 17 of 17 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 REJ06B0734-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 REJ06B0734-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 REJ06B0734-0100 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Renesas REJ06B0734-0100 you will learn all the available features of the product, as well as information on its operation. The information that you get Renesas REJ06B0734-0100 will certainly help you make a decision on the purchase.
If you already are a holder of Renesas REJ06B0734-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 REJ06B0734-0100.
However, one of the most important roles played by the user manual is to help in solving problems with Renesas REJ06B0734-0100. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Renesas REJ06B0734-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