Skip to main content
NKP
Visitor II
January 14, 2019
Question

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

  • January 14, 2019
  • 1 reply
  • 833 views

..

    This topic has been closed for replies.

    1 reply

    AvaTar
    Senior III
    January 14, 2019

    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.