There are three TODO items in TI_MSPBoot_CI_PHYDL_xxxx_xxx.c that require user modification:
- Define the communication module
- Depending on the device and communication protocol, several peripherals in the MSP430 can achieve the same result. For example in the MSP430F5529 the USCI_A0 and USCI_A1 modules can both perform UART communication. The user needs to modify the defines associated with this TODO so the proper peripheral registers are being used for communication based on the application requirements.
- Define the timer module (USCI and USI I2C Only)
- In I2C communication an optional time-out can be configured that takes advantage of the timer module within various MSP430 MCUs. The user needs to modify the defines associated with this TODO so an appropriate timer is being used based on the application requirements.
- Set up GPIO pins
- Depending on the communication interface and the specific module being used, the user needs to set up the GPIO to the proper peripheral functionality. For more information on how to set up a pin for a communication interface, see the device-specific data sheet.