Renesas SH7203 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Renesas SH7203, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Renesas SH7203 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Renesas SH7203. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Renesas SH7203 should contain:
- informations concerning technical data of Renesas SH7203
- name of the manufacturer and a year of construction of the Renesas SH7203 item
- rules of operation, control and maintenance of the Renesas SH7203 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Renesas SH7203 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Renesas SH7203, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Renesas service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Renesas SH7203.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Renesas SH7203 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    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. Target Device SH7263/SH[...]

  • Page 2

    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 from external me mory to the transmit FIFO data register (SCFTDR) in the serial communication interface with FI FO (SCIF c hannel 0) in order to tra [...]

  • Page 3

    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. 2.1 Operational Overvi ew of Modules Used When a[...]

  • Page 4

    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, TEND1 DEIn RDMATCR_n RSAR_n RDAR_n On-chip memory On-chip peripheral module DMA transfer request signal DMA transfer acknowledge signal Interrupt co[...]

  • Page 5

    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. On-c hip peri pheral m odule req[...]

  • Page 6

    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 data empty tran sfer requests are m ade to activate DMAC c hannel 1, and t o transfer data from external memory to the transmit FIFO da ta register (SCF[...]

  • Page 7

    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 string data stored in external memory are transferre d by DMA to the transmit FIFO data register (SCFTDR) o n SCIF chan nel 0, and the n are transm it[...]

  • Page 8

    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 Value Description DMA_SIZE_BYTE H'0000 Byte transfer DMA_SIZE_WORD H'0001 Word transfer DMA_SIZE_LONG H'0002 Longword transfer DMA_SIZE_LO[...]

  • Page 9

    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.c" ( 1) 1 /*""FILE COMMENT""************************************************************** 2 * 3 * System Name : SH7203 Sample Program 4 * File N[...]

  • Page 10

    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.c" (2) 54 /* ---- Values for baud rate specification ---- */ 55 enum{ 56 CBR_1200, 57 CBR_2400, 58 CBR_4800, 59 CBR_9600, 60 CBR_19200, 61 CBR_31250, 62 CBR_38400, 63 CBR_57600, 64 C[...]

  • Page 11

    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.2Kbps */ 111 /* TXI int[...]

  • Page 12

    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.RSAR1.[...]

  • Page 13

    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.c" ( 5) 217 bit6 : DS : DREQ select :0 Low level Unused 218 bit5 : TB : cycle :0--------------- Cycle-stealing mode 219 bit4-3 : TS : transfer size:B'00--- Byte transfer 220 bit[...]

  • Page 14

    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.c" (7) 272 * Function : Initializes SCIF0 273 * : Asynchronous (UART)/ 8 bits/ No parity/ 1 stop bit/ RTS/CTS disabled 274 * : Baud rate is specified by argument bps 275 * : 276 *---[...]

  • Page 15

    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. • Hardware Manual SH7203 Group Hardw are Manua[...]

  • Page 16

    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. Date Page Summary 1.00 Apr.17.08 — First edition issued All tr[...]

  • Page 17

    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. Renesas neither makes warranties or representations with respect to the accuracy or [...]