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.

disable pin RST / NMI

Other Parts Discussed in Thread: MSP430F2012

Hi I'm working on something I'm going msp430 Code a pic but a pic msp430 pin MCLR pin can be disabled.

The MSP430 can do the same disable the RST pin or choose another function, such as NMI O SWBTDIO.

Thanks in advance for your answers.

  • Since you didn't specify which device you are using and I'm not going to check all of them, on the G2xx devices used on the value-line launchpad, the RST/NMI pin can be either a reset pin or an NMI pin. This is controlled in the WDTCTL register.

  • Hi thanks for the reply:

    I'm working on msp430f2012 CCS compiler and there are some records that is PORIFG RSTIFG WDTIFG of IFG1, I can clear these flags IFG1 to prevent reset for that pin.

    I have a 47K resistor from RST to VCC pin and 10nF capacitor between the RST pin to VSS.

    Or I can configure the WDTCTL to put this pin to VSS and avoids a reset.

  • I'm still not clear what you are trying to accomplish. The RST/NMI pin can be either or. It cannot be a general-purpose I/O pin.

    You can mask the NMI using the NMIIE bit in IE1 register.

    Please refer to the device datasheet and Section 2.2.1.1 of the User's Guide.

  • David:

    Will you please be kind enough to repeat the question? Make it clear enough to be understood.

  • On Power-ON, this pin is always a reset pin. So your hardware must be set-up for this situation anyway. So the question is, why do you want to disable this?
    How to do it during device operation was already said: switch to NMI mode in the WDT control register, but do not enable the NMI (don't set the NMIIE bit). Then the pin is dead.

**Attention** This is a public forum