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?
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.
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?
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!!
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 |
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.
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