SLAA249B April 2005 – September 2018 MSP430F169 , MSP430F169 , MSP430F5252 , MSP430F5252 , MSP430F5253 , MSP430F5253 , MSP430F5254 , MSP430F5254 , MSP430F5255 , MSP430F5255 , MSP430F5256 , MSP430F5256 , MSP430F5257 , MSP430F5257 , MSP430F5258 , MSP430F5258 , MSP430F5259 , MSP430F5259
This is the slave code source used with fet140_SMB_mstr_slvrst.c (Master). The slave resets the communication port upon detecting a timeout. TimerA1 is used to detect the 25-ms timeout. TimerA2 is used to cause delay in data transfer to hold SCL low. TimerB0 is used as the capture input to detect SCL transitions to start/stop TimerA0 to detect timeout. SCL (Pin 31) is tied to TB0 (Pin 36) to detect transitions.