Taking ADC i/p at P1.1
P1OUT |= 0X02;
P1REN &= ~0X02; // Enable pull down register
Vcc =3.58v
AT P1.1 Vcc = 3.52v.
I don't get low signal here.
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.
Taking ADC i/p at P1.1
P1OUT |= 0X02;
P1REN &= ~0X02; // Enable pull down register
Vcc =3.58v
AT P1.1 Vcc = 3.52v.
I don't get low signal here.
P1REN &= ~0X02 disables the pull-up/down resistor on p1.1. If you want to enable pull-down on p1.1 you need to do this:
P1REN |= 0X02; // Enable resistor on P1.1 P1OUT &= ~0X02; // Set P1.1 resistor to pull down
Notice that when a bit in PxREN is set, the matching bit of PxOUT sets whether the resistor is pulling up or down. This is detailed in section 8.2.4 of the MSP430x2xx Family User's Guide.
Sorry Bro. I'm still getting 2.5v supply
Try for single pin and double pins. It shows same 2.5v each pin
After some experiments, Failures, And hit.....
I've tried to remove the RXD and TXD from J3 and now all pull down and pull up works.
**Attention** This is a public forum