This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/MSP430G2452: MSP430 with DALI

Part Number: MSP430G2452
Other Parts Discussed in Thread: MSP430F2131, TIDM-MSP-DALI, , MSP-EXP430G2, TPS62260LED-338

Tool/software: Linux

Hello,

1. What is the part number of the launchpad for using only the controller? 

2. How many dali lines can the launchpad control?

3. Can we monitor the dali telegram on the line with the launchpad?

4. Can we make a communication between the launchpad and raspberry pi?

Thanks

  • Hello Arielis,

    The TIDM-MSP-DALI resources use a MSP-EXP430G2 LaunchPad and MSP430G2452 slave (The MSP430F2131 on the TPS62260LED-338 must be removed), this setup controls one DALI line and two LEDs (due to PWM pin limitations, the code can be modified to support three LEDs but this will be at the cost of supporting all of the different fade rates specified in DALI). The max LED number is limited by the number of PWM lines and can be increased through a larger slave microcontroller and additional TPS62260DRV devices. The MSP430G2452 has an available USI peripheral for I2C or SPI communication with a Raspberry Pi, but you will need to move PWM1 functionality from P1.6 (uses TA0.1) to free up the SDO/SCL pin.  It should be mentioned that the PHY level translation board that opto-isolates and translates the DALI signals (10-20V) to the MSP430 3V IO is not provided or sold by TI and will have to be fabricated independently.

    DALI App Report (SLAA422): www.ti.com/.../slaa422a.pdf
    LED Driver EVM (SLVU240): www.ti.com/.../slvu240a.pdf

    Regards,
    Ryan

  • Arielis,

    I made some mistakes in my initial response which have now been corrected.

    Regards,
    Ryan
  • Thanks Ryan,

    So we can configure the MSP430G2452 to work with the raspberry using the USI peripheral for I2C. Then, I need to build the PHY level translation board. Can I do that in one shield, rather than a different board?

    In DALI, for one master we can put on one line with up to 64 devices. Sometimes even more. If I wish to add more devices, I will add some slave microcontroller and additional TPS62260DRV devices. I will have to find out the exact number.

    Let's say that I want to use the USB interface/Ethernet from the raspberry pi, to communicate with the dali line, I guess there will be no issues?

    Regarding the power needed to use this shield, would it be possible to use only the raspberry pi or should we plan an additional power supply?

    I am gonna make a schematic of it?

    Thanks

  • Hi Arielis,

    I'm not sure what other circuitry you plan on including with the PHY level translation board, the MSP430G2452s/TPS62260DRVs or otherwise, but how you decide to develop the platform is your choice. Connecting a Raspberry Pi to the DALI line is outside my area of expertise, I assumed you only wanted a non-DALI-related communication channel with the MSP430. Will the Pi exist as a master or slave device? Perhaps a schematic will be beneficial as I do not understand your target application.

    Regards,
    Ryan
  • My initial thought were to use the Pi only for the non dali side communication. Can the MSP430 be a good DALI master or only good slave? Do you have an email where I can send you some schematic?

    Thanks

  • Arielis,

    The MSP430 is typically only a DALI slave device. A Tridonic DALI master was originally used to develop and evaluate the TIDM-MSP-DALI. The Typical DALI signal voltage is 16 V, way above the MSP430's Vcc capabilities and why the PHY board must be used.

    Regards,
    Ryan