This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SIMPLELINK-MSP432-SDK: Simple Link DriverLib SPI Interrupt Flags

Part Number: SIMPLELINK-MSP432-SDK

Hi,

Under CCS V8 (recent installation), it seems that there is a problem with some values in the file C:\ti\simplelink_msp432p4_sdk_2_20_00_12\source\ti\devices\msp432p4xx\inc\msp432p401r_classic.h wihch contains definitions for register's offset, used for example in simple noRTS applications with driverlib, by the #inclufde chaining.

I found the same file in the installation tree with different value, C:\ti\tirtos_msp43x_2_20_00_06\products\msp432_driverlib_3_21_00_05\inc\msp432p401r_classic.h.

For example, the P1IE and P2IE offset (OFS_P1IE and OFS_P2IE) are different in the first file and in the second one. 

For me, the second one is ok but older (2015) than the first (2018). Very strange, but may be i'm wrong.

These values are used for example in the driverlib  function : uint_fast16_t GPIO_getEnabledInterruptStatus(uint_fast8_t selectedPort) where they are added to baseAdress of even Port (P2 to 8)  and odd port (P1 to 9) respectively. As the base_adress in the GPIO_PORT_TO_BASE array are different for P1 and P2 port, 0x40004C00, and 0x40004C01, the offsets to P1IE and P2IE have to be the same. GPIO_PORT_TO_BASE is defined in drivellib.C or gpio.c 

 Thanks

Chris

**Attention** This is a public forum