Part Number: MSP432P401R
Tool/software: Code Composer Studio
Dear team,
I am using MSP432P401R.
It seems that Bank 2-7 are all disabled when i use SysCtl_disableSRAMBank(SYSCTL_SRAM_BANK2);
And the sramSize from 65535 to 0 when i use SysCtl_getSRAMSize.
Please check it. Thanks!
#include <ti/devices/msp432p4xx/driverlib/driverlib.h>
/* Standard Includes */
#include <stdint.h>
#include <stdbool.h>
int main(void)
{
/* Stop Watchdog */
MAP_WDT_A_holdTimer();
volatile uint32_t sramSize=0;
WDT_A_holdTimer(); // stop watchdog timer
sramSize = SysCtl_getSRAMSize();
SysCtl_disableSRAMBank(SYSCTL_SRAM_BANK2);
sramSize = SysCtl_getSRAMSize();
__no_operation();
while(1)
{
}
}

