Designer Reference Manual
LED Lighting Control Using the MC9S08AW60
S08 Microcontrollers
freescale.com
Page
Revision History
LED Lighting Control using the MC9S08AW60
Designer Reference Manual
Freescale Semiconductor
Revision History LED Lighting Control using the MC9S08AW60, Rev
Demo Setup
Table of Contents
Chapter
Introduction
Appendix A Schematics Appendix B Bill of Materials
Chapter Introduction
1.2 Features
1.1 Introduction
1.4 MC9S08AW60
1.3 System Overview
Figure 1-1 . System Block Diagram
Table 1-1. Devices in the MC9S08AW60/48/32/16 Series
LED Lighting Control using the MC9S08AW60, Rev
Feature
Table 1-2. Peripherals Available per Package Type
MC9S08AW60
Freescale Semiconductor
Introduction LED Lighting Control using the MC9S08AW60, Rev
2.1 Introduction
Chapter Hardware Description
AW60 Control Board
Figure 2-1. Light-Box Demo
2.3 DEMO9S08AW60LED Layout
2.2 DEMO9S08AW60LED Features
Figure 2-2. DEMO9S08AW60LED Top Side
2.6 Reset Switch
2.5 Power
2.4 Development Support
2.7 Clock Source
2.9.2 LED Indicators
2.9.1 Pushbutton Switches
2.9 User Options
2.9.3 ADC Interface
Table 2-5. IIC Port
2.9.4 Other I/O Connectors
Table 2-6. SCI Port
Table 2-7. SPI Port
Table 2-9. LED Light Box Interface
Table 2-8. PWM Port
Table 2-10. Sensor Interface Type A
Table 2-11. Sensor Interface Type H
Table 2-12. Temperature Sensor Input
Table 2-13. User Assignable Input
Table 2-13. User Assignable Input Continued
2.10 LED Driving Board
2.11.1 RGB LED Chip
2.11 LED Driver Design Procedures
Figure 2-3. DC-to-DC Boost Converter and Linear LED Driver
2.11.3 Boost Converter
2.11.2 Current Sense Resistor
Figure 2-4. Equations for Boost Converter
Freescale Semiconductor
Hardware Description LED Lighting Control using the MC9S08AW60, Rev
3.1 Introduction
Chapter Firmware Description
Figure 3-1. Firmware Flow Main Program
Figure 3-2. Firmware Flow PWM Adjustment
3.2 PC Control Mode
Figure 3-3. User Interface Menu
3.3 Standalone Mode
Main.c
3.4 Firmware Files
Menu.c
SCI.c
Freescale Semiconductor
Firmware Description LED Lighting Control using the MC9S08AW60, Rev
4.2 Hardware and Software Setup
Chapter Demo Setup
4.2.1 Hardware Setup
4.2.2 PC Software Setup
Demo Setup
Figure 4-1. Echo Typed Characters Setting
LED Lighting Control using the MC9S08AW60, Rev
4.3.1 Demo 1 - Demonstration Display
4.3 Demo Examples
Figure 4-2. LED Control Menu
4.3.3 Demo 3 - Auto White Balance Control
4.3.2 Demo 2 - Preset Colors Display
4.3.4 Demo 4 - PWM Output Frequency Control
4.3.5 Demo 5 - Full Manual Control
4.4 Program the MCU Flash
4.5 Troubleshooting
Repeat the PC software setup procedures again
LED Lighting Control using the MC9S08AW60, Rev
Appendix A Schematics
Freescale Semiconductor
LED Lighting Control using the MC9S08AW60, Rev
Freescale Semiconductor
LED Lighting Control using the MC9S08AW60, Rev
Freescale Semiconductor
LED Lighting Control using the MC9S08AW60, Rev
Freescale Semiconductor
LED Lighting Control using the MC9S08AW60, Rev
Freescale Semiconductor
LED Lighting Control using the MC9S08AW60, Rev
LED Lighting Control using the MC9S08AW60, Rev
Appendix B Bill of Materials
Table 4-1 BOM for AW60 Control Board
LED Lighting Control using the MC9S08AW60, Rev
Part Description
Quantity
Part Description
Table 4-2 BOM for LED Driving Board
Value
Designators
Freescale Semiconductor
LED Lighting Control using the MC9S08AW60, Rev
Page
Home Page
How to Reach Us
E-mail
USA/Europe or Locations Not Listed