D O C - 0 4 6 9 - 0 1 0 , R E V C DEMO9S08LG32 Demonstration Board for Freescale MC9S08LG32 Microcontroller USER GUIDE Web Site: www.axman.com Support: [email protected] D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 CONTENTS CAUTIONARY NOTES ..............................................................................................................5 TERMINOLOGY.........................................................................................................................5 FEATURES ................................................................................................................................6 REFERENCES ...........................................................................................................................7 MEMORY MAP ..........................................................................................................................7 SOFTWARE DEVELOPMENT...................................................................................................7 DEVELOPMENT SUPPORT ......................................................................................................8 INTEGRATED BDM .............................................................................................................. 8 USB-BDM OPTION HEADERS ......................................................................................... 8 BDM_PORT HEADER........................................................................................................... 8 POWER ......................................................................................................................................9 POWER SELECT .................................................................................................................. 9 PWR_SEL ......................................................................................................................... 9 VX_EN............................................................................................................................. 10 RESET SWITCH ......................................................................................................................11 LOW VOLTAGE RESET ..........................................................................................................11 TIMING .....................................................................................................................................11 COMMUNICATIONS ................................................................................................................11 USB SERIAL LINK .............................................................................................................. 11 RS-232 ................................................................................................................................ 12 COM CONNECTOR ........................................................................................................ 12 COM_SEL ....................................................................................................................... 12 LCD ..........................................................................................................................................13 CONTRAST......................................................................................................................... 13 USER I/O..................................................................................................................................14 BUZZER .............................................................................................................................. 14 POTENTIOMETER.............................................................................................................. 15 USER LED’S ....................................................................................................................... 15 PUSHBUTTON SWITCHES ................................................................................................ 16 MCU I/O PORT.........................................................................................................................17 LCD ENABLE OPTION HEADER............................................................................................18 APPENDIX A............................................................................................................................20 SCHEMATIC ....................................................................................................................... 20 APPENDIX B............................................................................................................................22 BILL OF MATERIAL ............................................................................................................ 22 2 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 3 2 4 , 2 0 0 9 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 FIGURES Figure 1: Memory Map................................................................................................................7 Figure 2: JP1 Option Header ......................................................................................................8 Figure 3: BDM_PORT Header....................................................................................................9 Figure 4: V_SEL Option Header .................................................................................................9 Figure 5: VX_EN Option Header ..............................................................................................10 Figure 6: COM Connections .....................................................................................................12 Figure 7: COM1 Connector.......................................................................................................12 Figure 8: COM_SEL Option......................................................................................................13 Figure 9: VLL3_SEL Option Header .........................................................................................14 Figure 10: BUZ Option Header .................................................................................................14 Figure 11: ADC Option Header.................................................................................................15 Figure 12: User1 Option Header...............................................................................................15 Figure 13: User2 Option Header...............................................................................................16 Figure 14: MCU I/O PORT – J1................................................................................................17 Figure 15: LCD Enable Option Header – JP1...........................................................................19 REVISION Date Rev Comments November 21, 2008 A December 02, 2008 B February 24, 2009 C Initial Release Updated DEMO9S08LG32 connector pins, features, MCU I/O port, and demonstration board diagram. Minor updates to format and corrections to content. Added Notes and Caution boxes 4 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 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. 5 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 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” NOTE: Manual LCD contrast control requires +12V power input at VIN barrel connector. 6 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 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 _SCH_A.pdf DEMO9S08LG32_Silk_A.pdf AppsDemo.s19 DEMO9S08LG32 User Guide (this document) DEMO9S08LG32 Schematic Rev. A DEMO9S08LG32 Top Silk, Rev A 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 $0000 $005F $0060 $081F $0820 $085C $0860 $17FF $1800 $187A $187B $7FFF $8000 $BFFF $C000 $FFFF Direct Page Registers RAM 1980 Bytes LCD Registers Unimplemented High Page Registers Unimplemented FLASH A FLASH B 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. 7 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 DEVELOPMENT SUPPORT Application development and debug for the target MC9S08LG32 is supported through the background debug mode (BDM) interface. The BDM interface consists of an integrated USBMultilink BDM and a 6-pin interface header (BDM_PORT). The BDM_PORT header allows connecting a HCS12/HCS08 BDM cable. Integrated BDM The DEMO9S08LG32 board features an integrated USB-Multilink BDM from P&E Microcomputer Systems. The integrated USB-Multilink BDM supports application development and debugging via background debug mode. All necessary signals are provided by the integrated USB-Multilink BDM. A USB, type B, connector provides connection from the target board to the host PC. The integrated USB-Multilink BDM provides power and ground to the target board eliminating the need to power the board externally. Power from the USB-Multilink BDM is derived from the USB bus; therefore, total current consumption for the target board, and connected circuitry, must not exceed 500mA. This current limit describes the current supplied by the USB cable to the BDM circuit, the target board, and any connected circuitry. Excessive current drain will violate the USB specification causing the bus to disconnect. Damage to the host PC USB hub or the target board may result. USB-BDM OPTION Headers Option header JP2 connects two timer channels to the USB-BDM to facilitate the Signal Analyzer functionality. Installing an option jumper shunt enables the selected timer channel to the BDM circuitry. Figure 2: JP1 Option Header DATA1 • • • • DATA2 TPM2CH4 input to Signal Analyzer TPM2CH3 input to Signal Analyzer BDM_PORT Header A compatible HCS12 BDM cable may also attach to the 6-pin BDM interface header (BDM_PORT). Figure 3 below shows the pin-out for the BDM_PORT header. 8 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 Figure 3: BDM_PORT Header BKGD 1 2 GND 3 4 RESET* 5 6 VDD Refer to MC9S08LG32 Reference Manual for complete details POWER The DEMO9S08LG32 uses several methods to apply power to the board. An option header allows selection between the various power inputs. For application development and debug, the board may be powered from the USB BDM. The 2.0mm, center-positive, barrel connector (VIN) supports stand-alone operation and higher power requirements. Power may also be applied to connector J1 or the board may be configured to supply power from connector J1 to external circuitry. CAUTION: Damage to the board may result if voltages greater than +5.5V are applied at the connector J1 input. POWER SELECT Power may be applied to the board through the integrated USB-Multilink BDM circuitry, a 2.0mm barrel connector, or through connector J1. Power selection is achieved using 2 selection headers: the PWE_SEL option header and the VX_EN option header. PWR_SEL The PWR_SEL option header allows the user to select power input either from either an external power source connected to the VIN connector or from the integrated USB-BDM. Figure 4 below details the PWR_SEL header connections. VR1 VB Figure 4: V_SEL Option Header PWR_SEL • • • Enable power to board from external power supply PWR_SEL • • • Enable power to board from Integrated USB-BDM 9 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 CAUTION: Total power from the USB-BDM is limited to 500 mA. Exceeding this limit violates the USB specification and will cause the USB bus to disconnect. Damage to the target board and the host PC may result. Power from the integrated BDM is drawn from the USB bus and is limited to 500 mA. This current limit accounts for the total current supplied over the USB cable to the BDM circuit, the target board, and any connected circuitry. Current drain in excess of 500 mA will violate the USB specification and will cause the USB bus to disconnect. This will cause the board to exhibit power cycling where the board appears to turn-on then off continually. Damage to the host PC or the target board may also result. Power input to the VIN barrel connector should not exceed +12V. LCD contrast is connected directly to the VIN power input. CAUTION: Voltage input exceeding +12V applied to VIN may damage the target board VX_EN The VX_EN option header is a 2-pin jumper that connects or disconnects input J1-1 directly to the target board voltage rail. J1-3 connects directly to the target board ground plane. Use of this feature requires a regulated input power source. This power input is decoupled to minimize noise but is not regulated or protected. Care should be exercised when using this feature; no protection is applied on this input and damage to the target board may result if excessive voltage is applied. Also, do not attempt to power the target board through this connector while also applying power through the USB-Multilink BDM or the PWR connector; damage to the board may result. Power may also be sourced to off-board circuitry through the J1 connector. The current supplied from the USB bus or the on-board regulator limits current available to external circuitry. Excessive current drain may damage the target board, the host PC USB hub, or the on-board regulator. The figure below details the VX_EN header connections. Figure 5: VX_EN Option Header ON Enabled OFF Disabled VX_EN 10 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 CAUTION: Do not exceed available current from USB-BDM or on-board regulator when sourcing power through connector J1 to external circuitry. RESET SWITCH The RESET switch applies an asynchronous RESET to the MCU. The RESET switch is connected directly to the RESET* input on the MCU. Pressing the RESET switch applies a low voltage level to the RESET* input. A pull-up bias resistor allows normal MCU operation. Shunt capacitance ensures an adequate input pulse width. LOW VOLTAGE RESET The MC9S08LG32 utilizes an internal Low Voltage Detect (LVD) circuit. The LVD holds the MCU in reset until applied voltage reaches an appropriate level. The LVD also protect against under-voltage conditions. Consult the MC9S08LG32 reference manual for details LVD operation. TIMING The DEMO9S08LG32 internal timing source is active from RESET by default. An external 32 kHz XTAL oscillator, configured for low-power operation, is also provided. Refer to the MC9S08LG32 Reference Manual for details on configuring the selected timing source. COMMUNICATIONS The DEMO9S08LG32 supports serial communications through the integrated USB-BDM and an on-board, low-voltage, RS-232 transceiver. The COM_SEL header selects the serial path applied. The 9-pin, D-Sub, connector at COM1 is not installed in default configurations. USB SERIAL LINK The integrated USB-BDM provides a serial link from the target MCU to the host PC through the host application. Refer to the P&E Multilink documentation for further details. 11 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 RS-232 An RS-232 translator provides RS-232 to TTL/CMOS logic level translation on the COM connector. The COM connector is a 9-pin Dsub, right-angle connector. A ferrite bead on shield ground provides conducted immunity protection. Communication signals TXD1 and RXD1 are routed from the transceiver to the MCU. Hardware flow control signals RTS and CTS are available on the logic side of the transceiver. These signals are routed to vias located near the transceiver. RTS has been biased properly to support 2-wire RS-232 communications. Figure 6: COM Connections MCU Port COM Signal PTI1/TMRCLK/TX2 PTI0/RX2 TXD RXD I/O PORT CONNECTOR J1-5 J1-7 COM Connector A standard 9-pin Dsub connector provides external connections for the SCI0 port. The Dsub shell is connected to board ground through a ferrite bead. The ferrite bead provides noise isolation on the RS-232 connection. The figure below details the DB9 connector. Figure 7: COM1 Connector 4, 6 TXD RXD 1, 6 GND 1 2 3 4 5 6 7 8 9 1, 4 RTS CTS NC Female DB9 connector that interfaces to the MCU internal SCI0 serial port via the RS232 transceiver. Flow control is provided at test points on the board. Pins 1, 4, and 6 are connected together. NOTE: The COM1 connector is not installed in default configurations. COM_SEL The COM_SEL option header connects the MCU SCI port to either the SCI PHY or the USBBDM connection. Figure 8 below shows the option jumper configuration for the COM_SEL option header. 12 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 Figure 8: COM_SEL Option COM_SEL COM • • Enable UART COM to on-board SCI PHY and DB-9 connector • • BDM • • COM_SEL COM • • • • Enable UART COM to integrated USB-BDM connector BDM • • NOTE: The silkscreen marking for the COM_SEL header is incorrect on Rev A boards. The RXD position enables COM through the DB9 connector while the TXD position enables COM through the integrated USB-BDM. LCD The DEMO9S08LG32 provides a 4 x 40 custom LCD glass connected directly to the target MCU. Refer to the MC9S08LG32 Reference Manual for details on use and configuration. A row of option jumpers located below the LCD module allows each LCD signal to be disconnected from the associated LCD input. This allows multiplexed signal functionality to be used without affecting the LCD module. The LCD Enable Option Header allows the user to disable any LCD signal to the LCD. This allows any signal to be used for a multiplexed function with out affecting the LCD. Figure 15, at the end of this document, shows the relation between target MCU signals and LCD glass pins through the JP1 option header. Installing a shunt at any position enables the LCD signal to the LCD. Removing a shunt at any position disconnects the LCD signal from the LCD. Contrast LCD contrast control is controlled by the VLL3_SEL option header. This option header applies either fixed or variable LCD contrast. Variable contrast control requires the target board be powered from an external +12V power supply connected to VIN. 13 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 FIX RV1 Figure 9: VLL3_SEL Option Header Enable variable LCD Contrast Control FIX RV1 • • • VLL3_SEL • • • VLL3_SEL Set fixed contrast control NOTE: Silkscreen on VLL3_SEL is incorrect. The RV1 selection actually connects to the CONTRAST POT and not the RV1 POT. NOTE: Use of variable Contrast Control requires that +12V input be applied at VIN connector. NOTE: VLL3_SEL must be set to FIX if target board is powered from integrated USB-BDM. CAUTION Voltage input at VIN greater than +12V may damage the target board. USER I/O User I/O includes 2 potentiometer, 8 push button switches, and 8 green LEDs, and 1 piezo buzzer for user I/O. The User1, User2, and Buz option header blocks enable or disable each User I/O function individually. Buzzer The DEMO9S08LG32 target board provides an externally modulated piezo-buzzer for audible applications. A push-pull drive circuit allows the target MCU to easily drive the buzzer at a center frequency of 2300 Hz. Figure 10 below shows the USER enable position and associated signal for the buzzer. Figure 10: BUZ Option Header PTF3/TPM2CH5 ON Enabled BUZ 14 OFF Disabled D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 Potentiometer The DEMO9S08LG32 target board provides a 5K ohm potentiometer (POT) to simulate analog input. The POT is decoupled to minimize noise during adjustment. The POT is selectively assignable to ADC6 or ADC7 by the ADC option header. The ADC option header also controls POT configuration. The POT may be configured as a variable pull-down resistance or may be connected to VDDA as a variable voltage input. Figure 11 below shows the ADC option header selections. Figure 11: ADC Option Header ADC • • • • • • PTH0 PTH1 VDDA Signal PTH0/KBI5/ADC6 PTH1/KBI6/ADC7 VDDA ON Enabled Enabled Enabled OFF Disabled Disabled Disabled CAUTION While using pushbuttons KBI5 or KBI6 in end-user applications, the option jumper at PTH0 and, or, PTH1 should be removed. Pressing pushbutton KBI5 with option jumper installed at PTH0; or, pressing pushbutton KBI6 with option jumper installed at PTH1 will cause a target board POR. User LED’s The DEMO9S08LG32 target board provides 8, green, LEDs for output indication. Each LED is configured for active-low operation. A series, current-limit resistor prevents excessive diode current. Figure 12 below shows the USER1 enable position and associated signal for each LED. Figure 12: User1 Option Header T1C0 T1C1 T2C0 T2C1 T2C2 T2C3 T2C4 T2C5 USER2 • • 1 • • 2 • • 3 • • 4 • • 5 • • 6 • • 7 • • 8 Signal PTH5/TPM1CH0 PTH4/TPM1CH1 PTI5/TMP2CH0 PTI4/TPM2CH1 PTI3/TPM2CH2 PTF5/TMP2CH3 PTF4/TPM2CH4 PTF3/TPM2CH5 15 ON Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled OFF Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 CAUTION While using pushbuttons KBI5 or KBI6 in end-user applications, the option jumper at PTH0 and, or, PTH1 should be removed. Pressing pushbutton KBI5 with option jumper installed at PTH0; or, pressing pushbutton KBI6 with option jumper installed at PTH1 will cause a target board POR. Pushbutton Switches The DEMO9S08LG32 provides 8 push-button switches for user input. Each push-button switch is configured for active-low operation. No bias is applied to these push-button inputs. Use of target MCU internal pull-ups is required for proper operation. Figure 13 below shows the USER2 enable position and associated signal for each user switch. Figure 13: User2 Option Header USER1 • • KBI1 • • KBI2 • • KBI3 • • KBI4 • • KBI5 • • KBI6 • • KBI7 • • KBI8 Signal PTH6/KBI1 PTH7/KBI2 PTH4/KBI3 PTF0/KBI4 PTH0/KBI5 PTH1/KBI6 PTH2/KBI7 PTH3/KBI8 ON Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled 16 OFF Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 MCU I/O PORT The MCU I/O PORT connector provides access to the MC9S08LG32 I/O signals. Figure 14 below show the pin-out for the MCU I/O connector. Figure 14: MCU I/O PORT – J1 VDD VSS PTI1/TMRCLK/TX2 PTI0/RX2 PTH5/TX1/KBI4/TPM1CH0/ADC11 PTH4/RX1/KBI3/TPM1CH1/ADC10 PTH7/KBI2/TPM2CH4 PTH6/TPM2CH5/KBI1/ADC15 PTI3/TPM2CH2/MOSI PTI2/TPM2CH3/MISO PTI4/TPM2CH1/SDA/SPSCK PTI5/TPM2CH0/SCL/SS* PTF6/XTAL PTF7/EXTAL PTD0/LCD0 PTD1/LCD1 PTD2/LCD2 PTD3/LCD3 PTD4/LCD4 PTD5/LCD5 PTD6/LCD6 PTD7/LCD7 PTE0/LCD8 PTE1/LCD9 PTE2/LCD10 PTE3/LCD11 PTB3/LCD32 PTB2/LCD31 PTB6/LCD39 PTB4/LCD37 PTE4/LCD12 PTE5/LCD13 PTE6/LCD14 PTE7/LCD15 PTC4/LCD20 PTC3/LCD19 VDDA/VREFH VSSA/VREFL VLL3 VSS 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 17 PTF2/SPSCK/TPM1CH1/IRQ/ADC14 PTC6/RESET* PTC5/BKGD/MS PTA7/TCLK/ADC5/LCD28 PTH2/KBI7/ADC8 PTA6/KBI8/TPM2CH1/ADC4/LCD27 PTA5/KBI7/TPM2CH0/ADC3/LCD26 PTA4/KBI6/RX2/ADC2/LCD25 PTA3/KBI5/TX2/ADC1/LCD24 PTA0/LCD21 PTH0/KBI5/ADC6 PTH1/KBI6/ADC7 PTA1/SCL/LCD22 PTA2/SDA/ADC0/LC23 PTH3/KBI8/ADC9 PTF3/SS*/KBI1/TPM2CH5 PTF5/MOSI/KBI3/TMP2CH3 PTF4/MISO/KBI2/TPM2CH4 PTF1_out/RX1/TPM1CH0/ADC13 PTF0/TX1/KBI4/TPM2CH2/ADC12 PTG0/LCD33 PTG1/LCD34 PTG2/LCD35 PTG3/LCD36 PTG4/LCD41 PTG5/LCD42 PTG6/LCD43 PTG7/LCD44 PTB7/LCD40 PTB5/LCD38 PTB1/LCD30 PTB0/LCD29 PTC0/LCD16 PTC1/LCD17 PTC2/LCD18 VCAP1 VCAP2 VLL1 VLL2 VSS D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 LCD ENABLE OPTION HEADER The LCD Enable Option Header allows the user to disable any LCD signal to the LCD. This allows any signal to be used for a multiplexed function with out affecting the LCD. Figure 15 below shows the relation between target MCU signals and LCD glass pins through the JP1 option header. Installing a shunt at any position enables the LCD signal to the LCD. Removing a shunt at any position disconnects the LCD signal from the LCD. 18 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y Figure 15: LCD Enable Option Header – JP1 MCU Pin # 14 13 12 11 10 9 8 7 16 15 6 5 4 3 2 1 80 79 78 77 76 75 74 73 72 71 70 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 MCU Signal LCD Signal JP1 Pos # PTB0/LCD29 PTB1/LCD30 PTB4/LCD37 PTB5/LCD38 PTB6/LCD39 PTB7/LCD40 PTB2/LCD31 PTB3/LCD32 PTD0/LCD0 PTD1/LCD1 PTD2/LCD2 PTD3/LCD3 PTD4/LCD4 PTD5/LCD5 PTD6/LCD6 PTD7/LCD7 PTE0/LCD8 PTE1/LCD9 PTE2/LCD10 PTE3/LCD11 PTE4/LCD12 PTE5/LCD13 PTG0/LCD33 PTG1/LCD34 PTG4/LCD41 PTG5/LCD42 PTG6/LCD43 PTE6/LCD14 PTE7/LCD15 PTC0/LCD16 PTC1/LCD17 PTC2/LCD18 PTC3/LCD19 PTC4/LCD20 PTA0/LCD21 PTG2/LCD35 PTG3/LCD36 PTA1 /LCD22 PTA2 /LC23 PTA3 /LCD24 PTA4 /LCD25 PTA5 /LCD26 PTA6 /LCD27 PTA7 /LCD28 LCD29 LCD30 LCD37 LCD38 LCD39 LCD40 LCD31 LCD32 LCD00 LCD01 LCD02 LCD03 LCD04 LCD05 LCD06 LCD07 LCD08 LCD09 LCD10 LCD11 LCD12 LCD13 LCD33 LCD34 LCD41 LCD42 LCD43 LCD14 LCD15 LCD16 LCD17 LCD18 LCD19 LCD20 LCD21 LCD35 LCD36 LCD22 LCD23 LCD24 LCD25 LCD26 LCD27 LCD28 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 19 JP1 Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 LCD Pin 44 43 42 41 40 39 38 37 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 36 35 34 33 32 31 30 29 28 27 26 25 24 23 2 4 , 2 0 0 9 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y APPENDIX A SCHEMATIC 20 2 4 , 2 0 0 9 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 21 2 4 , 2 0 0 9 D O C - 0 4 6 9 - 0 1 0 , R E V C APPENDIX B Bill of Material Item Qty Title Detail Reference(m) Vendor Vendor P/N Mfr Mfr P/N 1 1 Buzzer-Thru Mag,2.3Khz,5V Bz1 Digi-Key 102-1155-ND CUI Inc CEM-1206S 2 1 Cap-Cer-Smt(R) C307 Emtek MA0603XR103K500 Meritek MA0603XR103K500 3 21 Cap-Cer-Smt(R) (0603) .01uF,50V (0603) .1uF,16V C2-C4,C13-C22,C26,C300C304,C308,C311 Emtek MA0603XR104K160 Meritek MA0603XR104K160 4 1 Cap-Cer-Smt(R) (0805) .1uF,50V C1 Emtek MA0805XR104K500 Meritek MA0805XR104K500 5 4 Cap-Cer-Smt(R) C11,C12,C305,C306 Emtek MA0603CG220J500 Meritek MA0603CG220J500 6 1 Cap-Cer-Smt(R) (0603) 22pF,50V, npo/cog,5% (0805) .47uF,16V C25 Mouser 80-C0805C474J4R Kemet C0805C474J4RACTU 7 4 Cap-Cer-Thru(R) C5,C6,C9,C10 Digi-Key 399-4151-ND Kemet C315C104M5U5TA 8 1 Cap-Elec-Smt(R) C309 Emtek 16CAE101S Surge 16CAE101S 9 4 Cap-Tant-Smt(R) (C315) .1uF,50V,20%,.1 SP (SMD) 100uF,16V,6x5 (SMA) 10uF,10V C7,C8,C23,C24 FAI 293D106X9016B2TE3 Vishay 293D106X9016B2TE3 10 2 Cap-Tant-Smt(R) (SMA) 4.7uF,10V C310,C312 Avnet TAJA475K010R Avx TAJA475K010R 17 1 Conn-Barl-Thru(R) Vin Emtek SCD-014 Vimex SCD-014-PB 19 4 Conn-Pin Hdr-Thru(R) Plug 2mm Barrel,RA 1x2 Header Agnd,Buz,Mcu_En,Vx_En Emtek PH1-2S-G-F1 Keltron PH1-2S-G-F1 20 2 Conn-Pin Hdr-Thru(R) 1x3 Header Pwr_Sel,Vll3_Sel Emtek PH1-3S-G-F1 Keltron PH1-3S-G-F1 21 1 Conn-Pin Hdr-Thru(R) 2x2 Header Jp3 Emtek PH2-4S-G-F1 Keltron PH2-4S-G-F1 22 3 Conn-Pin Hdr-Thru(R) 2x3 Header Adc,Bdm_Port, Com_Sel Emtek PH2-6S-G-F1 Keltron PH2-6S-G-F1 23 1 Conn-Pin Hdr-Thru(R) 2x4 Header JP2C Emtek PH2-8S-G-F1 Keltron PH2-8S-G-F1 24 4 Conn-Pin Hdr-Thru(R) 2x40 Header J1A,J1B,Jp1A,Jp2B Emtek PH2-80S-G-F1 Keltron PH2-80S-G-F1 25 2 Conn-Pin Hdr-Thru(R) 2x8 Header User1,User2 Emtek PH2-16S-G-F1 Keltron PH2-16S-G-F1 Web Site: www.axman.com Support: [email protected] D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 26 1 Conn-USB-Thru(R) USB-B,RA J300 Emtek USB-B-HR-DNN 67 1 Crystal-Cylndr-Thru(R) Y1 FAI AB38T-32.768KHZ Abracon AB38T-32.768KHZ 66 1 Crystal-Smt(R) X300 FAI FOXSDLF/120-20/TR Fox FOXSDLF/120-20/TR 14 1 Dio-Zener-Smt D1 Mouser 512-MMBZ5232B Fairchild MMBZ5232B 13 1 Display-CustomThru(R) Ds1 S-Tek, Inc GDM121F_GD3980 S-Tek 72 4 Feet Mouser 517-SJ-5306CL 3M SJ-5306 CLEAR 71 72 HDW-Rubber Bumpon(R) HDW-Shunt(R) (3X8) 32.768KHz,3.3V (HC49S) 12.0MHz,18PF (Sot23) MMBZ5232B LCD Glass, Freescale, GDM121F w/GD3980 Disp 0.375"x0.15" (W x H), Hemi,Clear .10 Shunt Shunts E-Call 0146-230-020 E-Call 0146-230-020 15 2 HDW-Test Pt-Thru(R) Gnd1,Gnd2 Mouser 151-203-RC Kobiconn 151-203-RC 16 2 HDW-Test Pt-Thru(R) Vdd1,Vdd2 Mouser 151-207-RC Kobiconn 151-207-RC 60 3 IC-Buffer-Smt(R) U303,U308,U310 Avnet SN74LVC2G125DCTR TI SN74LVC2G125DCTR 61 1 IC-Buffer-Smt(R) U309 Arrow SN74LVC2G126DCTR TI SN74LVC2G126DCTR 63 1 IC-Comprtr-Smt(R) U302 Avnet LMV7219M5/NOPB Nat Semi LMV7219M5/NOPB 30 1 IC-Lvl Det5V-Smt(R) U305 FAI MC34164D-5R2-LF On Semi MC34164D-5R2G 58 1 IC-Microp-Smt(R) U1 Freescale Supplied Freescale PC9S08LG32VLF 59 1 IC-RS232-Smt(R) U2 FAI MAX3232ECSA-LF Sipex SP3232EBCN-L 62 2 IC-Switch-Smt(R) U300,U301 Mouser 595SN74LVC2G66DCTR TI SN74LVC2G66DCTR 28 2 Ind-FB-Smt(R) L300,L301 Digi-Key 240-2403-1-ND Steward MI1206K260R-10 29 1 Ind-FB-Smt(R) Fb1 Mouser 81-BLM21P331SG Murata BLM21PG331SN1D 27 1 Ind-Smt(R) PC Mnt,Black,Comp act Loop,Glass Bead PC Mnt,Red,Compa ct Loop,Glass Bead (Ssop8) 74LVC2G125, Dual,3-St (Ssop8) 74LVC2G126, Dual,3-St (Sot23-5) LMV7219M5,R-R (Soic8) MC34164D,Rese t (Lqfp80) MC9S08LG32 (Soic16) ICL3232,Dual Xcvr,3.3V,ESD (Ssop8) SN74LVC2G66D CT, Analog,Bilateral, Dual (1206) 26 Ohms,Ferrite,EM I,1.5A (0805) 330 Ohms@ 100M,1.5A (1210) 10uH,Choke L1 FAI NL1210-100JTR-LF Tdk NLV32T-100J-PF 23 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E F E B R U A R Y 2 4 , 2 0 0 9 11 9 LED-Smt(R) (1206) Green D300,T1C0,T1C1,T2C0,T2C 1,T2C2,T2C3,T2C4,T2C5 Emtek 150YG Micro Elec 150YG 12 3 LED-Smt(R) (1206) Red Irqled,Rstled,Vdd Emtek 150SR Micro Elec 150SR 69 1 Misc-Not Installed Rxd,Tp1,Txd,Vll1-Vll3 Axiom DNI-MISC 70 1 Part-Not Installed Com1,I2C_Pu,R333,SU1,U3 Axiom DNI-PART 68 1 Pcb(R) Pcb BBG PCB-AXM0469A 64 1 Prog'd IC-MicropSmt(R) U306 P&E UF32E_MCUSLK (Supplied) Freescale MC9S12UF32PUE 34 2 Res-Carb-Smt(R) R4,R6 Emtek CR16-101J Meritek CR16-101J 35 3 Res-Carb-Smt(R) R319,R322,R324 Emtek CR16-102J Meritek CR16-102J 36 1 Res-Carb-Smt(R) R15 Emtek CR10-102J Meritek CR10-102J 37 1 Res-Carb-Smt(R) R13 Digi-Key P1.0KVCT-ND Panasonic ERJ-14YJ102U 38 14 Res-Carb-Smt(R) R1,R5,R7,R9-R11,R300R303,R306,R307,R313,R314 Emtek CR16-103J Meritek CR16-103J 39 3 Res-Carb-Smt(R) R304,R305,R331 Emtek CR16-104J Meritek CR16-104J 40 2 Res-Carb-Smt(R) R3,R316 Emtek CR16-105J Meritek CR16-105J 41 1 Res-Carb-Smt(R) R321 Emtek CR16-112J Meritek CR16-112J 42 1 Res-Carb-Smt(R) R308 Emtek CR16-152J-TR Meritek CR16-152J 43 1 Res-Carb-Smt(R) R14 Emtek CR10-223J Meritek CR10-223J 44 6 Res-Carb-Smt(R) (0603) 100K Ohm,5% (0603) 1M Ohm,5% (0603) 1.1K Ohm ,5% (0603) 1.5K Ohm,5% (0805) 22K Ohm,5% (0603) 3.3K Ohm,5% R315,R317,R318,R320,R330 ,R332 Emtek CR16-332J-TR Meritek CR16-332J 45 2 Res-Carb-Smt(R) R326,R327 Emtek CR10-470J Meritek CR10-470J 46 2 Res-Carb-Smt(R) R2,R12 Emtek CR16-471J Meritek CR16-471J 47 4 Res-Carb-Smt(R) (0805) 47 Ohm,5% (0603) 470 Ohm,5% (0603) 4.7K Ohm,5% R323,R325,R328,R329 Emtek CR16-472J Meritek CR16-472J Rev A DEMO9S08LG3 2, 5.5x4.5,4 Lyr,Pnl=2x1 (Tqfp100) MC9S12UF32PU , MCUSLK (0603) 100 Ohm,5% (0603) 1K Ohm,5% (0805) 1K Ohm,5% (1210) 1K Ohm, 5% (0603) 10K Ohm,5% 24 D E M O 9 S 0 8 L G 3 2 U S E R G U I D E 48 2 Res-Carb-Smt(R) 49 1 Res-Carb-Smt(R) 50 2 Res-MF-Smt(R) 51 2 Res-Netw-Smt(R) 53 2 Res-Pot-Thru(R) 54 10 Sw-PB-Thru(R) 31 1 Trans-Mosfet-Smt(R) 32 1 Trans-NPN-Smt(R) 33 1 Trans-PNP-Smt(R) 65 1 VReg-5V-Smt(R) F E B R U A R Y (0603) 510 Ohm,5% (0603) 680 Ohm,5% (0805) 33 Ohm,1% (0603x4) 680 Ohm,8P4R,Iso (CE9M) 5K Ohm,Thumb Wheel,Offset pins Tact Sw,6mm Sq (Sot23) IRLML6402CT, P-Ch, 20V,3.7A (Sot23) MMBT3904, 40V,350mW (Sot23) MMBT3906, 40V,350mW (To263) LM2940,1A,Ldo 2 4 , 2 0 0 9 R309,R312 Emtek CR16-511J Meritek CR16-511J R8 Emtek CR16-681J Meritek CR16-681J R310,R311 Emtek CR10-0330F Meritek CR10-0330F Rn1,Rn2 Digi-Key Y4681CT-ND Panasonic EXB-V8V681JV Contrast,Rv1 Emtek CE9MH2.5 5K WT Vimex CE9MH2.5 5K WT Irq,KBI1-KBI8,Reset Emtek EG1827 E-Switch EG1827 U307 Digi-Key IRLML6402PBFCT-ND Int Rectifier IRLML6402TRPBF Q1 Emtek MMBT3904 Taitron MMBT3904 Q2 Emtek MMBT3906 Taitron MMBT3906 Vr1 FAI LM2940CS-5.0/NOPB Nat Semi LM2940CS-5.0/NOPB 25