Electronic Components Datasheet Search
Selected language     English  â–¼


ST7DALI Datasheet(PDF) 72 Page - STMicroelectronics

Part No. ST7DALI
Description  8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI, DALI
Download  141 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Maker  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo 

 72 page
background image
ST7DALI
72/141
DALI COMMUNICATION MODULE (Cont’d)
11.4.4 General Description
The DCM is able to receive or transmit a serial
DALI signal using a 16-bit shift register, an edge
detector, several data/control registers and arbi-
tration logic.
The DCM receives the DALI standard signal from
the lighting control network, checks for errors and
loads the address/data bytes of a "forward frame"
to the corresponding DCMFA/DCMFD registers
and sends back the data byte of the "backward
frame" (written by software to the DCMBD regis-
ter) in DALI standard format.
The data rate can be changed by writing in the DC-
MCLK register ( fDATA = 2* fDALI).
fDATA = fCPU/[(N+1)*16]
The DALI standard data rate fDALI is 1.2 kHz. N is
the integer value of the DCMCLK register. Follow-
ing the above formula, if fCPU is 8 MHz, the integer
value of the DCMCLK register is "207". The bi-
phase bit period is 833.33 us ±10%.
The polarity of the bi-phase start bit is not config-
urable. The start bit is a logical ’1’.
The polarity of the 2 stop bits is not configurable.
The 2 stop bits are set to high level.
If an error is detected during reception, the frame
will be ignored and the DCM will return to Receive
state.
11.4.5 Functional Description
The user must write to the DCMCLK register to se-
lect the data rate according to the DALI signal fre-
quency.
After Reset, the DCM is in Receive state and waits
for the bi-phase start bit (logical ’1’) of the "forward
frame".
The DCM checks the data format of the "forward
frame" with the 4-bit pre-shift register. If an error
occurs during reception, the DCM will skip the data
and return to the Receive state.
If there is no error in the "forward frame", the data
will be shifted Most Significant Bit-first into the 16-
bit shift register. The address byte and the data
byte will be loaded to the corresponding DCMFA
and DCMFD registers. The DCM will send an in-
terrupt signal by setting the ITF bit in the DCMCSR
register.
If the software receives an interrupt signal from the
DCM, it reads the DCMFA and DCMFD registers.
Depending on the command, the DCM is able to
send back or receive data.
In an interrupt routine, the RTS bit has to be set ei-
ther before or at the same time as the RTA bit.
If the software asks the DCM to send back a
"backward frame", the software must first write to
the DCMBD register and switch the DCM to Trans-
mit state by setting the RTS and RTA bits in the
DCMCR register during the interrupt routine. The
DCMBD register will be shifted out from the 16-bit
shift register in DALI format, the Most Significant
Bit-first.
When the "backward frame" has been transmitted,
the DCM will send an interrupt signal by setting the
ITF bit in the DCMCSR register.
If the software asks the DCM to receive a "forward
frame", the software must switch the DCM to Re-
ceive state by clearing the RTS bit and setting the
RTA bit in the DCMCR register during the interrupt
routine.
If the ITF interrupt flag is set in the DCMCSR reg-
ister, the software must set the RTA bit in the DC-
MCR register to allow the DCM to perform the next
DALI signal reception or transmission.
The DALIIN signal is always taken into account by
the 4-bit pre-shifter.
1




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  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99  100   ...More


Datasheet Download



Related Electronics Part Number

Part NumberComponents DescriptionHtml ViewManufacturer
ST7LITE18-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY DATA EEPROM ADC 4 TIMERS SPI 1 2 3 4 5 MoreSTMicroelectronics
ST7LITE08-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY DATA EEPROM ADC TIMERS SPI 1 2 3 4 5 MoreSTMicroelectronics
ST7LITE28-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY DATA EEPROM ADC TIMERS SPI 1 2 3 4 5 MoreSTMicroelectronics
ST7LITE38-BIT MCU WITH SINGLE VOLTAGE FLASH DATA EEPROM ADC TIMERS SPI LINSCI 1 2 3 4 5 MoreSTMicroelectronics
ST72334J8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY ADC 16-BIT TIMERS SPI SCI INTERFACES 1 2 3 4 5 MoreSTMicroelectronics
ST72104G8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY ADC 16-BIT TIMERS SPI I2C INTERFACES 1 2 3 4 5 MoreSTMicroelectronics
ST7262LOW SPEED USB 8-BIT MCU WITH 3 ENDPOINTS FLASH OR ROM MEMORY LVD WDG 10-BIT ADC 2 TIMERS SCI SPI 1 2 3 4 5 MoreSTMicroelectronics
ST72260G8-BIT MCU WITH FLASH OR ROM MEMORY ADC TWO 16-BIT TIMERS I2C SPI SCI INTERFACES 1 2 3 4 5 MoreSTMicroelectronics
ST72311R8-BIT MCU WITH NESTED INTERRUPTS EEPROM ADC 16-BIT TIMERS 8-BIT PWM ART SPI SCI CAN INTERFACES 1 2 3 4 5 MoreSTMicroelectronics

Link URL

Does ALLDATASHEET help your business so far?  [ DONATE ]  

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Bookmark   |   Link Exchange   |   Manufacturer List
All Rights Reserved© Alldatasheet.com 2003 - 2017    


Mirror Sites
English : Alldatasheet.com  , 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