Renesas H8/3048 User Manual

Browse online or download User Manual for Unknown Renesas H8/3048. RENESAS H8/3048F-One

  • Download
  • Add to my manuals
  • Print
  • Page
    / 52
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
H8/3048BF
User manual
Issue 0.1 Page 1 04/2003
RENESAS
(Hitachi)
H8/3048F-One
LowCost
Evaluation Board
User Manual
Page view 0
1 2 3 4 5 6 ... 51 52

Summary of Contents

Page 1 - H8/3048F-One

H8/3048BF User manual Issue 0.1 Page 1 04/2003 RENESAS (Hitachi) H8/3048F-One LowCost Evaluation Board User Manual

Page 2 - PREFACE

H8/3048BF User manual Issue 0.1 Page 10 04/2003 OnBoard LCD (LCD1) X4, external LCD-connector (057-016-1) LCD Modul (LCD1) pin X4 (LCD-CON)

Page 3 - Table of Contents

H8/3048BF User manual Issue 0.1 Page 11 04/2003 SV1, SV2, SV3 connectors with microcontroller signals SV1 SV2 SV3 PIN FUNC. PIN FUNC. P

Page 4 - 1 Overview

H8/3048BF User manual Issue 0.1 Page 12 04/2003 1.7 Graphic-LCD interface X5, Graphic-LCD connector X5,Pin µC-pin Operation 1 GND 2 VCC

Page 5 - 1.3 Features

H8/3048BF User manual Issue 0.1 Page 13 04/2003 1.8 Start-Up instructions 1.8.1 Installing the H8/3048BF Installing the eval board requires

Page 6 - 1.4 Board overview

H8/3048BF User manual Issue 0.1 Page 14 04/2003 1.8.3 Test program The H8/3048BF is supplied with a short demo application when delivered. If

Page 7 - 1.5 Jumpers and switches

H8/3048BF User manual Issue 0.1 Page 15 04/2003 1.8.4 Software Installation Software development on embesso-H8/3048BF requires some software t

Page 8 - Issue 0.1 Page 8 04/2003

H8/3048BF User manual Issue 0.1 Page 16 04/2003 2 Development Environment 2.1 Creating a program using IAR-EWH8 Software development can be d

Page 9 - 1.6 Connectors

H8/3048BF User manual Issue 0.1 Page 17 04/2003 Press OK and a file window will appear. Here first create a new directory (e.g. c:\MyH8Test)

Page 10 - Issue 0.1 Page 10 04/2003

H8/3048BF User manual Issue 0.1 Page 18 04/2003 Now select release with the right mouse button. A popup appears. Select Options… and do the f

Page 11 - Issue 0.1 Page 11 04/2003

H8/3048BF User manual Issue 0.1 Page 19 04/2003 In section XLINK/Output select under Format “motorola” as the output format and on Output fi

Page 12 - 1.7 Graphic-LCD interface

H8/3048BF User manual Issue 0.1 Page 2 04/2003 PREFACE Product Warranty The warranty period against defects in materials and workmanship are a

Page 13 - 1.8 Start-Up instructions

H8/3048BF User manual Issue 0.1 Page 20 04/2003 All other options can be changed later. Click on OK. Now select File/new/source file and typ

Page 14 - 1.8.3 Test program

H8/3048BF User manual Issue 0.1 Page 21 04/2003 After that save it under “myh8test.c”. Now we must add this file to our project. Please selec

Page 15 - 1.8.4 Software Installation

H8/3048BF User manual Issue 0.1 Page 22 04/2003 The target file for download can be found in directory c:\myH8test\release\exe\myH8test.mot.

Page 16 - 2 Development Environment

