The following document contains information on Cypress products.

Similar documents
STAND-ALONE PROGRAMMER

UnRegistered MB39C602 LED LIGHTING SYSTEM BULB 9W ZIGBEE CONTROL USER MANUAL. Fujitsu Semiconductor Design (Chengdu) Co. Ltd.

F²MC-8FX FAMILY MB95F370 SERIES ZIGBEE SOLUTION DEVELOPMENT GUI 8-BIT MICROCONTROLLER USER MANUAL

MB9AA30N SERIES BLUEMOON-EVB_LCD 32-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Semiconductor Design (Chengdu) Co., Ltd.

FUJITSU SEMICONDUCTOR SUPPORT SYSTEM SS E DSU-FR EMULATOR LQFP-144P HEADER TYPE 4 MB OPERATION MANUAL

DSU-FR EMULATOR LQFP-144P HEADER TYPE 9 MB E OPERATION MANUAL

IC CARD AND ESAM OPERATION

ONE PHASE POWER METER (RN8209) SOLUTION

ETHERNET_FLASH_LOADER

MB86R12 Emerald-P. Delta Sheet Differences between ES2 and ES3. Fujitsu Semiconductor Europe GmbH

F²MC-16 FAMILY 16-BIT MICROCONTROLLER An Additional Manual for the Softune Linkage Kit

New 8FX Family 8-bit MICROCONTROLLER BGM ADAPTOR MB E OPERATION MANUAL

MB9B610T SERIES 618S_NONOS_LWIP ETHERNET SOFTWARE 32-BIT MICROCONTROLLER USER MANUAL MCU-AN E-10

MB39C602 LED LIGHTING SYSTEM BULB 9W ZIGBEE CONTROL

ONE PHASE POWER METER (CS5464) SOLUTION

Evaluation board Manual

Corporate names revised in the documents

FUJITSU SEMICONDUCTOR SUPPORT SYSTEM SS E DSU-FR EMULATOR F 2 MC-16FX EXPANSION TRACE BOARD MB E OPERATION MANUAL

The following document contains information on Cypress products.

MB85R K (32 K 8) Bit. Memory FRAM DS E CMOS DESCRIPTIONS FEATURES PACKAGES FUJITSU SEMICONDUCTOR DATA SHEET

FR-V/FR FAMILY SOFTUNE C/C++ CHECKER MANUAL for V5

QUAD OPERATIONAL AMPLIFIER

MB85R M Bit (128 K 8) Memory FRAM CMOS DS E DESCRIPTIONS FEATURES FUJITSU SEMICONDUCTOR DATA SHEET

What Types of ECC Should Be Used on Flash Memory?

FM3. MB9B500 Series 32-BIT MICROCONTROLLER FSS MB9BF506R EV-BOARD USER MANUAL APPLICATION NOTE FUJITSU SEMICONDUCTOR (SHANGHAI) LIMITED

CM E FUJITSU SEMICONDUCTOR CONTROLLER MANUAL F 2 MC-16L/16LX EMULATION POD MB HARDWARE MANUAL

FM3 32-BIT MICROCONTROLLER MB9A310/110 Series FLASH PROGRAMMING MANUAL

32-BIT MICROCONTROLLER MB9A310K/110K Series FLASH PROGRAMMING MANUAL

DUAL REVERSIBLE MOTOR DRIVER MB3863

F 2 MC-8FX Family LQFP-48P (0.5 mm pitch) HEADER BOARD MB OPERATION MANUAL

Setup Guide. FUJITSU Software. Serverview Infrastructure Manager Plug-in for. Microsoft System Center. Virtual Machine Manager 1.2

FUJITSU Software. Serverview Infrastructure Manager Plug-in for. Microsoft System Center. Operations Manager 1.2. Setup Guide. For Windows Server 2016

FUJITSU Software. Infrastructure Manager Plug-in for Microsoft. System Center. Operations Manager 1.2. Setup Guide. For Windows Server 2016 / 2019

Quick Guide to Common Flash Interface

Printer Driver. Installation Guide. November 2014 Version Copyright FUJITSU LIMITED

