Submitted:
14 May 2025
Posted:
15 May 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. IEEE 802.15.4
2.2. Hardware
2.3. Development environment
3. Results
3.1. Hardware abstraction layer
3.2. Transceiver driver
3.3. Division of time


3.4. Time synchronization

3.5. Testing and validation
4. Discussion
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| WSN | Wireless Senor Network |
| TSCH | Time-Slotted Channel Hopping |
| COTS | Commercial Off The Shelf |
| O-QPSK | Offset Quadrature Phase Shift Keying |
| MBATS | Mobile Beacon-based Adaptive Time Synchronization |
| TDMA | Time Division Multiple Access |
| STSS | Simple Time Shift Scheme |
| LPSS | Low Power Scheduling for Synchronization |
References
- IEEE Std 802.15.4-2020, IEEE Standard for Low-Rate Wireless Networks. 2020.
- ISA100 Wireless Compliance Institute Available online: https://isa100wci.org/ (accessed on 14 May 2025).
- WirelessHART | FieldComm Group Available online: https://www.fieldcommgroup.org/technologies/wirelesshart (accessed on 14 May 2025).
- Zhao, G. Wireless Sensor Networks for Industrial Process Monitoring and Control: A Survey. NPA 2011, 3, 46–63. [CrossRef]
- Aponte-Luis, J.; Gómez-Galán, J.; Gómez-Bravo, F.; Sánchez-Raya, M.; Alcina-Espigado, J.; Teixido-Rovira, P. An Efficient Wireless Sensor Network for Industrial Monitoring and Control. Sensors 2018, 18, 182. [CrossRef]
- Phan, L.-A.; Kim, T. Hybrid Time Synchronization Protocol for Large-Scale Wireless Sensor Networks. Journal of King Saud University - Computer and Information Sciences 2022, 34, 10423–10433. [CrossRef]
- Liu, C.; Pang, H.; Cao, N. Research on Time Synchronization Technology of Wireless Sensor Network. In Proceedings of the 2017 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC); IEEE: Nanjing, October 2017; pp. 391–394.
- STM32L4 - ARM Cortex-M4 Ultra-Low-Power MCUs - STMicroelectronics Available online: https://www.st.com/en/microcontrollers-microprocessors/stm32l4-series.html (accessed on 14 May 2025).
- AT86RF212B ZIGBIT XPLAINED PRO EXTENSION | Microchip Technology Available online: https://www.microchip.com/en-us/development-tool/atzb-212b-xpro (accessed on 14 May 2025).
- NUCLEO-L432KC | Product - STMicroelectronics Available online: https://www.st.com/en/evaluation-tools/nucleo-l432kc.html (accessed on 14 May 2025).
- NUCLEO-L476RG | Product - STMicroelectronics Available online: https://www.st.com/en/evaluation-tools/nucleo-l476rg (accessed on 14 May 2025).
- NUCLEO-L152RE | Product - STMicroelectronics Available online: https://www.st.com/en/evaluation-tools/nucleo-l152re (accessed on 14 May 2025).
- STM32CubeIDE | Product - STMicroelectronics Available online: https://www.st.com/en/development-tools/stm32cubeide.html (accessed on 14 May 2025).
- CMSIS – Arm® Available online: https://www.arm.com/technologies/cmsis (accessed on 14 May 2025).
- MISRA Available online: https://misra.org.uk/ (accessed on 14 May 2025).
- Doxygen Homepage Available online: https://doxygen.nl/ (accessed on 14 May 2025).
- Cho, H.; Kim, J.; Baek, Y. Enhanced Precision Time Synchronization for Wireless Sensor Networks. Sensors 2011, 11, 7625–7643. [CrossRef]
- Elsharief, M.; Abd El-Gawad, M.A.; Kim, H. Low-Power Scheduling for Time Synchronization Protocols in A Wireless Sensor Networks. IEEE Sens. Lett. 2019, 3, 1–4. [CrossRef]
- Zhang, C.; Yang, S.-H. A Lightweight Time Synchronisation for Wireless Sensor Networks. In Proceedings of the 2020 IEEE International Conference on Networking, Sensing and Control (ICNSC); IEEE: Nanjing, China, October 30 2020; pp. 1–6.
- Yoo, S.; Kim, T. Industrial Wireless Sensor Networks: Protocols and Applications. Sensors 2020, 20, 5809. [CrossRef]
- Wang, Z.; Yong, T.; Song, X. Fast and Low-Overhead Time Synchronization for Industrial Wireless Sensor Networks with Mesh-Star Architecture. Sensors 2023, 23, 3792. [CrossRef]
- Golubnichaya, E.Yu.; Likhttsinder, B.Ya. Slot Data Routing in Cluster Wireless Sensor Networks Based on Time Synchronization of Cluster Heads. In Proceedings of the 2018Systems of Signal Synchronization, Generating and Processing in Telecommunications (SYNCHROINFO); IEEE: Minsk, July 2018; pp. 1–5.
- Wang, Z.; Zeng, P.; Kong, L.; Li, D.; Jin, X. Node-Identification-Based Secure Time Synchronization in Industrial Wireless Sensor Networks. Sensors 2018, 18, 2718. [CrossRef]
- He, J.; Xuan, X.; Zhu, N.; Huang, N.; He, P. Mobile Beacon-Based Adaptive Time Synchronization for Wireless Sensor Networks. J Wireless Com Network 2018, 2018, 220. [CrossRef]
- Wong, C.-M. A Novel Beacon Frame Scheduling Algorithm Based on Cluster-Tree IEEE 802.15.4 Wireless Sensor Networks. In Proceedings of the 2012 IEEE International Conference on Communication Systems (ICCS); IEEE: Singapore, Singapore, November 2012; pp. 285–289.
- Liu, Z.; Ma, Q.; Liu, W.; Sheng, V.S.; Zhang, L.; Liu, G. Access Control Model Based on Time Synchronization Trust in Wireless Sensor Networks. Sensors 2018, 18, 2107. [CrossRef]



| Length (bytes) | Value | Duration (µs) | |
|---|---|---|---|
| Preamble | 4 | 0x00000000 | 128 |
| Start Frame Delimiter (SFD) | 1 | 0xA7 | 32 |
| Physical Layer Header (PHR) | 1 | 0x00 ÷ 0x7F | 32 |
| PHY Payload | 127 | various | 32 ÷ 4064 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).