SLAZ269AB October 2012 – May 2021 MSP430F5325
PORT Module
Functional
Increased current consumption by internal floating pads
For MSP430F534x devices in 48-pin RGZ package, the internal floating pads can cause increased current consumption in all operating modes. Those pads are not connected to external device pins and are not terminated automatically by the boot code.
Add the following lines of code at the beginning of the application to terminate the floating pads and eliminate additional current consumption.
1. In Assembly:
bis #07F00h,&00204h ; Terminate unused P2
bis #000E0h,&00224h ; Terminate unused P4 and P3 pads
bis #0C140h,&00244h ; Terminate unused P6 and P5 pads
bis #0FFFFh,&00264h ; Terminate unused P8 and P7 pads
2. In C:
#define INIT_MEMORY_ADDR 0x0204
unsigned int *Init_Addr = ((unsigned int*)INIT_MEMORY_ADDR);
*Init_Addr = 0x7F00;
*(Init_Addr+0x10) = 0x00E0;
*(Init_Addr+0x20) = 0xC140;
*(Init_Addr+0x30) = 0x07FF;