SPMA057D January 2018 – June 2022 TM4C1290NCPDT , TM4C1290NCPDT , TM4C1290NCZAD , TM4C1290NCZAD , TM4C1292NCPDT , TM4C1292NCPDT , TM4C1292NCZAD , TM4C1292NCZAD , TM4C1294KCPDT , TM4C1294KCPDT , TM4C1294NCPDT , TM4C1294NCPDT , TM4C1294NCZAD , TM4C1294NCZAD , TM4C1297NCZAD , TM4C1297NCZAD , TM4C1299KCZAD , TM4C1299KCZAD , TM4C1299NCZAD , TM4C1299NCZAD , TM4C129CNCPDT , TM4C129CNCPDT , TM4C129CNCZAD , TM4C129CNCZAD , TM4C129DNCPDT , TM4C129DNCPDT , TM4C129DNCZAD , TM4C129DNCZAD , TM4C129EKCPDT , TM4C129EKCPDT , TM4C129ENCPDT , TM4C129ENCPDT , TM4C129ENCZAD , TM4C129ENCZAD , TM4C129LNCZAD , TM4C129LNCZAD , TM4C129XKCZAD , TM4C129XKCZAD , TM4C129XNCZAD , TM4C129XNCZAD , TMP1826 , TMP1826 , TMP1827 , TMP1827
1-Wire bus is used in systems that have low power communication and reduced pin count requirements. This application report describes the 1-Wire communication protocol, available TivaWare™ for C Series APIs for the 1-Wire controller in Tiva™ C Series (TM4C129x) microcontrollers and an example enumeration algorithm using binary tree search. The device used in this example code to enumerate 1-Wire devices is the TMP1826 ±0.3°C accurate digital temperature sensor with 2-Kbit EEPROM.
The source code discussed in this application report can be downloaded here. Additionally, Implementing Host Controller for TMP1826 Single Wire Temperature Sensor provides emulated host examples for Tiva C Series microcontrollers that do not have a dedicated 1-Wire controller by using GPIO, UART or SPI peripherals.