Part Number: MSP432P401R
Hello.
First of all, the Hardware is as follows.
MSP-EXP432P401R (MSP432 LaunchPad)
LAUNCHXL-CC2650 (SimpleLink CC2650 BoosterPack)
We want to change the NPI in project_zero from UART to SPI and check the BLE operation.
Then, we are proceeding with the next step and have completed Step 3.
Step 1:
Import project_zero in CCS, build and run it, and BLE is working. (The NPI is still UART)
Step 2:
Changed the NPI on the CC2650 side to SPI.
(Based on the simple_np project, select FlashROM_SPI in the build configuration and run the build.)
Step 3:
I wrote the above Firmware (simple_np_cc2650bp_app.hex) to the CC2650. (Use Flash Programmer2).
Step 4:
In CCS, import project_zero and change the NPI on the MSP432 side from UART to SPI.
Q1:
Is there any mistake in the above procedure?
I have a problem in this Step 4, please tell me how to solve it.
Q2:
In CCS, when you import Project Zero, you will see the following source files.
Board.h
main_tirtos.c
MSP_EXP432P401R.h
MSP_EXP432P401R.c
platform.h
platform_msp432p401r.c
project_zero.c
project_zero.h
If you have made any changes to the above File, those changes will take effect when you build it.
However, changes made to source files other than those listed above will not be reflected.
For example, defining "NPI_USE_SPI" in C:\ti\simplelink_sdk_ble_plugin_3_20_00_24\source\ti\npi\npi_data.h does not take effect.
What steps do I need to take in CCS to make my changes take effect?
Q3:
I cannot find npi_tl_spi.h and npi_tl_spi_m_simplelink.c under C:\ti\simplelink_sdk_ble_plugin_3_20_00_24\source\ti\npi.
Can I download these from somewhere?(Is there a sample code?)
Best Regards.