Advertisement

Quick Links

Advertisement

Table of Contents
loading

Summary of Contents for Freescale Semiconductor PE Micro DEMO9S08QE8

  • Page 2 Purchase Agreement P&E Microcomputer Systems, Inc. reserves the right to make changes without further notice to any products herein to improve reliability, function, or design. P&E Microcomputer Systems, Inc. does not assume any liability arising out of the application or use of any product or circuit described herein. This software and accompanying documentation are protected by United States Copyright law and also by International Treaty provisions.
  • Page 3: Table Of Contents

    DEMOQE Logic Analyzer Application ............11 DEMOQE Terminal Application..............12 DEMOQE Unsecure Application ..............13 DEMOQE Accelerometer Demo Application ..........14 DEMOQE Serial Grapher Application ............15 DEMONSTRATION MICROCONTROLLER APPLICATIONS...... 18 Quick Start Application ................. 18 Serial Accelerometer Application ..............19 DEMO9S08QE8 User Manual...
  • Page 4 Optional Jumpers For Various VDD And VSS ..........28 DEMO9S08QE8 CODE DEVELOPMENT SOFTWARE....... 29 Using CodeWarrior With The DEMO9S08QE8..........29 Using P&E Software With The DEMO9S08QE8...........29 TRANSITIONING TO YOUR OWN TARGET ..........29 Hardware Solutions At A Glance ..............30 Working With P&E’s USB Multilink ...............31 Working With P&E’s Cyclone PRO ...............32...
  • Page 5: Introduction

    Freescale MC9S08QE8 microcontroller. P&E’s Embedded Multilink circuitry on the DEMO9S08QE8 board allows the processor on the DEMO9S08QE8 to be debugged and programmed via USB from the PC. In addition, the demo board can be powered using the USB bus.
  • Page 6: Handling Precautions

    MC9S08QE8 daughter card, in a manner such as to prevent electrostatic discharge. HARDWARE FEATURES The DEMO9S08QE8 is a demonstration and development system for Freescale’s MC9S08QE8 microcontroller. Application development is quick and easy using P&E’s Embedded Multilink circuitry and the included software tools and examples.
  • Page 7 COM_EN for 1.8V to 4.25V RS232 Transceiver • TXD_EN for SCI_TXD to Embedded Multilink • RXD_EN for SCI_RXD to Embedded Multilink • INPUT_EN for two input channels to Embedded Multilink • Specifications: • Board Size 3.5 x 4.0 • Power Input: DEMO9S08QE8 User Manual...
  • Page 8: On-Board Logic Analyzer

    CD-ROM, displays the logic analyzer signals on a PC. On-Board Virtual Serial Port The DEMOQE board has a built-in virtual serial port which may be connected to the QE processor’s SCI RXD/TXD. This allows certain PC applications to DEMO9S08QE8 User Manual...
  • Page 9: Demoqe Daughter Card Features

    PC. The Embedded Multilink driver should be installed with the CodeWarrior Development Studio software or from the DEMOQE Resources in the CD-ROM before the PC is connected to the DEMO9S08QE8. Operating System Requirements The following are the resources required to run the CodeWarrior Development Studio and the DEMO9S08QE8: •...
  • Page 10: Quick Startup

    DEMOQE Resources CD-ROM are listed in Section 1.4 - Recommended Materials On DEMOQE Resources CD. Quick Startup Only a few steps are required to get the DEMO9S08QE8 up and running: Step 1. If you do not have CodeWarrior Development Studio version 6.0 installed on your computer, please install it using the accompanying CD-ROM.
  • Page 11: Hardware Setup

    Hardware Setup 3.5.1 First-Time Connection The DEMO9S08QE8 may be connected to a PC through a USB port. Connection steps are listed below in typical order: 1. Install the required software, as described in the previous section. 2. Make sure the jumpers for USB_PWR, 3V for VOLT_EN, and REG_VDD for VDD_SELECT are installed.
  • Page 12 Figure 3-2: Found New Hardware Wizard Dialog (1 of 4) Select the “Install the software automatically (Recommended)” option and click the “Next” button. 6. Windows will install the driver files to your system. At the end of the installation, the following dialog box will appear: DEMO9S08QE8 User Manual...
  • Page 13 Figure 3-4: Found New Hardware Wizard Dialog (3 of 4) Select the “Install the software automatically (Recommended)” option and click the “Next” button. 8. Windows will install the driver files to your system. At the end of the installation, the following dialog box will appear: DEMO9S08QE8 User Manual...
  • Page 14: Operating Modes

    Figure 3-5: Found New Hardware Wizard Dialog (4 of 4) Click the “Finish” button to exit the “Found New Hardware Wizard”. If the DEMO9S08QE8 hardware interface driver is now properly installed on your system, the green USB LED on the DEMOQE Base Board should be illuminated.
  • Page 15: Run Mode

    Section 8 - DEMO9S08QE8 CODE DEVELOPMENT SOFTWARE for more information. Run Mode The DEMO9S08QE8’s rich component list empowers it to perform a variety of tasks. Once an application is developed, debugged, and programmed properly into the QE8 internal flash memory, it can run with or without connecting to a host.
  • Page 16: Demoqe Terminal Application

    PC and transmit it out of the serial port. There are also delays which are automatically inserted in the transmission output to prevent overruns. It is recommended that these defaults not be changed. DEMO9S08QE8 User Manual...
  • Page 17: Demoqe Unsecure Application

    Unsecure application will erase a secure device to make it unsecure. This application works with the DEMOQE board as well as other user hardware connected to the PC via the USB Multilink or Cyclone PRO hardware interfaces. DEMO9S08QE8 User Manual...
  • Page 18: Demoqe Accelerometer Demo Application

    X, Y, and Z accelerometer signals, as well as the current processor loading. For this application to work properly, the microcontroller- based serial accelerometer application must be programmed into the microcontroller which is plugged into the DEMOQE board. DEMO9S08QE8 User Manual...
  • Page 19: Demoqe Serial Grapher Application

    The virtual serial port exists on several of P&E’s embedded USB multilink designs including the DEMOQE board. This PC-based application is included on the CD-ROM that accompanys the DEMOQE and may also be found at: http://www.pemicro.com/fixedlinks/demoQEtoolkit.html. DEMO9S08QE8 User Manual...
  • Page 20 The vertical axis displays the incoming data as the magnitude of each waveform, and the horizontal axis displays the number of samples. The graph has a limited size, DEMO9S08QE8 User Manual...
  • Page 21 The nn values are 00-FF and correspond in order to the data displayed on the following graph lines : W, Z, Y, X. AnnBnnCnnDnn The nn values are 00-FF and correspond in order to the data displayed on the DEMO9S08QE8 User Manual...
  • Page 22: Demonstration Microcontroller Applications

    LED for each of the buttons which may be pressed on the DEMO9S08QE8 board. The potentiometer controls the intensity of two LEDs on the DEMO9S08QE8 board, via PWM signals. This application comes pre-programmed into the memory of the QE8 processor.
  • Page 23: Serial Accelerometer Application

    Embedded Multilink circuitry or a 2.5mm barrel connector. The on-board regulator can regulate the output to either 2.1V or 3V. The DEMO9S08QE8 is fully functional at both voltages. Power input and voltage selection are achieved by using 3 option headers.
  • Page 24 J4 - Regulator Output Selection Jumper VOLT_EN The regulator can output either a 2.1VDC or 3VDC voltage for the DEMO9S08QE8. The VOLT_EN jumper J4 selects the voltage. Figure 7-2 shows the regulator output selection details. Select regulator output to be 2.1V.
  • Page 25: Rs232 Communications

    SCI signals. The transceiver operates from 1.8V to 4.25V, and it can be enabled or disabled via jumper settings or through firmware control. The DEMO9S08QE8 also integrates the SCI signal into the Embedded Multilink circuitry. A user can communicate with the microcontroller SCI module via either the on-board DB9 connector or the Embedded Multilink circuitry.
  • Page 26 Multilink SCI circuitry. This is the default setting. Figure 7-5: SCI TXD Signal Selection Jumper TXD_EN (J7) 7.2.3 J8 - SCI Transceiver Enable COM_EN (J8) Enables the SCI Transceiver. The user may control PTC5 in firmware to enable or disable the transceiver. DEMO9S08QE8 User Manual...
  • Page 27: Led Display Port

    PTE6 and PTE7 have no effect on QE8 devices. Input and Reset Switches The DEMO9S08QE8 has an option to connect two signals, PTC0 and PTC1, to the Embedded Multilink for signal processing. The two signals are connected or disconnected to IN0 or IN1 correspondingly, via jumpers P&E INPUT_EN (J11).
  • Page 28 By default, all jumpers are installed to enable all the switches. Figure 7-9: Jumper Settings for Light Touch Switches KEY_ENABLE (J12) Note: PTD2 and PTD3 have no effect on QE8 devices. 7.4.3 J18 - Reset Switch Enable and Reset LED Display Enable Jumper DEMO9S08QE8 User Manual...
  • Page 29: 3-Axis Accelerometer Jumper Settings

    Figure 7-10: Reset Switch and Reset LED enable Jumper (J18) 3-Axis Accelerometer Jumper Settings The DEMO9S08QE8 integrates a 3-axis accelerometer. Its enable or disable, sensitivity levels, and output signal connections are all jumper settable. Jumpers J13, J14, J15 and J16 are associated with the accelerometer.
  • Page 30 Puts the 3-axis accelerometer into sleep mode. The user may control PTC4 in firmware to enable or disable the accelerometer. In this configuration, the user needs to pay close attention to LED PTC4 and RSTO configuration. Figure 7-13: Accelerometer Sleep Mode Jumper settings (J15) DEMO9S08QE8 User Manual...
  • Page 31: Buzzer

    Enables Buzzer to be controlled by PTB5. This is the default setting. Figure 7-15: Accelerometer Signal Output ACC_EN (J19) IIC Pull-up The DEMO9S08QE8 provides external pull-up resistors for SCL and SDA lines, enabled by installing the corresponding jumpers on J20. By default both jumpers are installed.
  • Page 32: Analog Input Potentiometer

    7.10 Optional Jumpers For Various VDD And VSS The DEMO9S08QE8 provides 5 jumpers, J22 through J25, for different VDD and VSS connections on the bottom of the board. By default, they are not populated and are shorted correspondingly with zero-ohm resistors in parallel, except J24 which is populated.
  • Page 33: Demo9S08Qe8 Code Development Software

    TRANSITIONING TO YOUR OWN TARGET Once you have finished working with the DEMO9S08QE8 and are ready to build your own target, you will need a hardware tool to allow you to develop using your own board. P&E’s USB Multilink and P&E’s Cyclone PRO offer two effective solutions, depending on your needs.
  • Page 34: Hardware Solutions At A Glance

    The USB Multilink is a development tool that is functionally comparable to the Embedded Multilink circuitry on the DEMO9S08QE8. It will enable you to debug your code and program it onto your target. The Cyclone PRO is a more versatile and robust development tool with advanced features and production capabilities.
  • Page 35: Working With P&E's Usb Multilink

    The user can then directly control the target’s execution, read/write registers and memory values, debug code on the processor, and program internal or external FLASH memory devices.The USB Multilink enables you to debug, program, and test your code on your board. DEMO9S08QE8 User Manual...
  • Page 36: Working With P&E's Cyclone Pro

    The Cyclone PRO has over 3Mbytes of non-volatile memory, which allows the onboard storage of multiple programming images. When connected to a PC for programming or loading it can communicate via the ethernet, USB, or serial interfaces. DEMO9S08QE8 User Manual...
  • Page 37: Troubleshooting

    PC, the first step is to make sure that the DEMO9S08QE8 hardware is connected to the PC via a USB 2.0 high-speed cable. If it is connected, unplug and then plug in the USB cable on the DEMO9S08QE8 board and click refresh in the connection assistant.
  • Page 38: Codewarrior Installation Fails (Windriver Error)

    (D) Using a USB Hub The DEMO9S08QE8 is a high-power USB device. If a USB Hub is used, it must be a self-powered hub (i.e., with its own power supply). If the Hub is not self-powered the DEMO9S08QE8 will not work.
  • Page 39 If you are unable to disable the WinDriver system driver in the above fashion, you can delete the file c:\windows\system32\windrvr6.sys and then reboot your machine. You should then re-run the installer and complete the procedure. Reboot your machine after the installation has finished. DEMO9S08QE8 User Manual...
  • Page 40 DEMO9S08QE8 User Manual...

Table of Contents