Axiom DEMO9S08LG32 User Manual

D O C - 0469- 0 1 0 , R E V D
DEMO9S08LG32
Demonstration Board for Freescale MC9S08LG32
Microcontroller
USER GUIDE
Web Site: www.axman.com Support: support@axman.com
D E M O 9 S 0 8 L G 3 2 A P R I L 7 2 0 0 9 U S E R G U I D E
CONTENTS
CAUTIONARY NOTES .............................................................................................................. 4
TERMINOLOGY ......................................................................................................................... 4
FEATURES ................................................................................................................................ 5
REFERENCES ........................................................................................................................... 6
MEMORY MAP .......................................................................................................................... 6
SOFTWARE DEVELOPMENT ................................................................................................... 6
DEVELOPMENT SUPPORT ...................................................................................................... 7
INTEGRATED BDM .............................................................................................................. 7
USB-BDM OPTION HEADERS ......................................................................................... 7
BDM_PORT HEADER ........................................................................................................... 7
POWER ...................................................................................................................................... 8
POWER SELECT .................................................................................................................. 8
PWR_SEL ......................................................................................................................... 8
VX_EN ............................................................................................................................... 9
RESET SWITCH ...................................................................................................................... 10
LOW VOLTAGE RESET .......................................................................................................... 10
TIMING ..................................................................................................................................... 10
COMMUNICATIONS ................................................................................................................ 10
USB SERIAL LINK .............................................................................................................. 10
RS-232 ................................................................................................................................ 11
COM CONNECTOR ........................................................................................................ 11
COM_SEL ....................................................................................................................... 11
LCD .......................................................................................................................................... 12
CONTRAST ......................................................................................................................... 12
USER I/O .................................................................................................................................. 13
BUZZER .............................................................................................................................. 13
POTENTIOMETER .............................................................................................................. 14
USER LED’S ....................................................................................................................... 14
PUSHBUTTON SWITCHES ................................................................................................ 15
MCU I/O PORT ......................................................................................................................... 16
LCD ENABLE OPTION HEADER ............................................................................................ 17
2
D E M O 9 S 0 8 L G 3 2 A P R I L 7 2 0 0 9
Date
Rev
Comments
November 21, 2008
A
Initial Release
December 02, 2008
B
Updated DEMO9S08LG32 connector pins, features, MCU I/O port, and demonstration board diagram.
February 24, 2009
C
Minor updates to format and corrections to content . Added Notes and Caution boxes
April 7, 2009
D
Updated COM_SEL header silk text. Corrected description of JP3 Option header
U S E R G U I D E
FIGURES
Figure 1: Memory Map................................................................................................................ 6
Figure 2: JP1 Option Header ...................................................................................................... 7
Figure 3: BDM_PORT Header .................................................................................................... 8
Figure 4: V_SEL Option Header ................................................................................................. 8
Figure 5: VX_EN Option Header ................................................................................................ 9
Figure 6: COM Connections ..................................................................................................... 11
Figure 7: COM1 Connector ....................................................................................................... 11
Figure 8: COM_SEL Option ...................................................................................................... 12
Figure 9: VLL3_SEL Option Header ......................................................................................... 13
Figure 10: BUZ Option Header ................................................................................................. 13
Figure 11: ADC Option Header ................................................................................................. 14
Figure 12: User1 Option Header ................................ ............................................................... 14
Figure 13: User2 Option Header ................................ ............................................................... 15
Figure 14: MCU I/O PORT – J1 ................................................................................................ 16
Figure 15: LCD Enable Option Header – JP1 ........................................................................... 18
REVISION
3
D E M O 9 S 0 8 L G 3 2 A P R I L 7 2 0 0 9 U S E R G U I D E
CAUTIONARY NOTES
1) Electrostatic Discharge (ESD) prevention measures should be used when handling this product. ESD damage is not a warranty repair item.
2) Axiom Manufacturing does not assume any liability arising out of the application or use of any product or circuit described herein; neither does it convey any license under patent rights or the rights of others.
3) EMC Information on the DEMO9S08LG32 board: a) This product as shipped from the factory with associated power supplies and cables,
has been verified to meet with requirements of CE and the FCC as a CLASS A product.
b) This product is designed and intended for use as a development platform for hardware
or software in an educational or professional laboratory.
c) In a domestic environment, this product may cause radio interference in which case the
user may be required to take adequate prevention measures.
d) Attaching additional wiring to this product or modifying the products operation from the
factory default as shipped may effect its performance and cause interference with nearby electronic equipment. If such interference is detected, suitable mitigating measures should be taken.
TERMINOLOGY
This development module utilizes option select jumpers to configure default board operation. Terminology for application of the option jumpers is as follows:
Jumper – a plastic shunt that connects 2 terminals electrically Jumper on, in, or installed = jumper is a plastic shunt that fits across 2 pins and the shunt is
installed so that the 2 pins are connected with the shunt. Jumper off, out, or idle = jumper or shunt is installed so that only 1 pin holds the shunt, no 2
pins are connected, or jumper is removed. It is recommended that the jumpers be placed idle by installing on 1 pin so they will not be lost.
Cut-Trace – a circuit trace connection between component pads. The circuit trace may be cut using a knife to break the default connection. To reconnect the circuit, simply install a suitably sized 0-ohm resistor or attach a wire across the pads.
Signal names followed by an asterisk (*) denote active-low signals.
4
D E M O 9 S 0 8 L G 3 2 A P R I L 7 2 0 0 9
NOTE:
Manual LCD contrast control requires +12V power input at VIN barrel
connector.
U S E R G U I D E
FEATURES
The DEMO9S08LG32 is a demonstration board for the MC9S08LG32 microcontroller. Application development is quick and easy with the integrated USB-BDM, sample software tools, and examples. An optional BDM_PORT port is also provided to allow use of a BDM_PORT cable. One, 80-pin connector provides access to all IO signals on the target MCU.
MC9S08LG32, 80 LQFP
32K Bytes Flash  2K Bytes RAM  Internal Oscillator
On-Board 4x40 Custom LCD Glass  Integrated P&E USB-BDM  BDM_PORT header for BDM cable support  MCU_PORT pin header for access to MCU IO
signals
On-board +5V regulator  Optional Power from USB-BDM or MCU_PORT
connector
Power Input Selection Jumpers
Power input from USB-BDM  Power input from on-board regulator  Power input from Connector J1  Optional Power output through Connector J1
User Components Provided
10 Push Switches; 8 User, 1 Reset, 1 IRQ  12 LED Indicators; 8 User, VDD, IRQ, USB, and reset  5K ohm POT w /LP Filter for ADC input  LCD Glass Contrast POT  2.3kHz Piezo Buzzer
User Option Jumpers to disconnect Peripherals  User Option Jumpers to disconnect LCD Signals  Connectors
80-pin MCU I/O Pin Header  2.0mm Barrel Connector  BDM_PORT Connector for External BDM Cable  USB Connector  DB9 Connector (not installed)
Specifications:
Board Size 5.5” x 4.5”
5
D E M O 9 S 0 8 L G 3 2 A P R I L 7 2 0 0 9
$0000 ­$005F
Direct Page Registers
$0060 ­$081F
RAM 1980 Bytes
$0820 ­$085C
LCD Registers
$0860 ­$17FF
Unimplemented
$1800 ­$187A
High Page Registers
$187B ­$7FFF
Unimplemented
$8000 ­$BFFF
FLASH A
$C000 ­$FFFF
FLASH B
U S E R G U I D E
REFERENCES
Reference documents are provided on the Axiom Support web site Acrobat Reader format. These documents may be accessed at www.axman.com/support.
DEMO9S08LG32_UG.pdf DEMO9S08LG32 User Guide (this document) DEMO9S08LG32 _SCH_A.pdf DEMO9S08LG32 Schematic Rev. A DEMO9S08LG32_Silk_A.pdf DEMO9S08LG32 Top Silk, Rev A AppsDemo.s19 CodeWarrior LCD Demo Program Object Code
MEMORY MAP
The table below shows the default memory map for the MC9S08LG32 immediately out of reset. Refer to the MC9S08LG32 Data Sheet (DS) for further information.
Figure 1: Memory Map
SOFTWARE DEVELOPMENT
Software development requires the use of a compiler or an assembler supporting the HCS08 instruction set and a host PC operating a debug interface. CodeWarrior Development Studio for Microcontrollers is supplied with this board for application development and debug. Refer to the supporting CodeWarrior documentation for details on use and capabilities.
6
Loading...
+ 12 hidden pages