Connecting Spansion SPI Serial Flash to Configure Altera FPGAs

STARTER KIT MB E

F 2 MC-16FX -16bit CISC- F 2 MC-16LX -16bit CISC- F 2 MC-8FX -8bit CISC- F 2 MC-8L -8bit CISC-

Old Company Name in Catalogs and Other Documents

TOUCH SENSOR IC ATA2508 DEMONSTRATION SET

Old Company Name in Catalogs and Other Documents

The following document contains information on Cypress products.

Old Company Name in Catalogs and Other Documents

F 2 MC-8FX Family QFP-100P (0.65 mm pitch) HEADER BOARD MB OPERATION MANUAL

F 2 MC-8FX Family 8-bit MICROCONTROLLER MB95200H/210H Series STARTER KIT MB A-01-E SETUP GUIDE

BGM Adaptor MB E Operation Manual. 8FX Family 8-bit Microcontroller. Doc. # Rev. *A

F²MC-8FX FAMILY MB95200 SERIES EASY KIT FMCDC-MB95260H-EK-01 8-BIT MICROCONTROLLER SETUP GUIDE FUJITSU MICROELECTRONICS SUPPORT SYSTEM

A698HKBH9-E-I RFID Data Management Pro for Fixed Readers Installation Guide. June 2017 Version 2.40

PSoC Creator Quick Start Guide

FUJITSU Software PRIMECLUSTER GLS for Windows. GLS Setup Guide for Cluster Systems 4.4

F²MC-8FX Family MB95200H/210H Series Capacitance Touch Sensor

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

THIS SPEC IS OBSOLETE

COMMAND REFERENCE MANUAL

Rack2-Filer Smart V1.0 Update (V1.0L22) README document

HOW TO MAKE PRPGRAMMING ON TARGET BOARD

Copyright PFU LIMITED

FR-V FAMILY SOFTUNE TM Workbench OPERATION MANUAL

F 2 MC TM -16 FAMILY

Fujitsu ScandAll PRO V2.1.5 README

RFID Label Design and Encoding Management Pro (Utility Only) Installation Guide. October 2015 Version 1.21 A698HKV99-E-I-0121

Copyright PFU LIMITED

Copyright PFU LIMITED 2016

Rack2-Filer Smart V1.0 Update (V1.0L29) README document

FUJITSU Software. ServerView Infrastructure Manager Plug-in for. VMware vcenter Server 1.1. Setup Guide. For vcenter Server 6.0

A698HL6BT-E-P RFID Label Design and Encoding Management Pro. Program Update Guide. May 2017 Version 1.11

THIS SPEC IS OBSOLETE

Rack2-Filer Smart V1.0 Update (V1.0L23) README document

F²MC-8FX FAMILY MB95200H/210H SERIES FLASH MEMORY WITH SECRUITY 8-BIT MICROCONTROLLER APPLICATION NOTE

Rack2-Filer V5.0 Service Pack 7 (V5.0L62) README document

Setting Oscillation Stabilization Wait Time of the main clock (CLKMO) and sub clock (CLKSO)

F²MC-8FX FAMILY MB95200H/210H SERIES SOP8/SOP16/SOP20 PGM ADAPTOR 8-BIT MICROCONTROLLER APPLICATION NOTE

DATA SHEET ZENER DIODES 1.0 W PLANAR TYPE 2-PIN SMALL POWER MINI MOLD. Parameter Symbol Ratings Unit Remarks

M3H Group(1) Application Note. I 2 C Interface (I2C-B) MASTER/SLAVE

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0

MB9BF500 Series FLASH PROGRAMMING MANUAL

C120-E275-01ENZ2. Tape driver configuration tool 1.0. User s Guide

M3H Group(2) Application Note 12-bit Analog to Digital Converter (ADC-A)

FR FAMILY SOFTUNE TM WORKBENCH COMMAND REFERENCE MANUAL

EZ-PD Analyzer Utility User Guide

M3H Group(2) Application Note Asynchronous Serial Communication Circuit (UART-C)

EV BOARD MB E

