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