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.

Problem with msp430F2618

Other Parts Discussed in Thread: MSP430F2618



Set up:
I am using MSP - FET430UIF as emulator device. The device is installed properly.
I am using IAR version 5.30(FET_R520.exe).
Evaluation Board of MSP430F2618(64 pin) having code below mentioned.
I am just togging one port pin P4.0.
On giving supply of 3.4V through capacitors to AVCC and DVCC pin, I am getting proper toggling on pin.

Issue:
If I disconnect the supply and giving pull up of 10K with 3.4V supply on port pin P1.5.
I am getting 2 V on AVCC and DVCC pins of microcontroller because of that my controller is getting On and toggling is still present there.

NOTE: Supply is disconnected even after that I am getting 2V on supply pins by giving supply of 3.4V on one port pin.


Software Code:

int main( void )
{
// Stop watchdog timer to prevent time out reset
WDTCTL = WDTPW + WDTHOLD;

P1DIR |= 0xFF;
P2DIR |= 0xFF;
P3DIR |= 0xFF;
P4DIR |= 0xFF;
P5DIR |= 0xFF;
P6DIR |= 0xFF;

/* Set all port as Low */

P1OUT = 0X00;
P2OUT = 0X00;
P3OUT = 0x00;
P4OUT = 0x00;
P5OUT = 0x00;
P6OUT = 0x00;

P1SEL &= ~0x020; // Set P1.5 to input direction for sync pulse interrupt

P1DIR &= ~0x020; // Set P1.5 to input direction for sync pulse interrupt

P1REN |= 0x020; // P1.5 interrupt enabled

P1OUT &= ~0x020; // Set P1.5 to input direction for sync pulse interrupt

while(1)
{
P4OUT ^= 0x01; // Gain selection
for(g_uiAmpFactor = RESET; g_uiAmpFactor < 50000 ; g_uiAmpFactor++);

}

}

  • The answer for your question is very simple: Don't do it. Never apply any voltage on any pin when VCC is 0V. The datasheet says that VCC is the maximum voltage that can be applied on an input pin. When VCC=0V then 0V is the maximum for an input.


    Two possible solutions: 1) disconnect the voltage from the pin with a transistor that is controlled by VCC or 2) Use LPM4 instead of removing VCC from the F2618

    Regards,
    Johannes

**Attention** This is a public forum