Capable of adjusting detection timings for start bit and data bit

Digital Multiplexer and Demultiplexer. Features. General Description. Input/Output Connections. When to Use a Multiplexer. Multiplexer 1.

This input determines the next value of the output. The output does not change until the next rising edge of the clock.

Multifunction Serial Interface (PDL_MFS) Features. General Description. When to Use a PDL_MFS Component. Quick Start 1.0

Rack2-Filer V5.0 Service Pack 8 (V5.0L63a) README document

Use the Status Register when the firmware needs to query the state of internal digital signals.

USER GUIDE. Atmel QT6 Xplained Pro. Preface

Wireless LAN Module MBH7WLZ16 Brief Datasheet. Rev. 1.38e. Dec 8, 2009 FUJITSU COMPONENT LIMITED

S71GL-N Based MCPs. Data Sheet (Advance Information)

M3H Group(1) Application Note I 2 C Interface (I2C-B)

Old Company Name in Catalogs and Other Documents

FUJITSU SEMICONDUCTOR CONTROLLER MANUAL CM E F 2 MC-16 FAMILY SOFTUNE TM WORKBENCH USER'S MANUAL

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

DF2S6.8FS DF2S6.8FS. 1. Applications. 2. Packaging and Internal Circuit Rev.5.0. Start of commercial production.

F²MC-8FX FAMILY MB95100 SERIES EMULATOR HW SETUP 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

SOFTUNE TM ASSEMBLER MANUAL for V6

Chapter 1 Names and Functions This chapter explains the names and functions of the parts.

Transcription:

The following document contains information on Cypress products.

8-BIT MICROCONTROLLER New 8FX Family MB95870K/860K/850K series Setup development platform

All Rights Reserved. The contents of this document are subject to change without notice. Customers are advised to consult with FUJITSU sales representatives before ordering. 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 semiconductor device; Fujitsu does not warrant proper operation of the device with respect to use based on such information. When you develop equipment incorporating the device based on such information, you must assume any responsibility arising out of such use of the information. Fujitsu assumes no liability for any damages whatsoever arising out of the use of the information. Any information in this document, including descriptions of function and schematic diagrams, shall not be construed as license of the use or exercise of any intellectual property right, such as patent right or copyright, or any other right of Fujitsu or any third party or does Fujitsu warrant non-infringement of any third-party s intellectual property right or other right by using such information. Fujitsu assumes no liability for any infringement of the intellectual property rights or other rights of third parties which would result from the use of information contained herein. The products described in this document are designed, developed and manufactured as contemplated for general use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed and manufactured as contemplated (1) for use accompanying fatal risks or dangers that, unless extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life support system, missile launch control in weapon system), or (2) for use requiring extremely high reliability (i.e., submersible repeater and artificial satellite). Please note that Fujitsu will not be liable against you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products. Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan, the prior authorization by Japanese government will be required for export of those products from Japan. The company names and brand names herein are the trademarks or registered trademarks of their respective owners. Copyright 2012 FUJITSU SEMICONDUCTOR LIMITED all rights reserved 1

Revision History Rev Date Remark 1.0.0 2012-08-23 Initial Version 2

Contents REVISION HISTORY... 2 CONTENTS... 3 TARGET PRODUCTS... 5 1 INTRODUCTION... 6 1.1 Purpose... 6 1.2 Definitions, Acronyms and Abbreviations... 6 1.3 Document Overview... 6 2 TOUCH PROJECT DEVELOPMENT... 7 2.1 Touch Project Development Flow... 7 2.2 Touch Project Development Platform... 8 2.2.1 Hardware... 8 2.2.2 Firmware... 8 2.2.3 Software... 8 2.3 Setup Development Platform... 8 3 TUNING BACKGROUND... 9 3.1 Touch Registers... 9 3.2 Types of Registers... 10 3.3 How to Tune... 10 3.3.1 Tuning in SOFTUNE... 10 3.3.2 Tuning in F-Touch... 11 4 HARDWARE PLATFORM... 12 4.1 Introduction... 12 4.2 Connect PC with BGMA... 13 4.3 Connect BGMA with EVB... 13 4.4 Power on EVB... 14 4.5 System is Connected... 15 5 FIRMWARE PLATFORM... 16 5.1 Install SOFTUNE... 16 6 SOFTWARE PLATFORM... 18 6.1 Tuning Software... 18 6.1.1 Install Microsoft.Net Framework... 18 6.1.2 Open Tuning Software... 21 3

