SLAA600E June 2013 – January 2024
The user application can use the communication interface as desired (I2C, UART, GPIO, or other purpose), because the resources are released when the MCU jumps to the application. Optionally, the CI PHY-DL can be shared with the application, which allows it to use the same communication interface and reduce the application footprint. When this feature is enabled, the bootloader shares the function pointers from Table 2-3.
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 | This function checks all relevant flags and calls corresponding callbacks when required |
TI_MSPBoot_CI_PHYDL_TxByte (1) | 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 small footprint being a top priority. The application can always implement its own drivers if the PHY-DL implementation is inadequate. The Application 2 examples in the accompanying software package show how to share CI PHY-DL.