Renesas EDK3687 manual

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

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Renesas EDK3687, 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 EDK3687 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 EDK3687. 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 EDK3687 should contain:
- informations concerning technical data of Renesas EDK3687
- name of the manufacturer and a year of construction of the Renesas EDK3687 item
- rules of operation, control and maintenance of the Renesas EDK3687 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 EDK3687 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 EDK3687, 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 EDK3687.

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 EDK3687 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

    EDK3687 U SER M ANUAL F OR H8/3687 O N - CHIP FLASH M ICROCONTROLLER[...]

  • Page 2

    Preface Cautions 1. This document may be, wholly or partially, subject to change without notice. 2. All rights reserved. No one is permitted to reproduc e or duplicate, in any form, a part or this entire document without Renesas Technology Europe Limited's written permission. Trademarks General All brand or product names used in this manual ar[...]

  • Page 3

    1. T ABLE OF C ONTENTS 1. T ABLE OF C ONTENTS ............................................................................................................................................. 3 2. S TART - UP I NSTRUCTIONS ...................................................................................................................................[...]

  • Page 4

    2. S T ART - UP I NSTRUCTIONS 2.1. I NSTALLING THE E VALUATION D EVELOPMENT K IT (EDK) Please refer to the quick start guide provided for initial installation of the EDK. A copy of the quick start guide and other information relating to this EDK at: http://www.eu.renesas.com/tools Installing the EDK requires power and serial connection to a host co[...]

  • Page 5

    3. EDK B OARD L AY O U T The diagram shows a general layout of the EDK board. 9-W ay D-Type Power RESET Switch NMI Switch User1 LED User2 LED Power LED FLASH Programm ing CJ4 5V UVcc GND RESn FW NMIn ULED1 ULED2 PSCK PTXD PRXD RX232 TX232 CTS RTS Microprocessor LIN I2C J1 J2 XTAL OSC Testpoints SPI DEBUG LIN I2C F IGURE 3-1: EDK B OARD L AYOUT 3.1.[...]

  • Page 6

    4. EDK O PERA TION 4.1. USER INTERFACE The EDK provides two buttons for influencing the operation of the board. The purpose of each b utton is clearly marked next to it. Refer to the board layout for positions (Section 3) 1. Reset Switch This button provides the microcontroller with a reset pulse utilizing the built in power on reset control of the[...]

  • Page 7

    4.2.2. C RYSTAL C HOICE The operating crystal frequency has been chosen to support the fa stest operation with the fastest serial operating speeds. The value of the crystal is 18.432MHz. The following table shows the baud rates and Baud Rate Register (BRR) setting required for each communication rate using the above default operating speed. It also[...]

  • Page 8

    4.4. I2C EEPROM The board has been tested with an Atmel AT24C04AN- 10SI-2.7 I2C EEPROM device (Not supplied). The device is configured to connect to dedicated I2C pins on Ports P56 and P57. 4.5. LIN I NTERFACE The board has been tested with an Philips TJA1020TD device (Not supplied). The device should be connected to P71 and P72 using 0R links on R[...]

  • Page 9

    5. B OARD O PTIONS The EDK has a number of configuration settings set by four jumpers CJ4 (A, B, C, D) and zero-ohm links. Common EDK functions can be set using the jumpers as de scribed in sect ions 5.2. The additional zero-ohm links provid e additional features that may be required to interface with other systems. All the Jumper link settings are[...]

  • Page 10

    5.2. EDK O PTIONS – CJ4 The EDK options provide access to co mmonly used features of the EDK range. These jumpers must be fitted at all times to ensure correct operation of the EDK. Jumper Function Setting 1-2 Setting 2-3 CJ 4-A Default 1-2 Serial Receive Source Routes the programming serial port to the 9Way D Connector Routes the programming ser[...]

  • Page 11

    5.3. O PTION L INK S ELECTION The following sections show the option links that apply to each pe ripheral device. The tables all use the same key of symbols which is given below: X – Groups of options one set of which must be fitted for correct operation of the EDK. O – Groups of options which if fitted must be connected in the groups as shown [...]

  • Page 12

    5.3.3. SPI – S ERIAL P ERIPHERAL I NTERFACE The SPI interface is not directly compatible with the SCI in terface on the device. Selection of the connections to the SPI interface should therefore be chosen to allow t he operation of other peripherals as required. SCI2 SCI2 R R R R R R R R R R R R R SSU 48,49,50 56,57,58 15 16 17 18 19 20 21 22 23 [...]

  • Page 13

    6. M ICROCONTROLLER H E ADER C ONNECTIONS The following table lists the connections to each or the headers on the board. 6.1. H EADER J1 J1 Pin No Function EDK Sy mbol Device pin Pin No Function EDK Symbol Device pin 1 TEST GND 8 2 RESn RESn 7 3 VCL (No Connection) NC3 6 4 X1 CON_X1 5 5 X2 CON_X2 4 6 AVCC CON_AVCC 3 7 PB7/AN7 PB7 2 8 PB6/AN6 PB6 1 [...]

  • Page 14

    7. C ODE D EVELOPMENT 7.1. HMON 7.1.1. M ODE S UPPORT The HMON library is built to support Normal Mode only. 7.1.2. B REAKPOINT S UPPORT The monitor utilises the Address Break Controller for code located in ROM, allowing a single breakpoint to be set in the code. Code located in RAM may have multiple breakpoints limited only by the size of th e On-[...]

  • Page 15

    7.1.4. M EMORY M AP On-Chip FLASH ROM On-Chip RAM Interna l I/O REGISTERS On-Chip RAM Vectors FDTInit FDTUserM odeM icr oKerne l PHMO N CHMO N CUser_Vectors BHMO N Stack H'0400 H'04F7 H'0500 H'0BC1 H'1000 H'2D10 H'0C00 H'0C03 H'E800 H'EE00 H'FE80 H'0000 H'DFFF H'EFFF H'F700 [...]

  • Page 16

    7.1.5. B AUD R ATE S ETTING HMON has initially set to connect at 115200Baud. Should the user wish to change this, the value for the BRR in HMONserialconfiguser.c will need to be changed and the project re-built. Please refer to the HMON User Manual for further information. 7.1.6. I NTERRUPT MASK SECTIONS The EDK3687 has fixed interrupt priorities. [...]