|

Analysis and comparison of data transmission interfaces on microcontrollers

Authors: Katukiya G.T., Dorofeev A.V., Lintvarev D.E.
Published in issue: #7(48)/2020
DOI: 10.18698/2541-8009-2020-7-624


Category: Informatics, Computer Engineering and Control | Chapter: System Analysis, Control, and Information Processing, Statistics

Keywords: data interfaces, microcontroller, master / slave, data packet, UART/USART, SPI, I2C, embedded systems
Published: 29.07.2020

A methodological material has been developed containing basic information about the most popular data transfer protocols used when working with microcontrollers. Such interfaces as UART/USART, SPI, I²C are presented. The main characteristics, principle of operation and connection diagram are considered. A table has been compiled for comparing the characteristics of the above information exchange protocols, including recommendatory comments on the scope of each of them. The article allows to select the interface for data transmission that is optimal under the given conditions, to understand its principle of operation and obtain the minimum necessary information for its implementation.


References

[1] Santalov G.D., Murav’yev K.A., Leonidov V.V. Design method for electronic devices using “Internet of things” conception. Proektirovanie i tekhnologiya elektronnykh sredstv, 2019, no. 1, pp. 10–22 (in Russ.).

[2] Vlasov A.I., Yudin A.V., Shakhnov V.A., et al. Design methods of teaching the development of internet of things components with considering predictive maintenance on the basis of mechatronic devices. Int. J. Appl. Eng. Res., 2017, vol. 12, no. 20, pp. 9390–9396.

[3] Vlasov A.I., Muraviev K.A., Prudius A.A., et al. Load balancing in big data processing systems. IREACO, 2019, vol. 12, no. 1, pp. 42–47. DOI: https://doi.org/10.15866/ireaco.v12i1.16808

[4] Murav’yev K.A., Tsivinskaya T.A., Manushyan D.G. [Analysis of data transmission protocols for self-organizing networks]. Tr. mezhd. simp. Nadezhnost’ i kachestvo [Proc. Int. Symp. Reliability and Quality], 2019, vol. 2, pp. 142–145 (in Russ.).

[5] Adamov A.P., Adamova A.A., Sementsov S.G., et al. Communication protocols in wireless sensor networks of event registration. Nadezhnost’ i kachestvo slozhnykh system [Reliability & Quality of Complex Systems], 2018, no. 3(23), pp. 124–132. DOI: https://doi.org/10.21685/2307-4205-2018-3-15 (in Russ.).

[6] Vlasov D.S., Konovalov D.S., Murav’yev K.A. [Study on quality merits of wireless AD-HOC networks]. Tr. mezhd. simp. Nadezhnost’ i kachestvo [Proc. Int. Symp. Reliability and Quality], 2019, vol. 1, pp. 155–158 (in Russ.).

[7] Adamova A.A., Avaeva L.G., Lokhturov A.V. Analysis of the prospects for integration of wireless sensor networks with the internet using standard 6LOWPAN. Nadezhnost’ i kachestvo slozhnykh system [Reliability & Quality of Complex Systems], 2019, no. 1(25), pp. 54–61. DOI: https://doi.org/10.21685/2307-4205-2019-1-6 (in Russ.).

[8] Zimin D.V., Murav’yev K.A. [Analysis of energy efficiency problems of wireless data transmission networks based on ZIGBEE protocol stack]. Tr. mezhd. simp. Nadezhnost’ i kachestvo [Proc. Int. Symp. Reliability and Quality], 2016, vol. 1, pp. 195–197 (in Russ.).

[9] Krasnobryzhiy B.V., Lavrov I.V., Murav’yev K.A., et al. The review of wireless touch networks on the basis of the ZIGBEE standard. Naukoemkie tekhnologii i intellektual’nye sistemy. XV Molodezh. nauch.-tekh. konf. [High Technologies and Intellectual Systems. XV Youth Sci.-Tech. Sys.], 2013, pp. 306–314 (in Russ.).

[10] Universal asynchronous receiver/transmitter (UART). ti.com: website. URL: http://www.ti.com/lit/ug/sprugp1/sprugp1.pdf (accessed: 08.12.2019).

[11] Frenzel L.E. Jr. Handbook of serial communications interfaces. Elsevier, 2015.

[12] USART. ww1.microchip.com: website. URL: http://ww1.microchip.com/downloads/en/devicedoc/usart.pdf (accessed: 08.12.2019).

[13] AT command set. mt-system.ru: website. URL: http://www.mt-system.ru/sites/default/files/documents/simcom_sim5360_atc_en_v0.22.pdf (accessed: 08.12.2019).

[14] SPI (serial peripheral interface). ru.bmstu.wiki: website (in Russ.). URL: https://ru.bmstu.wiki/index.php?title=SPI_(Serial_Peripheral_Interface)&mobileaction=toggle_view_mobile (accessed: 08.12.2019).

[15] SPI block guide V03.06. web.archive.org: website. URL: https://web.archive.org/web/20150413003534/http://www.ee.nmt.edu/~teare/ee308l/datasheets/S12SPIV3.pdf (accessed: 08.12.2019).

[16] Novitskiy A. Serial peripheral interface in microcontrollers from “A to Z” and its realization by the example of ADuC70xx from AnalogDevices. Komponenty i tekhnologii, 2009, no. 3, pp. 53–60 (in Russ.).

[17] SPI. webhamster.ru: website (in Russ.). URL: https://webhamster.ru/mytetrashare/index/mtb186/1517214119k1qn5rp0h8 (accessed: 08.12.2019).

[18] UM10204 I2C. nxp.com: website (in Russ.). URL: https://www.nxp.com/docs/en/user-guide/UM10204.pdf (accessed: 08.12.2019).

[19] Using the I2C bus. robot-electronics.co.uk: website. URL: https://www.robot-electronics.co.uk/i2c-tutorial (accessed: 08.12.2019).

[20] Petrov A.A. Data transmission protocol for UART. Dostizheniya nauki i obrazovaniya [Achievements of Science and Education], 2016, no. 1(2), pp. 9–10 (in Russ.).

[21] Murav’yev K.A., Khubbatulin M.E. VPN setup technique on the MIKROTIK routers. Tekhnologii inzhenernykh i informatsionnykh system [Technologies of Engineering and Information Systems], 2019, no. 2, pp. 22–33 (in Russ.).

[22] Semenov B.Yu. Shina I2C v radiotekhnicheskikh konstruktsiyakh [I2C bus in radiotechnical contructions]. Moscow, Solon-Press Publ., 2004 (in Russ.).