6.2 Install USB Driver... 22 6.2.1 Install... 22 6.2.2 Check... 22 7 RUN ON THE PLATFORM... 23 7.1 Run Hardware... 23 7.2 Run Firmware... 24 7.3 Run Software... 24 8 TUNING BASED ON TOUCH DEVELOPMENT PLATFORM... 26 9 ADDITIONAL INFORMATION... 27 10 APPENDIX... 28 10.1 List of Figures and Tables... 28 4

Target products This application note is described about below products; Series MB95870K MB95860K MB95850K Product Number (not included Package suffix) MB95F876K MB95F866K MB95F856K 5

1 Introduction 1.1 Purpose This application note describes how to setup TSCMCU development platform, including hardware platform, firmware platform and software platform. 1.2 Definitions, Acronyms and Abbreviations TSC Capacitance Touch Sensor TSCMCU MCU with TSC inside F-Touch F-Touch for SOFTUNE 1.3 Document Overview The rest of document is organized as follows: Chapter 2 explains Touch Project Development. Chapter 3 explains Tuning Background. Chapter 4 explains Hardware Platform. Chapter 5 explains Firmware Platform. Chapter 6 explains Software Platform. Chapter 7 explains Run on the Platform. 6

2 Touch Project Development This chapter describes the touch project development. 2.1 Touch Project Development Flow Typical touch project development flow is shown in Figure 2-1. Figure 2-1: Touch Project Development Flow 7

2.2 Touch Project Development Platform PCB can be EVB or users PCB, the touch project development platform is shown in Figure 2-2. Figure 2-2: Touch Project Development Platform 2.2.1 Hardware EVB: MB2146-540-EVB-V1.2.0 BGMA: MB2146-07-E Power Supply: USB-B Cable PC 2.2.2 Firmware Sample project: (FWSC)TSCMCU-EVB 2.2.3 Software MCU Debug Tool: Softune Touch Debug Tool: F-Touch for SOFTUNE Other program: Driver of BGMA Driver of Software: Microsoft.NET Framework 2.3 Setup Development Platform Development platform can be setup quickly, the details are shown in below chapters. 8

3 Tuning Background This chapter describes the tuning background. 3.1 Touch Registers TSCMCU has many registers about touch, which shown as below. Table 3-1: Register Map of TSCMCU Register Abbreviation Register Name TER0 TS touch channel enable register 0 TER1 TS touch channel enable register 1 PSC TS prescaler control register WRESET TS warm reset register RSELn TS resistance select register ch. n BPDUR TS beep duration setting register DIOR1 TS direct output control register 1 DIOR2 TS direct output control register 2 DIOR3 TS direct output control register 3 FTSEL TS feature select register AICWAT TS AIC wait time setting register CALITV TS calibration interval setting register ITGTM TS integration time setting register IDLETM TS idle time setting register CONTROL TS control register INTMR TS interrupt mask register INTCR TS interrupt clear register FLTP TS filter period setting register FLTTH TS filter threshold setting register REFDLY TS reference delay setting register ALPHn TS alpha value setting register ch. n BETA TS beta value setting register STRTHn TS touch strength threshold setting register ch. n STRn TS touch strength register ch. n CALIPn TS calibrated impedance register ch. n IMPEn TS impedance register ch. n TOUCHL TS touch data register (lower) TOUCHH TS touch data register (upper) INTPR TS interrupt pending register 9

