一种基于DSP的SCI外设多字节数据包的收发方法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:


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

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为实现DSP与外部设备之间多字节长数据包的接收和发送,提出一种基于中断方式的接收方法和基于查询方式的发送方法。以DSP2812芯片为平台,数据包长度为48字节为例,与上位机进行数据通信;DSP接收中断一旦产生,即可启动接收状态机,自适应接收数据包;发送过程采用查询形式进行定时或者触发的方式发送,实现长数据包的发送。试验结果表明:该方法收发性能稳定可靠,非常适用于小型化低成本的应用场合,可为实际工程开发提供借鉴和帮助。

    Abstract:

    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的SCI外设多字节数据包的收发方法[J].,2023,42(07).

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2023-03-07
  • 最后修改日期:2023-04-20
  • 录用日期:
  • 在线发布日期: 2023-07-26
  • 出版日期:
文章二维码