Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128. The industry s most complete solution for portable medical applications

Similar documents
Lab Tutorial for TWR-S08MM128-KIT TOWER SYSTEM LAB MC9S08MM128. Electrocardiogram (EKG) with Freescale USB stack

Quick Start Guide for TWR-S08LL64 TOWER SYSTEM MC9S08LL64. S08 ultra-low-power LCD segment MCU

Controller Continuum. for Microcontrollers V6.3. Quick Start

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

for ColdFire Architectures V7.2 Quick Start

Sensorless BLDC Motor Control Based on MC9S08PT60 Tower Board User Guide

USB Bootloader GUI User s Guide

for Freescale MPC55xx/MPC56xx Microcontrollers V2.10 Quick Start

Figure 1. Power Barrel Connector Requirements

MC56F825x/MC56F824x (2M53V) Chip Errata

Electrode Graphing Tool IIC Driver Errata Microcontroller Division

Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME)

Model-Based Design Toolbox

56F8300 BLDC Motor Control Application

CodeWarrior Development Studio for Freescale 68HC12/HCS12/HCS12X/XGATE Microcontrollers Quick Start SYSTEM REQUIREMENTS Hardware Operating System 200

for StarCore DSP Architectures Quick Start for the Windows Edition

Using IIC to Read ADC Values on MC9S08QG8

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

Introduction to the 16-bit Tower Boards Using the MC9S12GN32

Component Development Environment Installation Guide

MC33696MODxxx Kit. 1 Overview. Freescale Semiconductor Quick Start Guide. Document Number: MC33696MODUG Rev. 0, 05/2007

Quick Start Guide for TWR-MC56F8257 TOWER SYSTEM MC56F8257. For power conversion and motor control applications

2005: 0.5 PQ-MDS-PCIEXP

Quick Start Guide TWR-S08PT60. 5-Volt S08P Family of 8-bit MCUs for Industrial and Appliance Applications TOWER SYSTEM

CodeWarrior Development Studio

Quick Start Guide for TWR-MCF5225X TOWER SYSTEM. MCF5225X ColdFire connectivity MCUs

Lab Tutorial for TWR-S08GW64 TOWER SYSTEM. MC9S08GW64 LCD segment MCU for flow meters and energy metering applications

MTIM Driver for the MC9S08GW64

DEMO9S08AC60E. User s Guide. Freescale Semiconductor User s Guide. DEMO9S08AC60EUG Rev. 0.1, 11/2007

MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations

16-bit MCU: S12XHY256 Automotive Cluster Demo by: Jose M. Cisneros Steven McLaughlin Applications Engineer Microcontroller Solutions Group, Scotland

NOVPEK NetLeap User Guide

PQ-MDS-QOC3 Module. HW Getting Started Guide. Contents. About This Document. Required Reading. Definitions, Acronyms, and Abbreviations

KIT34901EFEVB Evaluation Board

56F805. Digital Power Factor Correction using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale.

Use of PGA on MC56F800x Interaction of PDB, PGA and ADC

Apollo2 EVB Quick Start Guide

CodeWarrior Development Studio for StarCore DSP SC3900FP Architectures Quick Start for the Windows Edition

Using the Asynchronous DMA features of the Kinetis L Series

Mask Set Errata for Mask 2M40J

Model Based Development Toolbox MagniV for S12ZVC Family of Processors

Quick Start Guide TWR-S08DC-PT60. Tower System Daughter Card for the 5-Volt 8-bit MC9S08P Family TOWER SYSTEM

KIT33972AEWEVBE Evaluation Board

Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen

Using the Project Board LCD Display at 3.3 volts

EchoRemote Evaluation Software for Windows

TWR-K53N512 Quick Start Guide

MSC8144AMC-S Getting Started Guide

TWR-KV10Z32 Sample Code Guide for CodeWarrior Board configuration, software, and development tools

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5

Using the CAU and mmcau in ColdFire, ColdFire+ and Kinetis

KITVALVECNTLEVM Valve Controller SoC Evaluation Kit

MC33794 Touch Panel System Using E-Field Sensor Setup Instructions

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series

KTTWRCM3120UG TWR-CM3120-EVM. TWR-CM3120-EVM Tower System Platform. Figure 1. TWR-CM3120-EVM

CodeWarrior Development Studio for etpu v10.x Quick Start SYSTEM REQUIREMENTS

etpu Automotive Function Set (Set 2)

Symphony SoundBite: Quick Start with Symphony Studio. Installation and Configuration

Upgrade the Solution With No Changes 2 Upgrade the Solution With No Changes If a Codebase does not contain updates to its properties, it is possible t

1 Introduction. 2 Problem statement. Freescale Semiconductor Engineering Bulletin. Document Number: EB727 Rev. 0, 01/2010

