Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

UM1632 Arkusz danych(PDF) 7 Page - STMicroelectronics

Numer części UM1632
Szczegółowy opis  STM8L DALI slave interface
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1632 Arkusz danych(HTML) 7 Page - STMicroelectronics

Back Button UM1632 Datasheet HTML 3Page - STMicroelectronics UM1632 Datasheet HTML 4Page - STMicroelectronics UM1632 Datasheet HTML 5Page - STMicroelectronics UM1632 Datasheet HTML 6Page - STMicroelectronics UM1632 Datasheet HTML 7Page - STMicroelectronics UM1632 Datasheet HTML 8Page - STMicroelectronics UM1632 Datasheet HTML 9Page - STMicroelectronics UM1632 Datasheet HTML 10Page - STMicroelectronics UM1632 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 32 page
background image
DocID024513 Rev 1
7/32
UM1632
Structure of final user application
2
Structure of final user application
The final user application uses the DALI slave library and consists of the following three
layers:
•
Main user application
•
DALI stack layer
•
I/O pin driver layer
2.1
User application
The structure of the user application is entirely comprised of IAR project files. The
application code is in one source file, "main.c", in which the whole user ballast control is
implemented. This code calls the DALI slave library functions.
The user application example included in the DALI slave library package is designed to work
with "STM8L1526-EVAL" and "STEVAL_ILM001V1 (DALI transceiver board)". The
STM8L1526-EVAL is a small printed circuit board (PCB) with an integrated STM8L152C6
device which demonstrates the STM8L capabilities. The DALI transceiver board is
connected to the STM8L1526-EVAL as a physical layer extension. It provides voltage level
conversion and optical isolation between the DALI bus and the STM8L1526-EVAL
(according to the DALI specification requirements).
The main task of the user application is to initialize the DALI stack and implement the light
intensity control function (callback function); this function is ballast dependent. The user
application also periodically controls some event flags: if the DALI slave library sets an
event flag and it indicates a pending event, the user application must call the appropriate
service routines (from the DALI slave library) to execute the necessary commands.
The user application example uses timer 3 to control the light intensity of the LED diode
present on the STM8L1526-EVAL. Timer 3 generates the pulse-width modulation (PWM) for
the LED diode (using the callback function). The main program loop checks event flags,
executes actions for active flags, and provides power management (Low power state if the
DALI bus is quiet) and error management (reports hardware errors). For all these activities,
the user application calls functions from the DALI slave library.
Figure 3. Structure of DALI stack layer



Html Pages

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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com