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.

MSP430F5529

Other Parts Discussed in Thread: MSP430F5529

How to  use LCD for showing ADCoutput using MSP430F5529?

How to use serial linking problems?

  • Shaiori Saha said:
    How to  use LCD for showing ADCoutput using MSP430F5529?

    The demo code contains low- and high-level functions to operate the LCD. See how the demo does it and mimic it.

    Shaiori Saha said:
    How to use serial linking problems?

    I usually put them onto my todo list and try to solve them. I think, using them as a reason for improving the code is the only way to use problems.
    But I guess you wanted to ask something else.

  • Hi Michael,


    Even I want to use on board LCD to display some data.Can you provide demo source code link ? All i get is executabel software but not source code.

    Appreciate your help.

    THank you.

    -Srinath

  • Srinath Vaddepally1 said:
    Even I want to use on board LCD to display some data.Can you provide demo source code link ? All i get is executable software but not source code.

    The executable should be the PC frontend for the user experience demo. The MSP430 code should be available as a project source.

    Check the product folder of the demo board. Most available resources are linked there (you might need to click on one of the 'more' buttons to see all stuff)

  • Jens,

    Thanks for comemnts. I later figured out the source code and I could able to run the same. Now  I could able to see text pefectly. I have another query as well. THis is inregards to HTTP web server source code. I raised my questions in another post as well. But no body responded :( 

    http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/314351.aspx

    Could  you please comment there as well. 

     

    Thank you.

    Srinath

     

  • Hi

    Can you please help me understand this switch statement and how the even_in_range() function works?

    switch(__even_in_range(UCA1IV,4))

    A little bit of explanation will be helpful.


    Thanks

  • Rizwan Bashir said:
    help me understand this switch statement and how the even_in_range() function works

    This is a rather generic question, related to teh MSP compiler and not this specific MSP. So a new thread would have been appropriate. Also, this has been answered often in the past: a forum search would surely dig up an answer.

    However, this intrinsic (compiler-recognized pseudo-function) tell the compiler that the argument of this switch statement will always be an even number from 0 to x (4, in this case).
    So the compiler can generate a highly effective jumptable for the different cases rather than a chain of if..else if... comparisons.

    It has been designed specifically to be used with IV registers, which return an even value from 0 to x for different interrupt sources.

  • As an FYI, this is covered in the Getting Started with the MSP430 Workshop. Searching the workbook for "even_in", you should find it discussed in the interrupts chapter (page 5-25 in version 3.02a of the workshop).

    You can find this workshop on its wiki page: http://processors.wiki.ti.com/index.php/Getting_Started_with_the_MSP430_LaunchPad_Workshop

**Attention** This is a public forum