[quote user="Stanislav Ossovskiy"]When I launch the code it turns out that instead on 15s, all the elements in the declared array are zeros and some garbage!! [/quote]I don't use uVision, but guess that the project is missing the start-up code which copies the data segment initializers from flash to RAM. Looking at the example projects in the APNT_276.ZIP file referenced on uVision Lab for the TI MSP432 LaunchPad Board the example projects have startup code in the RTE\Device\ MSP432P401R directory. Suggest you follow the steps in the Texas Instruments MSP432: Cortex™-M4 Tutorial Using the MSP432P401R LaunchPad Board and ARM Keil MDK 5 Toolkit to add the core and startup files to your project.
↧