CodeWarrior Development Studio for Power Architecture Processors Version 10.x Quick Start

M68HC705E24PGMR PROGRAMMER USER'S MANUAL

CodeWarrior Kernel-Aware Debug API

Using the Multi-Axis g-select Evaluation Boards

Interfacing MPC5xx Microcontrollers to the MFR4310 FlexRay Controller David Paterson MCD Applications, East Kilbride

PDB Driver for the MC9S08GW64

Getting Started with the Microcontroller Student Learning Kit (MCUSLK) Using the MC9S12C32 MCU Application Module (CSM-12C32)

TWR-LS1021A Getting Started

Quick Start Guide. TWR-MPC8309 PowerQUICC Processor with Industrial Connectivity and Protocol Off-Load Engine TOWER SYSTEM

IIC Driver for the MC9S08GW64

Freescale Semiconductor Inc. Microcontroller Solutions Group. TWR-MCF51CN User Manual Rev. 1.1

TWR-K60F120M Quick Start Guide

PQ-MDS-PIB. HW Getting Started Guide 12,13. January 2006: Rev Check kit contents

TWR-K70F120M Quick Start Guide

Converting Earlier Versions of CodeWarrior for StarCore DSPs Projects to Version

PCB Layout Guidelines for the MC1321x

TWR-KV10Z32 Sample Code Guide for IAR Board configuration, software, and development tools

Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series

MPC8349E-mITX-GP Board Errata

HVP-KV10Z32 User s Guide

Quick Start Guide. TWR-K70F120M High-Performance MCUs with Graphics LCD, Connectivity and Security TOWER SYSTEM

Quick Start Guide. TWR-P1025 QorIQ Processor with Networking and Industrial Connectivity and Protocol Offload Engine TOWER SYSTEM

Introduction to the S12G Family EEPROM Including a Comparison between the S08DZ, S12XE, and S12P Families

Quick Start Guide TWR-56F8400. The Ultimate Solution in Performance and Precision for Energy-Efficient Innovation TOWER SYSTEM

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

MCF5445x Configuration and Boot Options Michael Norman Microcontroller Division

MCF54451, MCF54452, MCF54453, MCF54454,

Freescale Semiconductor Inc. TWR-MCF51CN User Manual Rev. 1.2

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage

KITUSBSPIEVME USB-to-SPI Interface Board Featuring the MC68HC908JW32

Quick Start Guide. TWR 56F8200 Tower System Module for MC56F823xx and MC56F827xx. Digital Signal Controllers TOWER SYSTEM

Managing Failure Detections and Using Required Components to Meet ISO7637 pulse 1 on MC33903/4/5 Common Mode Choke Implementation

i.mx31 PDK Power Measurement with GUI

Interfacing MPC5500 Microcontrollers to the MFR4310 FlexRay Controller Robert Moran MCD Applications, East Kilbride, Scotland

Integrating FreeMASTER-Time Debugging Tool with CodeWarrior for Microcontrollers v10.x Project

M68HC705E6PGMR PROGRAMMER USER'S MANUAL

Quick Start Guide. TWR-K70F120M High-Performance MCUs with Graphics LCD, Connectivity and Security TOWER SYSTEM

PAS08QF80 User s Manual

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer

SN8F5000 Starter-Kit User Manual

Transcription:

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128 The industry s most complete solution for portable medical applications

TOWER SYSTEM Get to Know the TWR-S08MM128-KIT BDM Interface for MC9S08MM128 (Optional) RS232 Connector Test Point TP8 and TP9 are Referenced to Ground Flexis MM 12-bit DAC Output 4x Flexis MM Differential ADC Channels at Test Point TP2 to TP6 Mini-USB OSBDM Secondary Connector Flexis MM OPAMP Access Points 32.768 khz Crystal for Flexis MM XOSC1 MC9S08MM128 J11, Current Measurement 16 MHz Crystal for Flexis MM XOSC2 Figure 1: TWR-S08MM128 Module Primary Connector Potentiometer LED1-LED4 Infrared LED Phototransistor User Buttons and RESET SW2 SW4 SW1 = RESET Connector to MED-EKG Module (Interface to MM DAC, TRIAMPs, OPAMPs and ADC Pins) Accelerometer MMA7361L 3-Axis TWR-S08MM128-KIT Freescale Tower System The TWR-S08MM128 module is part of the Freescale Tower System, a modular development platform that enables rapid prototyping and tool re-use through reconfigurable hardware. Take your design to the next level and begin constructing your Tower System today.

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM Introduction S08MM is the 8-bit series of the Flexis MM family. It provides ultra low-power operation, USB connectivity and integrated analogs (OPAMPs, TRIAMPs, DAC and ADC) all in one cost-effective, 8-bit microcontroller. S08MM devices are ideal for portable medical applications or any other application requiring a significant amount of precision analog such as instrumentation and industrial control. The TWR-S08MM128-KIT features the 8-bit MC9S08MM128 and consists of the following components: TWR-S08MM128 Also referred to as the Tower System MCU module and features the MC9S08MM128 TWR-SER Tower System serial module that features Ethernet, USB, RS232/485 and CAN TWR-ELEV Two Tower System elevator modules (Primary module and Secondary module) that provide structural integrity, communications interfaces and power regulation circuitry with standardized bus MED-EKG Electrocardiograph development kit that showcases an EKG demonstration using the Flexis MM on-chip operational amplifiers and analog modules DVD Includes five lab tutorials, software projects, application notes, board schematics and supporting resources Five lab demonstrations Lab 1 is printed and included in the MED-EKG box of the TWR-S08MM128-KIT. Digital copies of all five labs are included in the DVD in the Software tab, under the Labs section Two mini-usb Cables One for TWR- SER and one for TWR-S08MM128 Quick Start Guide In this Quick Start Guide, you will learn how to build a Tower System, download code to the Flexis MM device and debug using CodeWarrior IDE NOTE: The official marking for S08MM devices is MC9S08MM. In this document, the MC9 prefix is omitted for simple referencing.

