Fujitsu MB2146-450-E Setup Manual
Fujitsu MB2146-450-E Setup Manual

Fujitsu MB2146-450-E Setup Manual

F2mc-8fx mb95f310 series 8-bit microcontroller
Hide thumbs Also See for MB2146-450-E:

Advertisement

Quick Links

FUJITSU MICROELECTRONICS
MCU-AN-500072-E-10
SUPPORT SYSTEM
F²MC-8FX FAMILY
8-BIT MICROCONTROLLER
MB95F310 SERIES
MB2146 - 450 - E
SETUP GUIDE

Advertisement

Table of Contents
loading

Summary of Contents for Fujitsu MB2146-450-E

  • Page 1 FUJITSU MICROELECTRONICS MCU-AN-500072-E-10 SUPPORT SYSTEM F²MC-8FX FAMILY 8-BIT MICROCONTROLLER MB95F310 SERIES MB2146 - 450 - E SETUP GUIDE...
  • Page 3: Preface

    About mass production/evaluation MCUs for this product, please consult with sales representatives or support representatives. *1: F2MC is the abbreviation of FUJITSU Flexible Microcontroller. *2: Referring to the following as the “EV-Board”. MB2146-450-E is the EV-Board for MB95F310 MCU;...
  • Page 4: Caution Of The Products Described In This Document

    MB2146-450-E Setup Guide PREFACE Caution of the products described in this document The following precautions will apply to the product described in this manual. Indicate a potentially hazardous situation which, if not avoided appropriately, could WARNING result in death or serious injury and/or a fault in the user’s system.
  • Page 5 The information, such as descriptions of function and application circuit examples, in this document are presented solely for the purpose of reference to show examples of operations and uses of FUJITSU MICROELECTRONICS semiconductor device; FUJITSU MICROELECTRONICS does not warrant proper operation of the device with respect to use based on such information.
  • Page 6: Table Of Contents

    MB2146-450-E Setup Guide Contents Contents PREFACE ..........................1 Handling and usage ..................... 1 Notice on this document ....................1 Caution of the products described in this document ............. 2 CONTENTS .......................... 4 PRODUCT OVERVIEW ....................6 Objective and Deliverable ..................6 System Block ......................
  • Page 7 MB2146-450-E Setup Guide Contents 3.5.8 Reset Operation..................29 3.5.9 Test Pin ....................29 3.5.10 Battery Usage ..................29 SAMPLE CODE MANUAL ................... 30 Project Structure....................30 Source Code File Description ................31 4.2.1 ADC .c ..................... 31 4.2.2 Beep .c ....................32 4.2.3...
  • Page 8: Product Overview

    This product is a set of EV-Board of MB95f310 series. It is composed of a BGMA (MB2146- 08-E) and an EV-board (MB2146-450-E). Combining the SOFTUNE Workbench on PC, the EV-Board enables the quick start of development before the user system is ready.
  • Page 9: Feature

    MB2146-450-E Setup Guide Chapter 1 Product Overview 1.4 Feature The MB95F310 Series EV-Board is the best for a performance and functional evaluation, and a checking of operation before including MB95f310 Series MCU in a user s system. The feature of the BGM debugger for MB95f310 Series MCU is shown as follows.
  • Page 10: Bgma Manual

    MB2146-450-E Setup Guide Chapter 2 BGMA Manual 2 BGMA Manual This chapter gives introduction how to set up BGMA. 2.1 BGMA Overview Following is the close shot of a MB95200 Series BGMA. The Part Number is MB2146-08-E. It provides a debug platform for the MB95F310 Series MCU in a small size (55.7mm (W) X127mm (D) X30mm (H)).
  • Page 11: Idc10 Interface Description

    MB2146-450-E Setup Guide Chapter 2 BGMA Manual 2.3 IDC10 Interface Description Pin Number Pin Name Description UVCC Target MCU Vcc Target MCU Vss RSTIN Target MCU reset input RSTOUT Target MCU reset output Reserved Reserved Reserved Target MCU debug pin...
  • Page 12 MB2146-450-E Setup Guide Chapter 2 BGMA Manual Select “Install from a list or specific location (Advanced)”, then click “Next”, Figure 2.4-2 Install BGMA in Windows (2) Select “…\Drivers” from the folder where SOFTUNE is installed, click “Next”, Figure 2.4-3 Install BGMA in Windows (3)
  • Page 13 MB2146-450-E Setup Guide Chapter 2 BGMA Manual Select BGMA (MB2146-08) displayed as follows, and then click “Next”, Figure 2.4-4 Install BGMA in Windows (4) Windows will install the driver automatically. Click “Finish” after the driver has completed the installation normally. Then users can find the BGMA is recognized as MB2146-08 in Windows system.
  • Page 14: Led Description

    MB2146-450-E Setup Guide Chapter 2 BGMA Manual 2.5 LED Description First, when USB cable is plugged to PC, check the Power LED turning Green or not. Refer to Figure 2.5-1. Figure 2.5-1 BGMA Power LED (1) Second, plug IDC10 cable to the EV-board (target MCU board), then turn on EV-board. After that, check Power LED on the BGMA turning Orange or not.
  • Page 15: Ev-Board Manual

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3 EV-board Manual This chapter gives introduction how to setup EV-board and functions of EV-Board. 3.1 EV-board Overview MB95F310 EV-board is an evaluation platform for the MB95F310 Family microcontroller. Figure 3.1-1 below is a close shot of EV-board.
  • Page 16: Function List

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.2 Function List The EV-board is consisted of a board and a sample firmware. The board provides a useful platform for using the MCU and its peripherals. It is a useful development platform together with a BGMA (PN: MB2146-08-E) and a SOFTUNE.
  • Page 17: Ev-Board Schematic

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.3 EV-board Schematic Figure 3.3-1 EV-board Schematic MCU-AN-500072-E-10 – Page 15...
  • Page 18: Hw Module Description And Jumper Settings

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.4 HW Module Description and Jumper settings 3.4.1 Pin Assignment of MB95F310 Table 3.4.1 - 1 describes assignment of MCU Pin Pin name Pin Usage Description Logical Description PPG1 Low drive beep Low drive LED...
  • Page 19: Power Module

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.4.2 Power Module EV-board has 2 kinds of power supplies for user to choose. Please read the following instructions before using. DC Adaptor: 5V DC: Output voltage: 3.3V Connection: Connector (J12) Battery: QTY: 4PCS;...
  • Page 20: I2C Module

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.4.3 I2C Module There are two switches between at24c08 and EEPROM, when using i2c to visit EEPROM, it will switch off and when using i2c to visit other external chip, it will switch on. Following...
  • Page 21 MB2146-450-E Setup Guide Chapter 3 EV-board Manual Table 3.4.4 – 1 describes the function of keys FUNCTION Switch mode:”EEPROM -> Temperature MODE -> UART -> RTC -> EEPROM….” Confirm some operation when want to CONFIRM enter into edit mode or confirm edit result...
  • Page 22: Lcd Module

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.4.5 LCD Module Using COM0~COM3 and SEG00 to SEG31 to drive LCD, table 3.4.5 – 1 describes the relationship between SEG and LCD SEG(00…..31) LED(0…10) SEG00 LED0 SEG01 SEG02 SEG03 LED1 SEG04 SEG05...
  • Page 23: Operation Manual

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.5 Operation Manual 3.5.1 Mode Switch Pressing mode key can switch EEPROM mode to RTC mode, following figure describes the operation. Default is EEPROM mode Pressing mode key ---switch to temperature mode Pressing mode key ---switch to UART mode Pressing mode key ---switch to RTC mod MCU-AN-500072-E-10 –...
  • Page 24: Eeprom Sub-Address Switch And Edit

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.5.2 EEPROM Sub-address Switch and EDIT In EEPROM mode, the LCD displays the value of a certain sub-address Status Data If you press up or down key, sub address and value will change.
  • Page 25 MB2146-450-E Setup Guide Chapter 3 EV-board Manual Press confirm key to ensure this operation Note: Status “0” ------ normal status Status “1” ------ setting status MCU-AN-500072-E-10 – Page 23...
  • Page 26: Factory Mode

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.5.3 Factory Mode When in EEPROM normal status press “send” key and press “wake up” key again, system enter into factory mode. In factory mode the all EEPROM data are initialized to its’ sub address value and the LCD will display the value which be wrote into sub address.
  • Page 27: Uart Send

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.5.5 UART Send Switch the mode to UART, the LCD will display the value of received data; if you want to send data, the following operation will be an example. Pressed mode key ---switch to UART mode...
  • Page 28: Rtc Operation

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.5.6 RTC Operation When system is powered on, the RTC timer begins to count. When user wants to enter standby mode, the sleep mode can be selected by setting the timer; after setting standby time, counter count continuously and enter sleep mode when the counter value is same with the set value.
  • Page 29 MB2146-450-E Setup Guide Chapter 3 EV-board Manual Note: 1. When set time is 0hour 0minute and 0second that will release standby mode, system will not enter standby mode 2. The setting time must be bigger than the system running time.
  • Page 30: Wake Up Operation

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.5.7 Wake Up Operation There is a wake up key in the LCD EV-Board, which uses external interrupt to wake up system from sleep mode. When system enters sleep mode, no operation can be made except the wake-up key.
  • Page 31: Reset Operation

    MB2146-450-E Setup Guide Chapter 3 EV-board Manual 3.5.8 Reset Operation There is reset key to be used when user wants to reset system. In normal condition the reset pin is connected to V when it is pressed to connect to GND by reset key.
  • Page 32: Sample Code Manual

    MB2146-450-E Setup Guide Chapter 4 Sample Code Manual 4 Sample Code Manual 4.1 Project Structure There is a project LCD EV-Board Project.prj in this MB95F310 EV-Board The following structure describes the flow chart of this project, shown in Figure 4.1-1.
  • Page 33: Source Code File Description

    MB2146-450-E Setup Guide Chapter 4 Sample Code Manual 4.2 Source Code File Description Eight drive files are available in this project shown below, Figure 4.2 - 1 Source Code Files 4.2.1 ADC .c In this function, environment temperature and key value will be calculated.
  • Page 34: Beep .C

    MB2146-450-E Setup Guide Chapter 4 Sample Code Manual 4.2.2 Beep .c When AD key is pressed, it will sound beep and then it will be off. All the occasions are driven by setting different values for PIN PPG1. Following table describes the Beep library:...
  • Page 35: I2C .C

    MB2146-450-E Setup Guide Chapter 4 Sample Code Manual 4.2.5 I2C .c In this function, we should initialize I2C status and use SCL and SDA to send data to master device and receive data from slave device. Following table describes the I2C library:...
  • Page 36: Rtc .C

    MB2146-450-E Setup Guide Chapter 4 Sample Code Manual 4.2.7 RTC .c In this function, we should initialize clock register, start time base timer, set display value for LCD and set condition to enter standby mode Following table describes the LCD library:...
  • Page 37: Uart .C

    MB2146-450-E Setup Guide Chapter 4 Sample Code Manual 4.2.8 UART .c In this function, the MCU works in an asynchronous mode, baud rate is generated by dedicated baud rate generator. Following table describes the LCD library: Function Name Description void UART_init (void)
  • Page 38: Global Variable Description

    MB2146-450-E Setup Guide Chapter 4 Sample Code Manual 4.3 Global Variable Description Five drive files are available in this project shown below, _f2mc8fx.h _f2mc8fx.h is system define document. Ignore it mb95310.h Mb95310.h is system define document. Ignore it def.h This file includes roughly all global variable of FW...
  • Page 39: How To Add These Library

    MB2146-450-E Setup Guide Chapter 4 Sample Code Manual 4.4 How to Add these Library Before using chapter4.2 library, following step ought to be referenced. Create a new project Copy .lib file to project document Add .lib file to project Add all needed .lib files to project 4.5 Usage Demo...
  • Page 40: Development Platform Quick Start

    MB2146-450-E Setup Guide Chapter 5 Development Platform Quick Start 5 Development Platform Quick Start 5.1 Tools Setup Sequence Start the debugging system in the following sequence: Connect a BGMA to the PC with a USB cable, confirm the LED on the BGMA is Green;...
  • Page 41 MCU-UM-95F310-E-10 FUJITSU MICROELECTRONICS LIMITED • SUPPORT SYSTEM F2MC-8FX Family MB95F310 Series EV-Board MB2146-450-E SETUP GUIDE Aug. 2009 the second edition Published FUJITSU MICROELECTRONICS LIMITED Edited Strategic Business Development Dept...

Table of Contents