Part Number: MSP432P401V
Hi Team 432,
Some questions WRT P401 & P4111..WRT TI Drivers.. Driver_Lib.. Flash APIs.. SDK format/structure.. 432 sampe code/projects..
1. Seems the 432 SDK has changed a bit in content & structure..
a. The 432 SDK used to install to C:/TI [C:\ti\simplelink_msp432p4_sdk_3_40_01_02] & now it goes to C:/TI/MSP [C:\ti\msp\MSP432Ware_3_50_00_02].. Why the change/move?
b. There used to be separate projects in the SDK for the P401 & for the P4111 but not anymore.. now it is just P4x. Why?
2. WRT Flash APIs.. In the MSP432 Driver Lib Users Guide (http://dev.ti.com/tirex/explore/node?node=AJIAWhC7vhw.P.ggQJeRmw__z-lQYNj__LATEST ) I see this for "Flash Memory Controller (FlashCtl_A)”.. “Note that this module is for use exclusively on the MSP432P4111. If using the MSP432P401, please refer to the non-a variant.”. The old SDK used to have regular and flash_a sample projects. The new SDK seems to only have one kind of flash sample project. Since the DriverLib makes a recommend for P401/P4111 as flash/flash_a.. where are the two types of flash APIs? Which Flash drivers should be used WRT P401/P4111?
3. In general do you recommend the use of TI drivers or DriverLib? Can you please provide a summary of benefits/detriments to each? What is the overall recommend WRT which to use?
4. More detailed customer question on this topic.. "In the “C:\ti\simplelink_msp432p4_sdk_3_20_00_06\examples\nortos\MSP_EXP432P401R” and C:\ti\simplelink_msp432p4_sdk_3_20_00_06\examples\nortos\MSP_EXP432P4111 folders for example, there is a “driverlib” folder and a “drivers” folder. As I recall, driverlib covers all MSP430/432 devices and TI Drivers cover just the SimpleLink family. Correct? I am using files from the driverlib folder. How does the Peripheral Library fit in to these other two. So, I could use either library. Excluding the broader compatibility with driverlib, is one better than the other? Newer? Faster? More/less abstracted?"
4. And.. which type of Flash Drivers are included in ROM.. TI Drivers.. Driver_Lib, other, etc?
6. Another customer question.. According to the “MSP432_DriverLib_API_Guide.html”, the format for flash unprotect API is:
bool FlashCtl_A_unprotectMemory ( uint32_t startAddr, uint32_t endAddr )
and examples show that if you want to unprotect just one sector, then endAddr = startAddr. However, that is inconsistent with the literal interpretation of endAddr. If endAddr were truly an end address then it should be equal to “startAddr + FLASH_A_SECTOR_SIZE – 1”. So, I am thinking that these Addr’s are really the first address of the desired sector to unlock. Is this correct? Or, since this API seems to be more sector-based than address-based, could I actually specify any address within a given sector and that entire sector would be unlocked? So, when it comes to unlocking two consecutive sectors, is this the proper format?
7. And yet another customer DriverLib question.. "While some other DriverLib functions contain asserts. I see there are #defines for assert in debug.h, but only when DEBUG is defined. When DEBUG is not defined, is it TI’s specific intent that we modify debug.h to provide the desired error-handling require for our application Any other options/suggestions?"
Thanks, Merril :^)