In the development of single-chip microcomputer system,multi- task system is prone to task scheduling congestion.This paper analyzes the causes of task blocking,proposes a multi-task driving strategy based on temporal logic,and designs a multi-task driving template of common peripheral modules through specific cases.The experiment results show that the system scheduling strategy can effectively ensure the smooth operation of the system,effectively solve the blocking problem,and provide a new idea for the development of the multi-task system based on the microcontroller.
Key words
single chip microcomputer /
multi-task system /
temporal logic /
block
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
References
[1] 陈育群.多任务单片机系统的协同编程及实现[J].单片机与嵌入式系统应用,2021,21(6):47-51.
[2] 高林,黄敏,罗江.单片机多任务框架设计[J].电子产品世界,2021,28(10):48-50.
[3] 刘进英,董涛.基于嵌入式操作系统RTX-51的单片机多任务编程[J].电子技术与软件工程,2019(23):235-236.
[4] 杜隆胤,方冰与,郑军.51单片机循环轮询多任务编程[J].计算机时代,2018(10):1-4.
[5] 刘立钧,张永达.单片机按键程序研究[J].电子世界,2020(8):87-88.
[6] 徐能谋,张海峰.按键消抖在单片机和FPGA实验教学中的应用[J].数码世界,2018(7):294-295.
[7] 刘晓.一种基于单片机串口通信的数据缓存处理方法[J].信息通信,2020(4):103-104.
[8] 宋昕一,万宏飞.基于Proteus的数码管动态显示与计数设计[J].电子制作,2021(8):73-75.
[9] 李月乔,樊冰.基于项目教学法的组合逻辑模块分层次对比学习探究—以“8位数码管动态显示电路的设计”项目为例[J].工业和信息化教育,2021(2):76-79.
[10] 李长伦.对数码管动态扫描延时时间计算依据的思考[J].计算机产品与流通,2018(7):95.