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.

CCS/MSP430F449: msp430f449

Part Number: MSP430F449

Tool/software: Code Composer Studio

hi

i need to calculate delayfunction using looping function not with timer.
due to have any sample code on this

i have used 32khz as first crystal and 8 mhz as second crystal

because i tried so much on the net nothing works as for clock register is concerned i am using default values

regards
senthil

  • Hello Senthil,
    I am sorry, but what do you mean by "nothing works". Could you please be more specific on the description of your issue? As far as I understood, you do not want to use a timer, while not understanding why, you do not want to use one. So the only option left, is using a SW loop executed by the CPU. Have you considered the potential implications, like higher current consumption, possible timing corruption by interrupts?
    If my assumption is correct, and you tried to implement a SW wait loop, what did not work? A simple while loop with a counter being decremented does an adjustable delay.
    So please, as stated above give us a more detailed explanation on your problem. Many thanks in advance.

    Best regards
    Peter
  • Hello Senthil,
    could you please let us know the status on your side? Do you still need support on this topic? If not please close the thread. Many thanks in advance.

    Best regards
    Peter

**Attention** This is a public forum