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.

MSP430g2553 DEAD?? P1.1 P1.2 default high



What would be the reason that P1.1 & P1.2 are high as soon power is applied, in the debugger i can see the ports P1IN as 0X06. Is my bored fried?

  • Are you using the G2553 on LaunchPad? If so, P1.1 and P1.2 are connected to RXD and TXD which are pulled high by the
    "EMULATION" part of that board.

    Pull the jumpers marked with RXD and TXD out.
  • My friend and I screen casted our screen, because I never noticed it before. His was off, he started to debug and initially it's P1OUT 0x00. Is there some persistent setting that I might have triggered? Timer or pwm setting I can change?

    Any and all help is appreciated.
  • Did you pull out the two jumpers marked as "TXD" and "RXD" on your LaunchPad board?

    -----------------

    Jose Rivera45 said:
    Is there some persistent setting that I might have triggered?

    I do not understand that question.

  • Yes is did pull them out, but i have a feeling that its a patch instead of a fix, the other students are not having other issues its just two of us (that i know of).

    We had a lab that we needed to use PWM and in doing so we needed to set the timer. It involved setting P1.2 as the pin for TA0.1, the goal was to  increase the brightness of an LED in steps, while displaying the duty cycle on a LCD, and also varying the frequency of a speaker. I being the smart engineer that i think a can be, decided to try to set up P1.1 in the same manner but with TA0.0, i could not get it to work so i gave up.

    Now on another lab Im noticing that those pins P1IN=0x06 by default are "1". I didn't have that issue before, so Im wondering that if somehow, some setting deep with in the MSP430 are  changed now. Is there a factory reset on these things?

    If i take the "TXD" and "RXD"  pins they do go to normal. So today in class i swapped the actual IC with the person that had his always P1IN=0x02, and mine, the result was that his board with my IC was now reading 0x06 and mine, you would think 0x02 but that is not the case it stayed as 0x06, so we exchanged them again and mine stays at 0x06 and his returned to 0x02.

    I swapped the other IC that comes packaged with the MSP430 and loaded an empty C project and still it was P1IN=0x06, so Im narrowing it down to the board and the chip since the settings .

    Is there any way to fix this!!

  • What is the voltage level at those pins on the socket if you remove the MSP and have the jumpers set?
  • Here's a table with all the values of the pins, P1.1 and P1.2 are high and i believe that pins P1.0 and P1.6 are a little higher because those are the LED pins.

      P1.X     Volts       P2.X     Volts  
    0 .30m 0 1.5m
    1 3.56 1 1.5m
    2 3.56 2 1.5m
    3 1.5m 3 1.5m
    4 1.5m 4 1.5m
    5 1.5m 5 1.5m
    6 24m 6(Xout) 1m
    7 0.6m 7(Xin) 1m

  • Do you see why Dennis asked you to measure the voltage without the chip now?

    Now, pull out those two jumpers and re-measure the voltages still without the chip.

    Yes, pulling out the jumpers is a "patch instead of a fix" (in your words). To "fix" (in your words) this, you could cut out or de-solder those pins. Or, cut the PCB traces that connect to those pins. But I do not see why anybody would want such a "fix".
  • Yes, my issue is that my board did not do this before, when i first purchased it, all jumpers were installed and it never did this. Ideally i would want my board back to its original state.
  • Initially your board probably were not working properly. The current behavior is the intended behavior of the board.
  • I measured it at one of my boards - and as OCY already said, both, TxD and RxD and pulled high by the emulation side of the LaunchPad - there is nothing wrong with your board.

    P1.1:

    P1.2:

    Dennis

  • Jose Rivera45 said:
    when i first purchased it, all jumpers were installed and it never did this

    I guess the board came with the jumpers set to software UART, means 90 degree rotated to the ones in the two pictures I posted. Then you set it to hardware UART.

  • For version 1.5 boards, P1.1 and P1.2 are pulled high whether the jumpers are rotated or not.
    For earlier versions, P1.1 and P1.2 are shorted together the jumpers are rotated.

    You can check the schematics of the board and the firmware inside the MSP430F16xx chip on the board to confirm this.
  • old_cow_yellow said:
    For version 1.5 boards, P1.1 and P1.2 are pulled high whether the jumpers are rotated or not.

    Yes, you're right - just had a second look.

**Attention** This is a public forum