Skip to main content
NKP
Visitor II
Jan 14, 2019 6:40 AM UTC
Question

Hello, I want to know about Random Address Allocation in DALI Communication. Is there any sample code for it?

..

    This topic has been closed for replies.

    1 reply

    AvaTar
    Senior III
    Jan 14, 2019 7:32 AM UTC

    I suppose not.

    Rather, I would recommend to look for an appropriate (MCU agnostic) algorithm, and test it.

    The problem is not implementing itself, but to achieve sufficient "randomness" with multiple identical devices. This is usually based on MCU-specific parameters like counters and/or ADC inputs, and not portable.

    All the companies in the lighting business I know tend to go cheap, i.e. preferably select an 8-bit MCU for slave devices. Most often Microchip PIC16/18.