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.

PJ PORT

Other Parts Discussed in Thread: MSP430FR5969

Hi,

I'm developing the code for a device that use a MSP430FR5969. On the PCB the LFXT is connected to PORT PJ.4 and PJ.5 but I don't use the crystal. Also I use a 2 wire JTAG to program the microcontroller so PJ.0 to PJ.3 aren't used , and PJ.6 and PJ.7 aren't connected to any HFXT crystal. My question is how I should configure the PJ port to minimize the consumption ? This is my code, is it correct ? :

     // Port J
     // PJ.0 : NOT CONNECTED
     // PJ.1 : NOT CONNECTED
     // PJ.2 : NOT CONNECTED
     // PJ.3 : NOT CONNECTED
     // PJ.4 : LFXT CRYSTAL --> THE CRYSTAL IS SOLDERED BUT NOT USED IN THIS VERSION
     // PJ.5 : LFXT CRYSTAL --> THE CRYSTAL IS SOLDERED BUT NOT USED IN THIS VERSION
     // PJ.6 : HFXT CRYSTAL --> THE CRYSTAL IS NOT SOLDERED
     // PJ.7 : HFXT CRYSTAL --> THE CRYSTAL IS NOT SOLDERED


     PJDIR = 0xFF;
     PJOUT = 0;

**Attention** This is a public forum