SLAA721E October 2016 – March 2020 MSP430FR5969 , MSP430FR5969-SP , MSP430FR5994 , MSP430FR6989
The user application can use the communication interface as desired (UART, GPIO, or other purpose), because the resources are released when the microcontroller jumps to the application. Optionally, the CI PHY-DL can be shared with the application, allowing it to use the same communication interface and reducing the application footprint. When this feature is enabled, the bootloader shares the function pointers from Table 2-3.
Function Pointer | Description |
---|---|
Boot2App_Vector_Table | Table with addresses of shared CI PHY-DL functions |
TI_MSPBoot_CI_PHYDL_Init | Function used to initialize PHY-DL passing a pointer to an application t_CI_Callback |
TI_MSPBoot_CI_PHYDL_Poll | Function checks all relevant flags and calls corresponding callbacks when required. |
TI_MSPBoot_CI_PHYDL_TxByte | Function used to write the TX Buffer |
The application must declare its own callbacks, which are passed during initialization of CI PHY-DL and called when the corresponding event is detected. The PHY-DL layer is designed with low footprint being a top priority. The application can always implement its own drivers if the PHY-DL implementation is inadequate. Application examples showing how to share CI PHY-DL are included in the software package.