TOWER SYSTEM Primary edge of TWR-S08MM128 and TWR-SER must connect to this Primary elevator, which has components on the bottom of the board, including the mini- USB connector. This mini-usb port is only used for OSBDM interface to program and debug the S08MM128. It does not connect to the S08MM128 USB ports. Make sure this side is the Secondary elevator. Set Jumper J16 on TWR-SER module to middle position connecting pins 3 and 4 as shown. This configures the module for USB device mode, which is required by the labs in this kit. This mini-usb port on the TWR-SER powers the whole Tower System setup. It interfaces with the S08MM128 USB module. Users can test the S08MM128 USB via this mini-usb port. This is the TWR-SER module. This is the mini-usb from the Primary elevator. Connection to this is not needed in this kit. Figure 2: Tower System Assembled NOTE: Figure 2 is a Tower System without the optional MED-EKG assembly. For details on how to assemble the MED-EKG, please refer to Lab 1 on the DVD.

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM Step-by-Step Installation Instructions In this Quick Start Guide, you will learn how to set up the TWR-S08MM128-KIT. 1 Install Software and Tools Install CodeWarrior Development Studio for Microcontrollers V6.3 (Evaluation Version) Processor Expert V3.09 (graphical code generator) Install Service Pack for S08MM Install Flexis MM USB Bootloader GUI (Required for Lab 5) Install Freescale USB stack with PHDC v2.5 (USB demos and codes are optional components, but are not needed for labs) Install Embedded Multilink Toolkit (GUI required for labs) 2 Configure the Hardware 1. Build the Tower System as shown in Figure 2, and make necessary configurations according to the notes that point to the component settings. (continued on next page) Install in the order listed. These programs are included on the DVD. Look under the development tools tab in your DVD. For updates, please visit freescale.com/s08mm.

TOWER SYSTEM 2 (continued from previous page) 2. Verify the default jumper settings for the TWR-S08MM128 module. Some labs require default settings, please refer to Table 1. Figure 3: TWR-S08MM128 with Default Jumpers Used in Table 1 Jumper Default Setting on TWR-S08MM128 Module Name J16 1 and 2 J15 1 and 2 J12 Open J3 Open J8 Open J7 Open J5 Open J6 1 and 2 J1 1 and 2 J2 1 and 2 J10 2 and 3 J19 1 and 2, 3 and 4, 5 and 6 J26 2 and 3 J25 6 and 5, nothing on pin 4, 3, 2, 1 J24 Open J11 1 and 2 J9 1 and 2 J4 1 and 2 J18 1 and 2, 3 and 4, 5 and 6, 7 and 8, 9 and 10, 11 and 12, 13 and 14 SW3 Slider 1 at OFF (Position 1) Slider 2 at OFF (Position 2) Table 1: Default Settings on TWR-S08MM128 Module NOTE: Please see TWR-S08MM128 schematic for jumper labels and functions.

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM 2 (continued from previous page) 3. This step is only needed for the Lab 1 EKG demo. Verify the MED-EKG module is configured to default settings. This is required to run the MED-EKG demo. Jumper Default Setting on TWR-S08MM128 Module Name J2 1 and 2 J3 2 and 3 J4 2 and 3 J5 Open J6 2 and 3 J7 2 and 3 J8 2 and 3 J9 2 and 3 J10 All open (J10 connects to DSC programmer. It is not needed for this demo.) J11 2 and 3 Table 2: Default Settings on MED-EKG Module Figure 4: MED-EKG with Default Jumpers Used in Table 2 NOTE: Please see MED-EKG schematic for jumper labels and functions.

