Cypress MB95580H Series Setup Manual

8-bit microcontroller

Advertisement

Quick Links

MB95560H/570H/580H Series
8-bit Microcontroller
8FX Family Starter Kit MB2146-510-01-E
Setup Guide
Doc. # 002-05587 Rev. *A
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
Phone (Intnl): +1.408.943.2600
www.cypress.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MB95580H Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Cypress MB95580H Series

  • Page 1 MB95560H/570H/580H Series 8-bit Microcontroller 8FX Family Starter Kit MB2146-510-01-E Setup Guide Doc. # 002-05587 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): +1.408.943.2600 www.cypress.com...
  • Page 2 Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products.
  • Page 3: Table Of Contents

    Contents 1. Product Overview Objective and Deliverable ....................7 System Block .......................7 Handling Precautions....................8 Feature ........................8 Hardware Setup......................8 2. BGMA Manual BGMA Overview ......................9 Function List ......................10 IDC10 Interface Description..................10 BGM Adapter USB Configuration ................10 LED description ......................14 3. EV board Introduction EV board Overview....................16 Function List ......................17 EV-board Schematic....................18...
  • Page 4 *3Referred below as the “EV-Board”. *4Referred below as the “S ”. OFTUNE is a trademark of Cypress Semiconductor Limited, Japan. OFTUNE ■Handling and use Handling and use of this product and notes regarding its safe use are described in the manuals for products bundled with the Starter Kit.
  • Page 5 Preface ■Caution of the products described in this document The following precautions apply to the product described in this manual. Indicates a potentially hazardous situation which could result in death or WARNING serious injury and/or a fault in the user’s system if the product is not used correctly.
  • Page 6 Preface When turning the power on or off, follow the relevant procedure as de- scribed in this document. Before turning the power on, in particular, be sure to finish making all the Damage required connections. Furthermore, be sure to configure and use the product by following the instructions given in this document.
  • Page 7: Product Overview

    Product Overview This product is a set of Starter Kit of MB95560H/570H/580H series. It is composed of a BGMA and an EV-board. Combining the SOFTUNE Workbench on PC, the Starter kit enables the quick start of development before the user system is ready. Objective and Deliverable The Starter kit provides users a complete development platform.
  • Page 8: Handling Precautions

    Product Overview Handling Precautions The Starter Kit can be used in connection with its bundled products. To ensure correct use of this product in a proper environment, observe the following guideline: Follow the instructions described in each manual for the bundled product to use this product. Feature The MB95560H/570H/580H Series starter kit is the best for a performance and functional evaluation, and a check of operation before including MB95560H/570H/580H Series in a user's system.
  • Page 9: Bgma Manual

    BGMA Manual BGMA Overview Below is the close look of the BGMA. It provides a debug platform for the New 8FX MCU (except MB95200H/210H/220H) in a small size (58mm (W)  90mm (D)  20mm (H)) . Figure 2-1. BGMA overview BGM Adaptor: MB2146-07-E BGM Adaptor BGM Adaptor Power LED...
  • Page 10: Function List

    BGMA Manual Function List Function description Remarks MCU MAX machine clock: 16.25 MHz Support MB95560 Series MCU MCU power voltage: 2.4V* to 5.5V* 256 software breakpoints Break pointer 3 hardware breakpoints USB interface to PC/SOFTUNE Compatible to USB protocol version 2.0 The Baud rate is 62,500 bps, and can be up to 1-Line UART interface to the MB95560 500kbps (set in S...
  • Page 11 BGMA Manual Figure 2-2. Install BGMA in Windows (1) MB95560H/570H/580H Series MB2146-510-01-E Setup Guide, Doc. # 002-05587 Rev. *A...
  • Page 12 BGMA Manual Select “Install from a list or specific location (Advanced)", then click “Next", Figure 2-3. Install BGMA in Windows (2) Select “…\Drivers” from the folder where SOFTUNE is installed, click “Next”, MB95560H/570H/580H Series MB2146-510-01-E Setup Guide, Doc. # 002-05587 Rev. *A...
  • Page 13 BGMA Manual Figure 2-4. Install BGMA in Windows (3) MB95560H/570H/580H Series MB2146-510-01-E Setup Guide, Doc. # 002-05587 Rev. *A...
  • Page 14: Led Description

    BGMA Manual Select BGMA (MB2146-07) as displayed below, and then click “Next”, Figure 2-5. 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-07 in Windows system.
  • Page 15 BGMA Manual Figure 2-7. BGMA Power LED (1) USB Plugged to PC Green Second, plug IDC10 cable to the EV-board (target MCU board), then turn on EV-board. After that check Power LED on the BGMA turns Orange. Figure 2-8. BGMA Power LED (2) 5V Power Supplied IDC Cable Orange...
  • Page 16: Ev Board Introduction

    EV board Introduction EV board Overview MB95560 MCU EV-board is provided as a user-friendly introductory and evaluation platform for the MB95560H/570H/580H MCU Family microcontrollers. Below is a close look of EV-board. Figure 3-1. EV-board Overview Debug Interface to BGMA Jumpers left open when debug Buzzer circuit Power supply either from batteries (below...
  • Page 17: Function List

    EV board Introduction Function List The EV-board consists 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 and a .
  • Page 18: Ev-Board Schematic

    EV board Introduction EV-board Schematic Figure 3-2. EV-board Schematic MB95560H/570H/580H Series MB2146-510-01-E Setup Guide, Doc. # 002-05587 Rev. *A...
  • Page 19: Hw Module Description And Jumper Settings

    EV board Introduction HW Module Description and Jumper settings 3.4.1 Power Module EV-board has 4 kinds of power supply for user to choose. Please read below instructions before using. DC Adaptor: 9V DC: ■ Output voltage: 9V Connection: Connector (CN6) Battery: ■...
  • Page 20 EV board Introduction Table 3-1. Power Supply Selection Power supply Header name Settings 4 AA batteries from BT1 on J1: BAT. the back of the EV-board. BAT. 9V DC from CN6 J1: 9V. BAT. BGMA Interface To start the debug using a BGMA, users shall connect IDC10 socket from the BGMA to CN1 on an EV-board, and J2 shall be closed to enable reset key S3.
  • Page 21 EV board Introduction Clock Settings The MB95560H/570H/580H series MCU uses an internal main CR as a clock source by default. Users can select on-board crystal as a main clock and a sub-clock. Follow the settings below: Table 3-3. SW3 Setting Clock Header name Settings...
  • Page 22 EV board Introduction Table 3-5. SW2 A/D Setting MCU Mode Header name Settings A/D: SW2: VR1 LED2 S2 S1 LED3 SCK SOT SIN LIN UART A/D: SW2: VR3 LED2 S2 S1 LED3 SCK SOT SIN LIN UART LED Module There are four LEDs on EV-board to demonstrate the I/O function. Enable LED2, LED3 and LED4 in the following table, Table 3-6.
  • Page 23 EV board Introduction Key Module Key S1 and key S2 are provided to demonstrate an external interrupt function. Enable these two keys by the following table. Key S1 is connected to external Int7, and key S2 is connected to external Int6. Table 3-7.
  • Page 24 EV board Introduction Table 3-8. UART Setting Modules Header name Settings SW2: SOT, SIN LED2 S2 S1 LED3 SCK SOT SIN LIN UART UART UART J5: UART J6: UART UART SW2: SCK, SOT, SIN LED2 S2 S1 LED3 SCK SOT SIN LIN UART LIN* UART...
  • Page 25: Sample Code Manual

    Sample Code Manual Topic List The following sample codes are provided with MB95560H/570H/580H MCU Starter Kit, IO_LED project ■ In this example, the LED2 will be twinkle. A/D_Potentiometer project ■ In this example, the 3 LEDs will display “on” or “off” according to the arrow direction of VR3. Timer_Buzzer project (Continuous timer) ■...
  • Page 26: Source Code File Description

    Sample Code Manual Figure 4-1. I/O_LED Project Structure Source Code File Description Six files are available in each sample code source code folder shown below, Figure 4-2. Source Code Files 4.3.1 Header Files The MB95560.h and the _f2mc8fx.h are header files, included MB95560H/570H/580H MCU I/O reg- isters definition;...
  • Page 27 Sample Code Manual __BYTEbyte; struct { __BYTE P00:1; __BYTE P01:1; __BYTE P02:1; __BYTE P03:1; __BYTE P04:1; __BYTE P05:1; __BYTE P06:1; __BYTE P07:1; } bit; struct { __BYTE P00:1; __BYTE P01:1; __BYTE P02:1; __BYTE P03:1; __BYTE P04:1; __BYTE P05:1; __BYTE P06:1; __BYTE P07:1;...
  • Page 28 Sample Code Manual 4.3.2 Startup.asm File The Startup.asm is the MB95560H/570H/580H MCU initialization file including stack settings, regis- ter bank settings and watchdog settings etc; 4.3.3 Vectors.c File. The Vectors.c contains the MB95560H/570H/580H MCU Interrupt vectors definition. User can pre-set all interrupt control registers in function InitIrqLevels(). It can be used to set all inter- rupt priorities in static applications.
  • Page 29: Development Platform Quick Start

    Development Platform Quick Start Tools Setup Sequence Start the debugging system in the following sequence: Connect a BGMA to the PC using a USB cable, confirm the LED on the BGMA is Green; ■ Connect an EV-board to BGMA IDC10 socket; ■...
  • Page 30: Additional Informations

    Additional Informations For more informations please visit our websites: http://www.cypress.com/documentation/development-kitsboards/mb2146-510-01-e Please contact your local support team for any technical question. MB95560H/570H/580H Series MB2146-510-01-E Setup Guide, Doc. # 002-05587 Rev. *A...
  • Page 31: Revision History

    Document Title: MB95560H/570H/580H Series 8-bit Microcontroller 8FX Family Starter Kit MB2146-510-01-E Setup Guide Document Number: 002-05587 Origin of Revision ECN# Issue Date Description of Change Change  11/24/2011 HUAL Initial release 5309214 05/16/2016 HUAL Migrated to Cypress format MB95560H/570H/580H Series MB2146-510-01-E Setup Guide, Doc. # 002-05587 Rev. *A...

This manual is also suitable for:

Mb95560h seriesMb95570h series

Table of Contents