Freescale Semiconductor S08 инструкция обслуживания

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

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации Freescale Semiconductor S08. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции Freescale Semiconductor S08 или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции Freescale Semiconductor S08 можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций Freescale Semiconductor S08, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции Freescale Semiconductor S08 должна находится:
- информация относительно технических данных устройства Freescale Semiconductor S08
- название производителя и год производства оборудования Freescale Semiconductor S08
- правила обслуживания, настройки и ухода за оборудованием Freescale Semiconductor S08
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск Freescale Semiconductor S08 это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок Freescale Semiconductor S08 и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта Freescale Semiconductor, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания Freescale Semiconductor S08, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства Freescale Semiconductor S08, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции Freescale Semiconductor S08. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 1

    S08 Micr ocontr oller s freescale.com LED Lighting Control Using the MC9S08AW60 Designer Ref erence Man ual DRM093 Rev. 1 07/2007[...]

  • Страница 2

    [...]

  • Страница 3

    LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 3 LED Lighting Control using the MC9S08AW60 Designer Reference Manual by : Dennis Lui, Ernest Chan F reescale Semiconductor , Inc. Hong K ong To provide the most up-to-date information, th e revision of our documents on the World Wide Web is the most current. Your printed c[...]

  • Страница 4

    Revision History LED Lighting Control using the MC9S08A W60, Rev . 1 4 Freescale Semiconductor[...]

  • Страница 5

    LED Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 5 Table of Contents Chapter 1 Introduction 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3 System Overview . [...]

  • Страница 6

    Table of Contents LED Control using the MC9S08A W60, Rev . 1 6 Freescale Semiconductor 4.3.1 Demo 1 - Demonstrat ion Display . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.3.2 Demo 2 - Preset Colors Dis play . . . . . . . . . . . . . . . . . . . . . . . . . . 32 4.3.3 Demo 3 - Auto White Bal ance Control . . . . . . . . . . . . . . . . . . [...]

  • Страница 7

    LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 7 Chapter 1 Introduction 1.1 Introduction This manual describes a reference design of a multi-color LED lighting control solution by using the MC9S08AW60 Microcontroller. Using a microcontroller (MCU) to control the red/green/ blue (RGB) color LEDs increases system flexib i[...]

  • Страница 8

    Introduction LED Lighting Control using the MC9S08A W60, Rev . 1 8 Freescale Semiconductor 1.3 System Overview A block diagram of the system is shown in Figure 1-1 . Figure 1-1 . System Block Diagram 1.4 MC9S08AW60 The MC9S08AW60, MC9S08AW48, MC9S08AW32, and MC9S08AW16 a re members of the low-cost, high-performance HCS08 family of 8-bit microcontro[...]

  • Страница 9

    MC9S08AW60 LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 9 T ab le 1-2. P eripherals A vailab le per P acka ge T ype Package Options Feature 64-Pin 48-Pin 44-Pin ADC 16-CH 8-CH 8-CH IIC Y es Y es Y es IRQ Y es Y es Y es KBI1 8 7 6 S C I 1 Ye s Ye s Ye s S C I 2 Ye s Ye s Ye s SPI1 Y es Y es Y es TPM1 6-CH 4-CH 4-CH TPM[...]

  • Страница 10

    Introduction LED Lighting Control using the MC9S08A W60, Rev . 1 10 Freescale Semiconductor[...]

  • Страница 11

    LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 11 Chapter 2 Hardware Description 2.1 Introduction The system consists of a MCU control board and a LED driving board. The MCU control board, DEMO9S08AW60LED, is one of the demonstration b oards for the Freescale MC9S08AW60. This board allows easier developmet of code for L[...]

  • Страница 12

    Hardware Description LED Lighting Control using the MC9S08A W60, Rev . 1 12 Freescale Semiconductor 2.2 DEMO9S08AW60LED Features • MC9S08AW60 CPU – 44 pin LQFP package – 20 MHz Internal Bus Frequen cy – 60 Kbytes of on-chip in-circuit programmab le FLASH – 2 Kbytes of on-chip RAM – 8-channel, 10-bit analog-to-digital converte r – Two [...]

  • Страница 13

    Development Support LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 13 2.4 Development Support Application development and debug for the MC9 S08AW60 is supported through a 6-pin BDM header (CON8). The pinout is as fo llows: 2.5 Power The DEMO9S08AW60LED is powered externally throug h the barrel connector CON2. This conne[...]

  • Страница 14

    Hardware Description LED Lighting Control using the MC9S08A W60, Rev . 1 14 Freescale Semiconductor 2.9 User Options The DEMO9S08AW60LED includes various input and o u tput devices to assist in application development. These devices include four pushbutton switches, four LEDs, and an operational amplifier with RC filter connecte d at each ADC input[...]

  • Страница 15

    User Options LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 15 2.9.4 Other I/O Connectors One user assignable and eight pre-defined I/ O connectors are available to help users con nect the board into their target system. T able 2-5. IIC P or t CON5 Signal Name Remarks Pin 1 NC Install a zero ohm resistor in the R14 foot[...]

  • Страница 16

    Hardware Description LED Lighting Control using the MC9S08A W60, Rev . 1 16 Freescale Semiconductor T ab le 2-8. PWM P or t CON4 Signal Name Remarks Pin 1 PWM R Connected to MCU PTF0/TPM1CH2 Pin 2 PWM G Connected to MCU PTF1/TPM1CH3 Pin 3 PWM B Connected to MCU PTE2/TPM1CH0 Pin 4 GND — T ab le 2-9. LED Light Bo x Interface CON3 Signal Name Remark[...]

  • Страница 17

    User Options LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 17 NOTE Connectors Type A and H share the same connection, so either one of the sensor interfaces can be used for sensor input. T ab le 2-11. Sensor Interface T ype H CON11 Signal Name Remarks Pin 1 3V Sensor reference v oltage Pin 2 5V Sensor su pply v oltage [...]

  • Страница 18

    Hardware Description LED Lighting Control using the MC9S08A W60, Rev . 1 18 Freescale Semiconductor 2.10 LED Driving Board In general, LEDs have a nonline ar I-V behavior and current limitation is required to prevent the power dissipation to exceed a maximum limit. Therefore, the ideal source for LED driving is a constant current source. A linear t[...]

  • Страница 19

    LED Driver Design Procedures LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 19 Figure 2-3. DC-to-DC Boost Converter and Linear LED Driver Eight pieces of 3-in-1 RGB LED chips connected in se ries are used t o form the multi-color light source. The LED chips are arranged in 2 x 4 format and each RGB LED string is driven [...]

  • Страница 20

    Hardware Description LED Lighting Control using the MC9S08A W60, Rev . 1 20 Freescale Semiconductor 2.11.2 Current Sense Resistor The value of the current sense resistor R S is determined by two factors: power dissipation on R S and the reference level V REF for operational amplifier non-inverting inpu t. Smaller R S reduces power dissipation, but [...]

  • Страница 21

    LED Driver Design Procedures LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 21 Figure 2-4. Equations for Boost Converter V sat = Saturation voltage of the output switch. V F = Forward voltage drop of the output rectifie r. V in - Nominal input voltage. V out - Desired output voltage . I out - Desired output current. f m[...]

  • Страница 22

    Hardware Description LED Lighting Control using the MC9S08A W60, Rev . 1 22 Freescale Semiconductor[...]

  • Страница 23

    LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 23 Chapter 3 Firmware Description 3.1 Introduction The MCU firmware in this LED lightin g control design is responsible for: • Controlling timer channels for the RGB LED color PWM outpu t • Communicating with the host PC for receiving command a nd data input/output • [...]

  • Страница 24

    Firmware Description LED Lighting Control using the MC9S08A W60, Rev . 1 24 Freescale Semiconductor Figure 3-2. Firmware Flow: PWM Adjustment 3.2 PC Control Mode Every time the MCU is powered up, the firmware detec ts the status of SW1. The LED lighting co ntrol box is operated in PC control mode if SW1 is not being pressed . In this mode, you cont[...]

  • Страница 25

    PC Control Mode LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 25 Figure 3-3. User Interface Menu When the MCU receives a control command or PWM input data from the PC, the firmware interprets the information to take the corresponding actions. It may update the output PWM values in next PWM d uty or delivery of the corr[...]

  • Страница 26

    Firmware Description LED Lighting Control using the MC9S08A W60, Rev . 1 26 Freescale Semiconductor 3.3 Standalone Mode When the LED box is po wered up with SW1 being pressed, it enters standalone mode. When compared to the PC control mode, this standalone mode can act as a quick and simple demo that does not require a host PC. The control of the L[...]

  • Страница 27

    Firmware Files LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 27 3.4 Firmware Files Below is a list of the C files in the firmware Main.c • Programs entry point and determination of operat ion mode, i.e. PC control mode or standalone operation mode • System initialization • Common functions used in diffe rent firm[...]

  • Страница 28

    Firmware Description LED Lighting Control using the MC9S08A W60, Rev . 1 28 Freescale Semiconductor[...]

  • Страница 29

    LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 29 Chapter 4 Demo Setup 4.1 Introduction This section shows how to connect the DEMO9S08A W60LED board to your PC, ru n 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 [...]

  • Страница 30

    Demo Setup LED Lighting Control using the MC9S08A W60, Rev . 1 30 Freescale Semiconductor Figure 4-1. Echo Typed Characters Setting[...]

  • Страница 31

    Demo Examples LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 31 Figure 4-2. LED Control Menu NOTE Make sure the HyperTerminal window is se lected all the time by moving the mouse pointer inside the window and clicking the left mouse button (the top color bar of the terminal window is then blue instead of grey). Otherwis[...]

  • Страница 32

    Demo Setup LED Lighting Control using the MC9S08A W60, Rev . 1 32 Freescale Semiconductor 4.3.2 Demo 2 - Pres et Colors Display 1. Press the tab key in the PC keyboard. 2. The output is switched to another preset colo r after the tab key has been pressed each time. NOTE You can adjust the output color any time throu gh the control menu. 4.3.3 Demo [...]

  • Страница 33

    Program the MCU Flash LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 33 NOTE Max PWM input range is decreased when setting to a high er PWM frequency. With the same PWM values , increasing frequency (i.e. shorter period) increases brightness because the PWM o n-duty increases. When typing HEX PWM input values, use only [...]

  • Страница 34

    Demo Setup LED Lighting Control using the MC9S08A W60, Rev . 1 34 Freescale Semiconductor Repeat the PC software setup procedures again. 3. Control menu contents are not correct Make sure the COM port selection is correct. Check the Port Settings again and make su re the configurations are correct . 4. User input does not be detected correctly Make[...]

  • Страница 35

    LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 35 Appendix A Schematics[...]

  • Страница 36

    LED Lighting Control using the MC9S08A W60, Rev . 1 36 Freescale Semiconductor[...]

  • Страница 37

    LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 37[...]

  • Страница 38

    LED Lighting Control using the MC9S08A W60, Rev . 1 38 Freescale Semiconductor[...]

  • Страница 39

    LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 39[...]

  • Страница 40

    LED Lighting Control using the MC9S08A W60, Rev . 1 40 Freescale Semiconductor[...]

  • Страница 41

    LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 41 Appendix B Bill of Materials[...]

  • Страница 42

    LED Lighting Control using the MC9S08A W60, Rev . 1 42 Freescale Semiconductor T able 4-1 BOM f or A W60 Control Boar d Part Description Quantity V alue Designato rs SMD RESISTOR 6 510 R1 R3-7 SMD RESISTOR 1 820 R2 SMD RESISTOR 25 open R8 R9 R11 R14-16 R28 R30 R34 R36 R40 R42 R46 R48 R52 R54 R58 R60 R64 R66 R70 R72 R74-76 SMD RESISTOR 22 10K R32 R1[...]

  • Страница 43

    LED Lighting Control using the MC9S08A W60, Rev . 1 Freescale Semiconductor 43 T able 4-2 BOM f or LED Driving Board Part Descript ion Quant i t y V al ue Desi gna t ors SMD RESIST OR 5 0 R1-2 R10-12 SMD RESIST OR 1 52K R6 SMD RESIST OR 1 2K2 R7 SMD RESIST OR 1 0.22 R8 SMD RESIST OR 1 180 R9 SMD RESIST OR 2 open R3 R14 SMD RESIST OR 1 510 R5 SMD RE[...]

  • Страница 44

    LED Lighting Control using the MC9S08A W60, Rev . 1 44 Freescale Semiconductor[...]

  • Страница 45

    [...]

  • Страница 46

    How t o Reach Us: Home P age: www .freescale.com E-mail: suppor t@freescale.com USA/Eur ope or Locatio ns Not Listed: F reescale Semiconductor T echnical Inf ormation Center, CH370 1300 N. Alma School Road Chandler , Arizona 85224 +1-800-521-6274 or +1-480-768-2130 suppor t@freescale.com Europe, Middle East, and Africa: F reescale Halbleiter Deutsc[...]