21.4.1.1 Timing Calculations for Transmit Mode
In Transmit mode, SENTxCON2 and SENTxCON3 hold the values for TICKTIME and FRAMETIME. The tick period used by the SENT transmitter (TTICK) is set by writing TICKTIME to the SENTxCON2 register. The tick period calculations are shown in Equation 21-1. The FCLK value is either FSENT or FSENT/4, depending on the value of the Prescaler Enable bit, PS (SENTxCON1[4]).
If the Pause pulse is to be used, a frame period (TFRAME) must be defined. This is done by writing the value of FRAMETIME to SENTxCON3. The formulas used to calculate the value of FRAMETIME (in the same units as TTICK) are shown in Equation 21-2. The FRAMETIME ranges for all settings are summarized in Table 21-8.
Number of Data Nibbles | Min. FRAMETIME Value | Max. FRAMETIME Value |
---|---|---|
1 | 149 | 860 |
2 | 176 | 872 |
3 | 203 | 884 |
4 | 230 | 896 |
5 | 257 | 908 |
6 | 284 | 920 |