一种基于DSP的SCI外设多字节数据包的收发方法  

A Method of Sending and Receiving Multi-byte Data Packets of SCI Peripherals Based on DSP

在线阅读下载全文

作  者:高玉文 吴建刚 刘璐雅 马俊安 刘胜魁 李星洲 Gao Yuwen;Wu Jian’gang;Liu Luya;Ma Jun’an;Liu Shengkui;Li Xingzhou(Department of Technology Research and Development,Sichuan Spaceflight Liaoyuan Technology Co.,Ltd.,Chengdu 610100,China)

机构地区:[1]四川航天燎原科技有限公司科研事业部,成都610100

出  处:《兵工自动化》2023年第7期30-33,54,共5页Ordnance Industry Automation

摘  要:为实现DSP与外部设备之间多字节长数据包的接收和发送,提出一种基于中断方式的接收方法和基于查询方式的发送方法。以DSP2812芯片为平台,数据包长度为48字节为例,与上位机进行数据通信;DSP接收中断一旦产生,即可启动接收状态机,自适应接收数据包;发送过程采用查询形式进行定时或者触发的方式发送,实现长数据包的发送。试验结果表明:该方法收发性能稳定可靠,非常适用于小型化低成本的应用场合,可为实际工程开发提供借鉴和帮助。In order to realize the receiving and sending of multi byte long data packets between DSP and external devices,a receiving method based on interrupt mode and a sending method based on query mode are proposed.With DSP2812 chip as the platform,the data packet length is 48 bytes,for example,to communicate with the upper computer.Once the DSP receive interrupt occurs,the receive state machine can be started to receive data packets adaptively.The sending process uses the query form to send the data in a timed or triggered manner to realize the sending of long data packets.The test results show that the method is stable and reliable,and is very suitable for miniaturization and low-cost applications,which can provide reference and help for practical engineering development.

关 键 词:DSP 多字节 长数据包 上位机 

分 类 号:TP273[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象