SLAA202B February 2005 – December 2018 MSP430F149 , MSP430F149 , MSP430F2252-Q1 , MSP430F2252-Q1 , MSP430F2272-Q1 , MSP430F2272-Q1 , MSP430F2274 , MSP430F2274 , MSP430FG4619 , MSP430FG4619
The operation of TTP involves the exchange of data TTP-PDUs (protocol data units). Effectively, this adds a single octet of header to the IrLMP-MUX data LM-PDUs. This additional octet is used to convey increments (credits) to the number of data TTP-PDUs that may be exchanged in each direction using the underlying IrLMP service.
In this implementation, a simple policy for advancing credit is used. This means that the credit is held longer at AvailCredit rather than being advanced at the earliest opportunity. This leaves buffers available to be reclaimed and redeployed to other needy TTP connections or to relieve resource problems elsewhere in a system.
Connect TTP-PDUs exchanged during connection establishment are not regarded as requiring or consuming credit. Segmentation and reassembly is not implemented. Because the IrLAP window size is equal to 1, a single TTP connection can take full advantage of the underlying IrLAP window.
For this particular implementation, when the initial TTP connection frame is identified, credit is issued so that the peer entity can transfer its data. As soon as the MSP430 responds and after it has received an RR command from the primary, it then issues more credit for the peer entity to continue transmitting data.