STM8S105forDALI

所属分类:单片机开发
开发工具:Objective-C
文件大小:4253KB
下载次数:231
上传日期:2012-01-05 08:49:24
上 传 者诚信天下
说明:  基于STM8系列单片机的DALI总线协议开发包(C语言程序)。单片机STM8S105,DALI总线从机程序。
(DALI slave library comes with simple application example (DALI slave device). It was designed (and tested) for use with this evaluation hardware: STM8S Discovery board (see UM0817- STM8S Discovery User manual on www.st.com/mcu) together with DALI transceiver board. Application example controls the luminance of the on-board LED diode. Light intensity is controlled by PWM method using built-in Timer. As DALI master device can be used ST7DALI evaluation kit (board and PC software- see www.st.com/mcu) or some commercial DALI controller (e.g. from Osram).)

文件列表:
STM8S105.pdf (1391615, 2011-11-11)
STM8S DALI Slave library.pdf (345702, 2011-11-11)
STM8S+DALI+Slave+library.pdf (345702, 2011-11-11)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\inc\dali.h (2446, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\inc\dali_cmd.h (1286, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\inc\dali_config.h (3625, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\inc\dali_pub.h (7416, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\inc\dali_regs.h (3999, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\inc\eeprom.h (1229, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\inc\lite_timer_8bit.h (1561, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\src\dali.c (8005, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\src\dali_cmd.c (46622, 2011-04-20)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\src\dali_config.c (6716, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\src\dali_pub.c (16825, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\src\dali_regs.c (5365, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\src\eeprom.c (2823, 2011-05-02)
STM8Sx_AN3298_FW_V2.0.0\Libraries\DALIStack\src\lite_timer_8bit.c (3289, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s.h (114615, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_adc1.h (15026, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_adc2.h (11473, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_awu.h (4926, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_beep.h (3495, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_can.h (25587, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_clk.h (16947, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_exti.h (4625, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_flash.h (13614, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_gpio.h (6270, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_i2c.h (27706, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_itc.h (6679, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_iwdg.h (4307, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_rst.h (2834, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_spi.h (13062, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_tim1.h (26735, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_tim2.h (14088, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_tim3.h (12917, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_tim4.h (5299, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_tim5.h (19890, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_tim6.h (9524, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_uart1.h (16529, 2011-04-13)
STM8Sx_AN3298_FW_V2.0.0\Libraries\STM8S_StdPeriph_Driver\inc\stm8s_uart2.h (19058, 2011-04-13)
... ...

/** @page STM8S_DALI_AN stm8s DALI library: STM8S DALI application note @par Example description DALI is standardized interface to control "intelligent" light sources. This AN describes DALI slave library and simple user application using this library. The main purpose of this firmware package is to provide resources to build light control application which uses DALI as communication interface. DALI slave library comes with simple application example (DALI slave device). It was designed (and tested) for use with this evaluation hardware: STM8S Discovery board (see UM0817 - STM8S Discovery User manual on www.st.com/mcu) together with DALI transceiver board. Application example controls the luminance of the on-board LED diode. Light intensity is controlled by PWM method using built-in Timer. As DALI master device can be used ST7DALI evaluation kit (board and PC software - see www.st.com/mcu) or some commercial DALI controller (e.g. from Osram). @par Directory contents See AN for detailed description. + libraries + DALIStack + inc - dali.h - high level DALI stack functions header file - dali_cmd.h - DALI commands implementation header file - dali_config.h - configuration of DALI slave device header file - dali_pub.h - public functions header file - dali_regs.h - DALI register management header file - eeprom.h - read/write management for EEPROM data header file - lite_timer_8bit.h - DALI timing management header file + src - dali.c - high level DALI stack functions source file - dali_cmd.c - DALI commands implementation source file - dali_config.c - configuration of DALI slave device source file - dali_pub.c - public functions source file - dali_regs.c - DALI register management source file - eeprom.c - read/write management for EEPROM data source file - lite_timer_8bit.c - DALI timing management source file + STM8S_StdPeriph_Driver (only used files are listed here) + inc - stm8s.h - HW registers definitions and memory mapping - stm8s_flash.h - flash driver header file (needed only with for IAR) + src - stm8s_flash.c - flash driver source file (needed only with IAR) + Project + inc - DALIslave.h - low level DALI pin driver header file - stm8_it.h - interrupt service routines header file - stm8s_conf.h - STM8S peripheral modules configuration header file + src - DALIslave.c - low level DALI pin driver source file - stm8_interrupt_vector.c - interrupt vector table content source file - stm8_it.c - interrupt service routines source file - eeprom_itf.c - utility code for automatic EEPROM memory access (needed only with IAR) - main.c - Main file containing the "main" function + STVD + raisonance - STM8DALI.stw - Contains the STVD workspace for cosmic compiler - stm8dalislave.stp - Contains the STVD project for cosmic compiler + cosmic - STM8DALI.stw - Contains the STVD workspace for raisonance compiler - stm8dalislave.stp - Contains the STVD project for raisonance compiler + EWSTM8 - STM8DALI.eww - Contains the EWSTM8 workspace for IAR compiler - stm8dalislave.ewp - Contains the EWSTM8 project for IAR compiler @par Hardware environment - Plug DALI transceiver board to STM8S Discovery board. Load firmware into the STM8S105 on STM8S Discovery board using USB and STVD or EWSTM8 software. Connect DALI transceiver board to DALI master device with 2 wires (DALI bus). As DALI master device can be used ST7DALI evaluation kit or some commercial DALI controller. @par How to use it with STVD ? - Open the STVD workspace - Rebuild all files: Project->Rebuild all - Load project image: Debug->Start/Stop Debug Session - Run program: Debug->Run (F5) @par How to use it with EWSTM8 ? - Open the EWSTM8 workspace - Rebuild all files: Project->Rebuild all - Load project image: Project->Download and Debug - Run program: Debug->Go (F5) */ /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/

近期下载者

相关文件


收藏者