吉林化工学院学报2024,Vol.41Issue(1) :86-90.DOI:10.16039/j.cnki.cn22-1249.2024.01.015

基于LiteOS系统的串行数据通信的研究与应用

Research and Application of Serial Data Communication based on LiteOS System

王军
吉林化工学院学报2024,Vol.41Issue(1) :86-90.DOI:10.16039/j.cnki.cn22-1249.2024.01.015

基于LiteOS系统的串行数据通信的研究与应用

Research and Application of Serial Data Communication based on LiteOS System

王军1
扫码查看

作者信息

  • 1. 滁州职业技术学院信息工程学院,安徽滁州 239000
  • 折叠

摘要

在LiteOS实时操作系统的支持下,嵌入式系统的整体功能是需要通过多个任务和中断服务程序ISR的协同运行来实现的.串行通信端口作为共享资源会被两个以上任务或中断服务程序ISR并发访问,为保障串行数据通信的可靠性和完整性,提出一种通用的串行数据通信帧结构设计,通过深入分析LiteOS系统下串行数据通信存在的问题,提出LiteOS系统下高效稳定的串行数据发送和接收方法.

Abstract

With the support of LiteOS real-time operating system,the overall functionality of embedded system needs to be achieved through the collaborative operation of multiple tasks and interrupt service program ISR.The serial communication port,as a shared resource,will be accessed concurrently by two or more tasks or interrupt service programs(ISR).To ensure the reliability and integrity of serial data communication,a universal frame structure design for serial data communication was proposed.Through in-depth analysis of the problems in serial data communication under the LiteOS system,an efficient and stable method for serial data transmission and reception under the LiteOS system was proposed.

关键词

LiteOS/串行通信/STM32

Key words

LiteOS/serial communication/STM32

引用本文复制引用

基金项目

滁州职业技术学院校级自科项目(YJY-2021-14)

出版年

2024
吉林化工学院学报
吉林化工学院

吉林化工学院学报

影响因子:0.351
ISSN:1007-2853
段落导航相关论文