3.2 Types of Registers These registers can be divided into four types, sensitivity type, algorithm type, work type, and others. Sensitivity type, such as ALPHA, RSEL etc. Algorithm type, such as Filter, Str_th etc. TSC module Work type, such as PSC, TER etc. Other type, such as DIO, Beep etc. 3.3 How to Tune Figure 3-1: Types of Registers 3.3.1 Tuning in SOFTUNE As registers about touch are part of MCU registers, hence they can be tuned in SOFTUNE. Check registers: read, write Run code in SOFTUNE However it is difficult to tune for suitable parameters due to many registers, and it is also difficult to understand the effect of each register. Figure 3-2: Touch Registers in SOFTUNE 10

3.3.2 Tuning in F-Touch It is strongly recommended to tune in F-Touch. It is easy to observe the status of touch pads by four registers: Impedance, Cal_impedance, Touch byte, and Strength. 1. Impedance: this value is the original value of the touch pad. 2. Cal_impedance: this value is the impedance value + ALPHA value. 3. Touch byte: this value is the status of touch pads, when touch occurs. 4. Strength: this value is period of touching. This is the status of Touch byte. The color is gray when the touch pad is nontouched This value is impedance, it is less than Cal_impedance when the touch pad is non-touched This value is Cal_impedance, it is less than impedance when the touch pad is touched When the touch pad is touched, the color is turned to green This value is the time of touching. When the touch pad is touched, the color is turned to blue. Figure 3-3: Registers Used to Observe 11

4 Hardware Platform This chapter describes how to setup the hardware platform. 4.1 Introduction As touch sensor is becoming part of TSCMCU, it needs not to use extra tool as tuning equipment. Through Tuning Software, BGMA can acquire the implement register value and read the touch data etc. The usage of BGMA is similar to MCU emulation and debug. USB BGMA Adapter TSCMCU board Figure 4-1: Hardware Platform 1 BGMA Target Touch Board Figure 4-2: Hardware Platform 2 Note: F-Touch supports MB2146-07-E BGMA Adapter only. For more details about MB2146-07-E BGMA Adapter, please refer to SS702-00001-1v0-E. 12

4.2 Connect PC with BGMA Connect PC with BGMA. Figure 4-3: Connect PC with BGMA 4.3 Connect BGMA with EVB Connect BGMA with EVB. Figure 4-4: Connect BGMA with EVB 13

4.4 Power on EVB EVB is turned on. Figure 4-5: Power Supply 1 Figure 4-6: Power Supply 2 14

4.5 System is Connected Figure 4-7: System Connected 15

5 Firmware Platform This chapter describes how to setup the firmware platform. 5.1 Install SOFTUNE 1. Open setup folder, double-click and select setup.exe file, click Next when the following window appears. Figure 5-1: Set up of SOFTUNE-1 2. Click Browse to select folder where Setup would install files, and click Next. Figure 5-2: Set up of SOFTUNE-2 16

3. Check SOFTUNE Workbench, select SOFTUNE C Compiler and SOFTUNE Assembler Pack, and then click Next. Figure 5-3: Setup of SOFTUNE-3 4. Click Finish, and the installation is finished. Figure 5-4: Setup of SOFTUNE-4 17

6 Software Platform This chapter describes how to setup the software platform. 6.1 Tuning Software 6.1.1 Install Microsoft.Net Framework The tuning Software is F-touch, which is shown as below: Figure 6-1: F-Touch 1. If Framework is not installed in PC, F-Touch cannot work, and error window is popup, as below. Figure 6-2: Framework Error 18

2. Download Microsoft.Net Framework from Microsoft website, as below: http://www.microsoft.com/en-us/download/details.aspx?id=25150 3. Click dotnetfx.exe to install Framework Figure 6-3: Install dotnetfx.exe 4. Accept terms of the License Agreement. 5. Download Progress Figure 6-4: Install Framework step 1 Figure 6-5: Install Framework step 2 19

6. Install Progress. 7. Setup is completed. Figure 6-6: Install Framework step 3 Figure 6-7: Install Framework step 4 20

6.1.2 Open Tuning Software After Microsoft.Net Framework is installed, Tuning Software can be opened. Figure 6-8: F-Touch Interface 21

