manualshive.com logo in svg
background image

TOWER SYSTEM 

Lab Tutorial for TWR-S08MM128-KIT

MC9S08MM128

Electrocardiogram (EKG)  

with Freescale USB stack

LAB

1

Содержание Freescale MC9S08MM128

Страница 1: ...TOWER SYSTEM Lab Tutorial for TWR S08MM128 KIT MC9S08MM128 Electrocardiogram EKG with Freescale USB stack LAB 1 ...

Страница 2: ...the Freescale MED EKG graphical user interface GUI NOTE The official marking for S08MM devices is MC9S08MM In this document the MC9 prefix is omitted for simple referencing NOTE Please refer to the MED EKG schematic for circuit detail The schematic is included in the DVD Stages 6 and 7 may not be necessary in your own EKG application They are included in the MED EKG to allow you to use off chip de...

Страница 3: ...rolled by the S08MM128 pin PTE7 To turn on the MED EKG module in your software set the PTE7 pin to low output active low To turn the module off set the PTE7 to high output This has already been done in the demo code of this lab Right Electrodes Place right hand fingers here for EKG reading See lab guide below Another way to sample the user EKG is by using Welch Allyn ECG Lead Wires for Atlas Monit...

Страница 4: ...elects the USB port to support device class transmission which is required for printing the EKG signal to the MED EKG GUI 3 Set the default jumpers for MED EKG as shown in Step 2 of the QSG or Figure 1 in this lab Note the J2 setting there are two silk screened labels indicating pin 1 around J2 Set J2 as indicated in Figure 1 MED EKG module in this lab 4 On the TWR S08MM128 module remove the jumpe...

Страница 5: ...M driver Freescale OSBDM is used to program and debug the main MCU S08MM128 The first time the TWR S08MM128 mini USB connects to the PC Windows will ask to load the driver If the OSBDM has already been used on your PC Windows will not ask for the driver and you can skip to Step 12 9 On the screen shown here select No not at this time and click Next 10 At the next screen select Install the software...

Страница 6: ...rect CodeWarrior product and version Multiple CodeWarrior programs can be installed on the same computer 14 In the CodeWarrior menu select File Open Then browse to the following path and file d work LAB1 MEDEKGSW SW for MM devices ECG for S08MM Ecg for S08MM mcp 15 Ensure that the selected target is HCS08 FSL Open Source BDM Click the Debug button as shown below NOTE You may encounter compiler war...

Страница 7: ...l NET 2 0 or 3 5 19 Double click on file MED_EKG_GUI exe to start the GUI installation It is located in the folder d work LAB1 MEDEKGSW MED_EKG_GUI exe 20 In the installation popup windows leave the default settings and keep clicking the Next button to start the installation 21 During installation the window below will pop up Click OK to continue 22 When installation is complete click the Finish b...

Страница 8: ...a list or specific location 26 In the next window click Browse and select the following folder c Program Files Freescale MED EKG Driver Then click Next 27 If you see the following dialog box click Install this driver software anyway 28 When the installation is complete click Finish ...

Страница 9: ...he figure below NOTE COM10 is just an example Each computer may assign a different Virtual Com Port number 30 Open the Graphical User Interface from Start All Programs Freescale MED EKG 31 Select the COM port number found in Step 29 Then click the Start button You will see the GUI start to display a random waveform NOTE Program S08MM128 with LAB1 source code and connect the USB to TWR SER before o...

Страница 10: ...ferent finger positions but wait for stabilization time usually 10 seconds Experiment with this step until the GUI is drawing a similar EKG signal to the image at left 35 If the graphed signal amplitude is too small or too big press and release SW4 to reduce the gain or SW2 to increase the gain from the TWR S08MM128 module SW4 will have no effect once OPAMP2 reaches the smallest gain of 2 SW2 will...

Страница 11: ...e steps Open the Ecg h file from the following path d work LAB1 MEDEKGSW SW for MM devices app ekg Med EKG In the Ecg h file comment out define ECG_DSC to define ECG_DSC Reprogram the S08MM128 repeat step 13 to 17 Reconnect the mini USB cable to TWR SER USB port Repeat steps 29 to 36 You will notice the EKG amplitude will be much smaller This is because you are no longer reading the results amplif...

Страница 12: ... 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 Free...

Отзывы: