Part Number: MSP432P4011
Other Parts Discussed in Thread: CC3120
Tool/software: Code Composer Studio
Hello,
I try to make the simplelink WiFi plug-in to work with MSP432P4011 and CC3120 in a non-OS environment. It works with the MSP-EXP432P401R Development Kit but on my platform with MSP432P4011 it's a nightmare. The first problem encountered is at the initialization of TI drivers: Power_init() doesn't return.
Here is my (simplified) main function:
int main(void) {
// Stop watchdog timer
WDT_A_holdTimer();
Power_init();
while(1);
}
And the structure to configure the Power Driver:
const PowerMSP432_ConfigV1 PowerMSP432_config = {
.policyInitFxn = &PowerMSP432_initPolicy,
.policyFxn = &PowerMSP432_sleepPolicy,
.initialPerfLevel = 2,
.enablePolicy = true,
.enablePerf = true,
.enableParking = true
};
If I step into Power_init() in debug mode, the problem occurs at line 1639 in initPerfControl(), in PowerMSP432.c file:
SET_WAIT_STATES(BANK0, perfNew.flashWaitStates);
I can not display the value of perfNew.flashWaitStates (identifier not found) and I can't step into the SET_WAIT_STATES() function.
Right after this line the program jumps in Default_Handler().
Please help.
NB: simplelink_msp432p4_sdk_2_30_00_14 and simplelink_sdk_wifi_plugin_1_60_00_07 are installed and I use the latest CCS 8.2.