H8/3048BF User manual Issue 0.1 Page 23 04/2003 2.2 Download the code using FDT After compiling and linking (error free!), the target code (my

Page 17 - Issue 0.1 Page 17 04/2003

H8/3048BF User manual Issue 0.1 Page 24 04/2003 Please start FDT and select „New Workspace“. Here we use the project name “MyH8Test”. You ca

Page 18 - Issue 0.1 Page 18 04/2003

H8/3048BF User manual Issue 0.1 Page 25 04/2003 Fill in the following things:

Page 19 - Issue 0.1 Page 19 04/2003

H8/3048BF User manual Issue 0.1 Page 26 04/2003

Page 20 - Issue 0.1 Page 20 04/2003

H8/3048BF User manual Issue 0.1 Page 27 04/2003

Page 21 - Issue 0.1 Page 21 04/2003

H8/3048BF User manual Issue 0.1 Page 28 04/2003 Now a workspace is created and you can add your target file to „TargetFiles“: Select Project/A

Page 22 - Issue 0.1 Page 22 04/2003

H8/3048BF User manual Issue 0.1 Page 29 04/2003 First press the reset button at the target board, hold it down and move Prog/Run-switch to prog

Page 23 - Issue 0.1 Page 23 04/2003

H8/3048BF User manual Issue 0.1 Page 3 04/2003 Table of Contents PREFACE...

Page 24 - Issue 0.1 Page 24 04/2003

H8/3048BF User manual Issue 0.1 Page 30 04/2003 2.3 Workflow

Page 25 - Issue 0.1 Page 25 04/2003

H8/3048BF User manual Issue 0.1 Page 31 04/2003 3 Examples H8/3048BF is provided with some demonstration code. On the supplied CD-R you shoul

Page 26 - Issue 0.1 Page 26 04/2003

H8/3048BF User manual Issue 0.1 Page 32 04/2003 3.1 Key’s and LED’s The first demo program shows the usage of LEDs and keys on H8/3048BF. For

Page 27 - Issue 0.1 Page 27 04/2003

H8/3048BF User manual Issue 0.1 Page 33 04/2003 { dummy = ADCSR; // dummy read ADCSR = 0x00; // reset A/D ADCSR |= 0x2

Page 28 - Issue 0.1 Page 28 04/2003

H8/3048BF User manual Issue 0.1 Page 34 04/2003 3.2 LCD One of the highlights of the HTEB1 is the 2*16 character LCD with backlight. Simple fu

Page 29 - Issue 0.1 Page 29 04/2003

H8/3048BF User manual Issue 0.1 Page 35 04/2003 } u8 LCDReadStatus(void) // get the LCD status register { u8 status; CLEAR_LCD_RS; SET

Page 30 - 2.3 Workflow

H8/3048BF User manual Issue 0.1 Page 36 04/2003 void LCDLoopMsg(void) { while(1) // do forever... { LCDWriteLine(0,&Text1[0]);

Page 31 - 3 Examples

H8/3048BF User manual Issue 0.1 Page 37 04/2003 3.3 SCI SCI is used here for a simple RS232 (V24) terminal connection. Please use a terminal

Page 32 - 3.1 Key’s and LED’s

H8/3048BF User manual Issue 0.1 Page 38 04/2003 u8 V24PutChar(u8 c) // simple PutChar via V24 { if (IS_SCI_TX_FREE) // Tx register free

Page 33 - Issue 0.1 Page 33 04/2003

H8/3048BF User manual Issue 0.1 Page 39 04/2003 3.4 A/D + D/A This sample shows the usage of the A/D converter. We sample the voltage of P2/P

Page 34 - 3.2 LCD

H8/3048BF User manual Issue 0.1 Page 4 04/2003 1 Overview 1.1 System Development Kit content Thank you for purchasing our product. If you take

Page 35 - Issue 0.1 Page 35 04/2003

H8/3048BF User manual Issue 0.1 Page 40 04/2003 u8 status; CLEAR_LCD_RS; SET_LCD_RW; LCD_DATA_CTRL = LCD_IN; SET_LCD_EN; status = LCD_D

Page 36 - Issue 0.1 Page 36 04/2003

H8/3048BF User manual Issue 0.1 Page 41 04/2003 void ShowHexValue(u16 code, u8 line) { u8 *data, *text, c,d; if (line==0) text = &Line0

Page 37 - 3.3 SCI

H8/3048BF User manual Issue 0.1 Page 42 04/2003 3.5 AT-Keyboard-Interface This demo shows the usage of the PS2 (mini-DIN) interface on H8/3048

Page 38 - Issue 0.1 Page 38 04/2003

H8/3048BF User manual Issue 0.1 Page 43 04/2003 CLEAR_LCD_RS; SET_LCD_RW; LCD_DATA_CTRL = LCD_IN; SET_LCD_EN; status = LCD_DATA_PORT; C

Page 39 - 3.4 A/D + D/A

H8/3048BF User manual Issue 0.1 Page 44 04/2003 #define V24_BRR(x) ((unsigned char)(((CPU_CLK+16*x)/32/x) - 1)) void V24Init (u16 Baudrate

Page 40 - Issue 0.1 Page 40 04/2003

H8/3048BF User manual Issue 0.1 Page 45 04/2003 interrupt [IRQ_2] void IRQ_2_Isr(void) // irq on keydata { u8 cnt; u16 val; val = 0;

Page 41 - Issue 0.1 Page 41 04/2003

H8/3048BF User manual Issue 0.1 Page 46 04/2003 set_interrupt_mask(0); // enable all interrupts LCDWriteLine(0, "PC-Keyboard-Te

Page 42 - 3.5 AT-Keyboard-Interface

H8/3048BF User manual Issue 0.1 Page 47 04/2003 Tables : Scan-Codes MFII-Keyboard Numeric Keypad Scan-Code Set 1 Scan-Code Set 2 Scan-Code S

Page 43 - Issue 0.1 Page 43 04/2003

H8/3048BF User manual Issue 0.1 Page 48 04/2003 Main-Keypad Scan-Code Set 1 Scan-Code Set 2 Scan-Code Set 3 Key Make-Code Break-Code Make-Cod

Page 44 - Issue 0.1 Page 44 04/2003

H8/3048BF User manual Issue 0.1 Page 49 04/2003 N 31 B1 31 F0-31 31 Typematic M 32 B2 3A F0-3A 3A Typematic , 33 B3 41 F0-41 41 Typema

Page 45 - Issue 0.1 Page 45 04/2003

H8/3048BF User manual Issue 0.1 Page 5 04/2003 1.3 Features • contains H8/3048F-One microcontroller • In-Circuit seri

Page 46 - Issue 0.1 Page 46 04/2003

H8/3048BF User manual Issue 0.1 Page 50 04/2003 Appendix A: CD-R content Programs IAR-EWH8 \programs\iar\ FDT (flash development toolkit) \pr

Page 47

H8/3048BF User manual Issue 0.1 Page 51 04/2003 Appendix B: Schematic The schematic will be found as pdf-file on the CD-R Appendix C: Board

Page 48

H8/3048BF User manual Issue 0.1 Page 52 04/2003

Page 49

H8/3048BF User manual Issue 0.1 Page 6 04/2003 1.4 Board overview 8 user LEDs 2*16 char LCD with LED

Page 50 - Appendix A: CD-R content

H8/3048BF User manual Issue 0.1 Page 7 04/2003 1.5 Jumpers and switches JP1 is used for switching the serial interface from 1:1 to crossed con

Page 51 - Appendix C: Board layout

H8/3048BF User manual Issue 0.1 Page 8 04/2003 Switch “RUN/PROG” is for the FlashWriteEnable (FWE) signal. Switch “USER/BOOT” is for the MD2 si

Page 52 - Issue 0.1 Page 52 04/2003

H8/3048BF User manual Issue 0.1 Page 9 04/2003 1.6 Connectors X1 Power connector X2 Serial communication, SubD-9 female X3 MiniDIN (PS2) X

Comments to this Manuals

No comments