SLAU847F October 2022 – March 2026 MSPM0L1105 , MSPM0L1106 , MSPM0L1116 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2116 , MSPM0L2117 , MSPM0L2227 , MSPM0L2227-Q1 , MSPM0L2228 , MSPM0L2228-Q1
Digital Addressable Lighting Interface (DALI) is an International Standard (IEC-62386) lighting control system for providing a single interface for lighting controllers.
The UART module supports sending and receiving forward and backward frames. The timing between any forward and backward frame sequence needs to be handled and checked by software.
Transmitting a forward or backward frame:
When transmitting a forward frame, a second byte must be written to the buffer before first byte has been shifted out (Otherwise, stop bits are sent like a backward frame). The hardware then sends the two bytes without inserting the stop bits.
Receiving data:The UART module in DALI mode checks the 9th bit after the start bit to detect a forward or backward frame. If this bit has a change of phase (= no stop bit) a forward frame is detected and:
The AMASK register can be used as group assignment used during multicast operation with the MSB to indicate if the device is part of a DALI group. To enable the UART in DALI mode to respond on all ADDRESS the AMASK register needs to be cleared.