Freescale Semiconductor S08 manual Chapter Demo Setup, Hardware and Software Setup, Hardware Setup

Page 29

Chapter 4

Demo Setup

4.1 Introduction

This section shows how to connect the DEMO9S08AW60LED board to your PC, run the demo program, and how to program the board with the source code. The source code can be download from the Freescale website.

4.2 Hardware and Software Setup

The DEMO9S08AW60LED is shipped with the demo program stored in on-chip flash memory. Use Figure 2-2as a guide to do the setup.

4.2.1 Hardware Setup

1.Check the jumper setting and make sure jumper JP1 on DEMO9S08AW60LED board is set to the 5V (2-3) position.

2.Connect the 2x5 pin ribbon flat cable at LED light box to connector CON3 on DEMO9S08AW60LED board.

3.Connect a serial cable to the PC or notebook and then to the DEMO9S08AW60LED board.

4.Power up the demo through the DC jack connector CON1 on DEMO9S08AW60LED board. The supply voltage is 12V DC and LED D5 should be on.

5.Press SW5 to reset the MCU. The LED light box demo enters PC control mode. (Make sure SW1 is not pressed during reset.)

4.2.2 PC Software Setup

1.Open up a terminal window from within Windows XP by clicking on Start → All Programs → Accessories → Communications → HyperTerminal

2.Give your terminal connection a name (such as AW60_Control) and click the OK button.

3.In the Connect using pulldown, select the COM port you connected your serial cable to, and click the OK button.

4.In the Port Settings window, click the OK button after entering the following settings: Bits per second: 9600

Data bits: 8

Parity: None

Stop bits: 1

Flow control: None

5.Make sure Echo typed characters locally is NOT selected under the ASCII Setup pop-up menu, see Figure 4-1.

6.After configuring HyperTerminal, the LED Control Menu screen appears as shown in Figure 4-2.

LED Lighting Control using the MC9S08AW60, Rev. 1

Freescale Semiconductor

29

Image 29
Contents LED Lighting Control Using the MC9S08AW60 Page Designer Reference Manual LED Lighting Control using the MC9S08AW60Revision History Freescale Semiconductor Table of Contents Appendix a Schematics Appendix B Bill of Materials Introduction FeaturesChapter Introduction Devices in the MC9S08AW60/48/32/16 Series System OverviewMC9S08AW60 Peripherals Available per Package Type Introduction LED Lighting Control using the MC9S08AW60, Rev AW60 Control Board Chapter Hardware DescriptionDEMO9S08AW60LED Layout DEMO9S08AW60LED FeaturesReset Switch PowerDevelopment Support Clock SourceLED Indicators Pushbutton SwitchesUser Options ADC InterfaceIIC Port Other I/O ConnectorsSCI Port SPI Port10. Sensor Interface Type a PWM PortLED Light Box Interface 13. User Assignable Input 12. Temperature Sensor Input11. Sensor Interface Type H LED Driving Board RGB LED Chip LED Driver Design ProceduresBoost Converter Current Sense ResistorEquations for Boost Converter Freescale Semiconductor Firmware Flow Main Program Chapter Firmware DescriptionFirmware Flow PWM Adjustment PC Control ModeUser Interface Menu Standalone Mode Firmware Files Freescale Semiconductor Hardware and Software Setup Chapter Demo SetupHardware Setup PC Software SetupEcho Typed Characters Setting Demo 1 Demonstration Display Demo ExamplesDemo 3 Auto White Balance Control Demo 2 Preset Colors DisplayDemo 4 PWM Output Frequency Control Demo 5 Full Manual ControlProgram the MCU Flash TroubleshootingDemo Setup Appendix a Schematics LED Lighting Control using the MC9S08AW60, Rev LED Lighting Control using the MC9S08AW60, Rev LED Lighting Control using the MC9S08AW60, Rev LED Lighting Control using the MC9S08AW60, Rev LED Lighting Control using the MC9S08AW60, Rev Appendix B Bill of Materials Part Description Quantity Value Designators BOM for AW60 Control BoardValue Designators BOM for LED Driving BoardLED Lighting Control using the MC9S08AW60, Rev Page How to Reach Us