TOWER SYSTEM 3 Connect the Tower System to the Computer The assembled Tower System now has three USB connectors: 1. The USB connector on TWR-SER connects to the USB peripheral of the S08MM128 MCU. 2. The USB connector on TWR- S08MM128 is used for programming and debugging the S08MM128 MCU. The debugger interface is the Freescale open-source background debug module (OSBDM). 3. The USB connector on the Primary elevator merely powers the Tower System. There is no data through this connector and is not used in this kit. To power on an assembled Tower System, connect the PC to the mini-usb port (J14) on the TWR-SER module. The S08MM128 is programmed with a blinking LED application, so you should see LED 1 to LED 3 blink the first time the board is powered. LED 1 to LED 3 are located near the potentiometer. When set up as an assembled Tower System, the power source is from the TWR-SER mini- USB. The TWR-S08MM128 mini-usb acts only as an OSBDM function and should not be used to power the system. Be sure to connect TWR-SER USB before the TWR-S08MM128 USB. Do not connect TWR-S08MM128 USB without TWR-SER USB or damage could result. NOTE: When the TWR-S08MM128 module is used stand-alone, USB port (J17) is both the power source and the debugger interface. When the TWR-S08MM128 module is assembled as a Tower System, the USB port (J17) is only a OSBDM. LEDs 1 to 4 correspond to silk-screened labels D9 to D12 on the TWR-S08MM128 module.

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM 4 Program S08MM128 and Debug Code 1. To program the S08MM128 with a different application, connect the USB from the PC to the TWR-SER, and then connect another USB from the PC to TWR-S08MM128. If this is the first time you have connected the board, a window may appear and ask about installing new hardware for the on-board OSBDM circuit. Install the driver to allow CodeWarrior debugging with OSBDM. NOTE: If Windows cannot locate the driver automatically, please specify the following path: C:\Program Files\Freescale\ CodeWarrior for Microcontrollers V6.3\Drivers\Osbdm-jm60. (continued on next page)

TOWER SYSTEM 4 (continued from previous page) 2. Look for the S08MM POT ADC application in the DVD under the Software tab, Labs section. Copy the file to your working directory and unzip it. 3. Start CodeWarrior by selecting it from the Windows Start menu. Make sure you open Version 6.3 if you have multiple versions installed. 4. From the CodeWarrior main menu, choose File > Open and open the following file: d:\work\pot_adc\ S08MM_POT_ADC\POT_ADC.mcp. This is the project you just created in number 1 above. 5. In CodeWarrior, click Debug. This will activate the hiwave debugger which also displays the following message. Click OK and CodeWarrior will use the on-board OSBDM circuit to erase and program the S08MM128 internal flash. 6. In the True-Time Simulator and Real-Time Debugger window, click (start and continue) to run the application. Rotate the potentiometer back and forth from the TWR-S08MM128 module. You will see that LED 1 to LED 4 will turn off and on sequentially depending upon the rotation of the potentiometer. 7. In the same debugger window, you can click on this button to halt the application. The source window will stop at the line of code where you halt the application. 8. These buttons allow you to do Single Step, Step Over, Step Out and Assembly Step in your project.

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM 5 Demonstrate the Labs Lab 1: MED-EKG Development Board Demo Set up hardware and run software to read your electrocardiography Lab 2: Interfacing with HealthLink and Google Health Send emulated health data to HealthLink and Google Health Lab 3: Low-Power and Measurement Engine Demo Explore the energy saving capabilities of the S08MM128 and its powerful built-in analog modules such as OPAMP, DAC and ADC Lab 4: Accelerometer Demo Sample accelerometer outputs and display a GUI via the S08MM128 serial function Lab 5: USB Bootloader Use a USB bootloader GUI tool to update firmware via the S08MM128 USB interface NOTE: Lab 1 is printed and included in the MED- EKG box of the TWR-S08MM128-KIT. Digital copies of all five labs are included in the DVD in the Software tab, Labs section. Under the Software tab, click Next page to get to the Labs section.

TOWER SYSTEM Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any liability, including without limitation consequential or incidental damages. Typical parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary indifferent applications and actual performance may vary over time. All operating parameters, including Typicals, must be validated for each customer application by customer s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claims alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. RoHS-compliant and/or Pb-free versions of Freescale products have the functionality and electrical characteristics as their non-rohs-complaint and/or non-pb-free counterparts. For further information, visit freescale.com or contact your Freescale sales representative. For information on Freescale s Environmental Products program, visit freescale.com/epp. To learn more about the TWR-S08MM128-KIT and other Freescale medical products, please visit freescale.com/s08mm, freescale.com/medical and freescale.com/tower. Freescale, the Freescale logo and CodeWarrior are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Flexis and Processor Expert are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. Doc Number: S08MM128QSG / REV 0 Agile Number: 926-26136 / REV A