6.2 Install USB Driver 6.2.1 Install Users can find driver folder in this route, and run drv_install.bat as Administrator, open installation interface as below. Note: Please do not connect BGMA to PC. Figure 6-9: Install USB Driver 6.2.2 Check Connect BGMA MB2146-07 with PC, turn the power on, and then check the device manager list as below: Figure 6-10: Device Manager List If FUJITSU USB Driver for BGMA device is uninstalled, it needs to install the driver manually. 22

7 Run on the Platform This chapter describes how to run on the platform. 7.1 Run Hardware Figure 7-1 shows the System Connection. Figure 7-1: System Connection For more information, please refer to the MCU-UM-500014: MB2146_540_E-EVB_HW. 23

7.2 Run Firmware 1. Open sample project in SOFTUNE 2. Check if it can debug sample code in SOFTUNE and EVB Figure 7-2: Downloading 7.3 Run Software 1. Disconnect SOFTUNE with EVB 2. Check if it can debug in Tuning Software and EVB 24

Figure 7-3: Tuning Software Connect 25

8 Tuning Based on Touch Development Platform For more details about tuning, please refer to related documents as below. 1. AN702-00012 : HW_Guideline 2. AN702-00027 : FW_Guideline 3. AN702-00014 : IMPEDANCE_VS_Environment 4. AN702-00015 : Sensitivity_VS_Cover 5. AN702-00013 : Migration_to_TSCMCU 6. AN702-00019 : Waterproof_Guideline 7. AN702-00018 : Quick_Taste_Register 8. AN702-00016 : Test_Method 9. AN702-00017 : Trouble_Shooting 10. AN702-00011 : Quick_Start_by_F-Touch 11. AN702-00009 : Setup_Development_Platform 12. AN702-00010 : Get_First_Touch_Project 13. AN702-00020 : Tuning_Parameters_by_F-Touch 14. AN702-00021 : Tuning_Sensitivity_by_F-Touch 15. AN702-00022 : Tuning_for_Cover_by_F-Touch 16. AN702-00023 : Tuning_for_Water_Robust_by_F-Touch 17. AN702-00024 : Observe_Noise_by_F-Touch 18. AN702-00025 : Check_Touch_by_F-Touch 19. AN702-00026 : Solve_Special_Problem_by_F-Touch 20. AN702-00008 : Design_Guide 21. AN702-00007 : Start_Guide 26

9 Additional Information For more Information on FUJITSU semiconductor products, visit the following websites: http://www.fujitsu.com/global/services/microelectronics/documents/ 27

10 Appendix 10.1 List of Figures and Tables Table 3-1: Register Map of TSCMCU... 9 Figure 2-1: Touch Project Development Flow... 7 Figure 2-2: Touch Project Development Platform... 8 Figure 3-1: Types of Registers... 10 Figure 3-2: Touch Registers in SOFTUNE... 10 Figure 3-3: Registers Used to Observe... 11 Figure 4-1: Hardware Platform 1... 12 Figure 4-2: Hardware Platform 2... 12 Figure 4-3: Connect PC with BGMA... 13 Figure 4-4: Connect BGMA with EVB... 13 Figure 4-5: Power Supply 1... 14 Figure 4-6: Power Supply 2... 14 Figure 4-7: System Connected... 15 Figure 5-1: Set up of SOFTUNE-1... 16 Figure 5-2: Set up of SOFTUNE-2... 16 Figure 5-3: Setup of SOFTUNE-3... 17 Figure 5-4: Setup of SOFTUNE-4... 17 Figure 6-1: F-Touch... 18 Figure 6-2: Framework Error... 18 Figure 6-3: Install dotnetfx.exe... 19 Figure 6-4: Install Framework step 1... 19 Figure 6-5: Install Framework step 2... 19 Figure 6-6: Install Framework step 3... 20 Figure 6-7: Install Framework step 4... 20 Figure 6-8: F-Touch Interface... 21 Figure 6-9: Install USB Driver... 22 Figure 6-10: Device Manager List... 22 Figure 7-1: System Connection... 23 Figure 7-2: Downloading... 24 Figure 7-3: Tuning Software Connect... 25 28