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;