Jump to content


  • Content Count

  • Joined

  • Last visited

Posts posted by Sathyashree

  1. Sir..... Thank you soooooo much!!! I've got it done!!! It's blinking exactly after 20 seconds...


    First video that I took!!:



    And I used hardware switch debouncing using a resistor to connect to Vcc from P1.3, and a capacitor from P1.3 to ground getting it quite easier...






    I have a query:


    Is there any simulation software available for MSP430 G2553 and CCSv5 for it's coding in Windows 8?? And if so, could you provide me a link which could help me free download ?

    I saw @@bluehash referring to QSimKit in other post, but is that fine for the above specifics?

  2. Ya, I got it.. Thanks!! And your explanation was sooo edible...! Motivates me to learn more...! Thanks...!


    I just have some doubts with me:


    # I just need to know about CCR0 value.. On choosing SMCLK, we know that without prescaling, it runs at 1 MHz frequency, and that value which we assign it for CCR0, is that the time until which the clock would keep counting up? Or it's something more...? Because maximum of CCR0 would take up value of only 65535, what does that indicate?

    How to go about that if I need my timer to count upto 20 seconds?


    #I just get confused with frequency of the timer, the interval with which timer is ticking, it's dependency over frequency( since 1/frequency is the time period, won't it be 1microsecond)?


    # when I keep my outmode 5, i.e., Reset... When the required count suppose CCR0 has reached 19,( as in my case I wanted the timer to count until 20 seconds), after which the timer sets to 0 right?

    Is there any code or any statement to check if the timer has reached 0?


    #And once this condition is reached like setting back to 0, if I press the reset button, the timer would start counting from first according to my code right?




    This is for reference.


    # My aim is to make the LEDs glow once after 20 seconds have passed, and during the time I would keep pressing the push button, and suppose I press it 8 times in those 20 seconds, my leds that I've connected in the breadboard using jumper wires should glow like 1000,

    i.e., Led1 : on

    Led2 : off

    Led3 : off

    Led4 : off


    For this I connected P1.0, P1.1, P1.2 and P1.4 for my outputs in sequence.

    And anodic parts of which I connected in the line connecting the wire to the ground part on the right side of the launchpad.


    # Except for the timer part, the rest of the coding is as contained in this:



    # For the switch debouncing, I used software debouncing wherein the principle is like:

    Enable external interrupt and when interrupt occurs, increment a static variable j that initially was 0, and make another static variable k which was 0 initially to be 1, and during interrupt in it's rising edge, call for the watchdog timer for 32ms stay up, so during this time the switch debouncing would be cleared which is considered to be of the range of maximum 10-20ms. Then when watchdog completes it's cycle enable external interrupt. And during this time if switch is released, falling edge occurs, interrupt is enabled, j again increments, and k is made to be 1 and conditions are included again and the process continues.


    The variable k is initialised in order to check up with the state of the switch. Initially it's 0, meaning it's unpressed. And the code follows.

  3. And I just wanted to know if the following:

    And I just wanted to know if the following:






    Are they built-in..?

    If so, could you please help me sort it out to understand the presence of Vcc and ground that they talk about in the two different situations?

    You may just encircle them in the MSP430 that I have initially put in the blog?

  4. Yeah... Thank you so much.... One more thing I just wanted to ask... A pin with value 1, how does it have a potential of 3.6 volts? Like.. Will there arouse any new connection it creates in itself inside the launchpad when we set some pin's value 1 ?

    And, if suppose answer is yes, for that little transition we set for a pin between 0 and 1, then would it not require mechanical energy often to shift its position from ground level to Vcc and vice-versa?

  5. "0x01 sets all but pin 0 to zero with pin 0 at 1. The LED is connected with its cathode at ground, so a high value on P1.0 turns on the LED. Thus 0x00 is off, 0x01 is on."


    Here's my doubt:

    When we direct p1.0 to have bit 1,

    Well.. Ya... It has high value...

    For the Current to flow in the launched in-built from p1.0 to ground through LED1, and hence the led to glow, there should be a voltage difference, right..? Does keeping p1.0 pin's value 1, is that enough to create the voltage difference?

  6. Ya, I'm new to this and I don't have much knowledge but I will correct myself, anyway, I thank god to have found such an active blog with people having helping tendency and knowledge seekers... Anyway, I'm happy that I belong here. I'm a beginner and have just started my voyage to MSP 430 EXP-G2, continuing from my basics.

    If any queries on my way, I shall contact you all, right?

  7. Hey Greeg, do you use MSP430?


    Sent from my C1904 using Tapatalk




    Sent from my C1904 using Tapatalk


    Please do help me do a project with it, using CCS...


    Sent from my C1904 using Tapatalk


    If it's possible for you, let me know... I'm in terrible need of it, I have my project submission dated very closer...


    Sent from my C1904 using Tapatalk


    And... Before all this, lemme tell you... M a beginner... I wanted to do a project to interface a Current transformer with the launchpad and display " transformer overload" when current inflow is greater than measured...


    Sent from my C1904 using Tapatalk


    Please just inform me if you can help me out! Please guys...


    Sent from my C1904 using Tapatalk

  • Create New...