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.

New Video: DALI MSP430 LED System

Other Parts Discussed in Thread: TPS62260, MSP430F5438, MSP430F2131

Watch the video here: http://www.youtube.com/watch?v=xPv53qoBLA8

This MSP430 based LED lighting solution supports the Digital Addressable lighting Interface, or DALI. DALI was originally defined for ballast control in IEC60929 and was recently with IEC62386 to include the increasingly popular field of LED lighting. In order to address this growing application space TI has provided a number of evaluation tools and modules like the TPS62260 LED EVM. The TPS62260 LED EVM is used in this demonstration in addition to a DALI daughter board to translate the between the MSP430 voltage levels and the DALI physical layer.

More Information: 

http://bit.ly/DALI_LED

http://bit.ly/LED_Home_Page


 



  • Hello, I am working in a project about DALI with MSP430F5438. I found information about it but with MSP430F2131. This has been very useful for me. But I have one questions for you: Why you use WDT+ timer for the fade control? Why don´t use Timer B or another of Timer A module? It is for timing requeriments in standar DALI? Could I use Timer_A3 for PWM and Timer_A2 o Timer_A1 for fade control?  Could I use Timer_B for fade control too?

     

     

    I hope your response!

    Thank you!

  • I don't know DALI, but I don't think there is any problem using TimerB or another TiemrA.
    I'd say the WDT is abused as timer because the 2x series is a bit short on timers: The 2x31 only has a single TimerA2.

    So using TACCR0 and TACCR1 for the PWM, output, all available standard timers are used. So for any additional timing, teh WDT is all that's left.

     

  • Yes, but the MSP430F2131 has two timer: Timer A and Timer B, however in this example is used Timer A to generate PWM signals and WDT for "fade control" of DALI. Why?

  • Antonio Blanco said:
    the MSP430F2131 has two timer: Timer A and Timer B

    Where did you read that? I'm right now looking onto the 2x31 datasheet (slas439d.pdf) and there is no TimerB. Just a TimerA3.

    The family users guide lists all modules any device in this family has. This does not mean that all devices of this family have every module described in the users guide.

    p.s.: the 2132 has a TimerA2 and a TimerA3. However, still no TimerB. But together, three PWM outputs with two different PWM frequencies can be emitted.

    The 22x2/22x4 devices have a TimerA3 and a Timer B3. And teh 241x/261x have a TimerA3 and a TimerB7.

  • I just downloaded the code into my board and only the green and red led is turned on. Wonder if he is using the same code cos my blue ain't working at all. Think i will look into the code.

  • Because MSP430F2131 only has 3 register TACCRx (TACCR0 = 5000 (for frecuency of cycle of work), TACCR1 = LED [power_on_leve] (for PWM of red led), TACCR2 = LED [power_on_leve] (for PWM of green led)). I think that in the example of the video, they will have a jumper in the pin TP6 with TP5 or TP9.

  • Hmm wont it strain the driver or something? Thanks for the suggestion.

**Attention** This is a public forum