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.

MSP430FR2533: Programming P1 port for JTAG

Part Number: MSP430FR2533

Hi,

We are using MSP430FR2533. In our design, we are using P1.4 as JTAG interface TCK, P1.5 as JTAG TMS, P1.6 as JTAG TDI and p1.7 as JTAG TDO. We are using remaining 4 bins (p1.0 – p1.3) as general output. During the initialization we will set P1.0, P1.1,P1.2, P1.3 as output. Do we need to program, the pins that are connected to JTAG or is it done internally, and we don’t have to program, those pins?

Thanks

Shobha

  • Hi Shobha,

    during debugging and having JTAG communication, you don't need to take care of the P1.x GPIOs with JTAG functionality as the device will switch based on the debug mode automatically to JTAG functionality. But for the final code for your application, when JTAG of course will not be connected, and the device not in debug mode, you need to take care of these GPIOs, even if not used in your application, by terminating them, to avoid floating nodes and related currents.

    The termination can be done either by external pull-up/-downs, or using the integrated resistors, or switching them to GPIO output direction, setting them to output low or high. From current consumption, there is no difference between these options. In terms of potential leakages on the PCB it depends on neighbored signals on the PCB, whether output high or low makes more sense. The same applies for the use of the resistors.

    Best regards

    Peter

  • Hi Shobha,

    I assume your question has been answered sufficiently, thus I am closing the thread.

    Best regards

    Peter

**Attention** This is a public forum