SLAA202B February 2005 – December 2018 MSP430F149 , MSP430F149 , MSP430F2252-Q1 , MSP430F2252-Q1 , MSP430F2272-Q1 , MSP430F2272-Q1 , MSP430F2274 , MSP430F2274 , MSP430FG4619 , MSP430FG4619
This section provides a description of the implemented IrDA protocol stack. The entire demonstration application is written in assembly language and resides in one file. Functions have been named in ways which make it simple to understand which layer they belong to and what their functionality is. All service primitives for the IrPHY, IrLAP, and IrLMP layers have been implemented as specified by the IrDA Lite documentation. The TTP and IrCOMM 3-wire cooked services have been implemented to provide a demonstration of the working stack.
This chapter discusses two different implementation methods of the IrPHY layer. The first method uses Timer_A, and is utilized by the MSP430F149-based design discussed in this application report. The second method uses the USCI_A0 hardware communication module, and is used by both MSP430FG4619- and MSP430F2274-based designs. However all designs use the exact same IrDA communication algorithms.