This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSPM33C321A:串行数据流

Guru**** 2966500 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1656430/mspm33c321a-serial-data-stream

器件型号: MSPM33C321A

我需要生成一个 5Mb/s 的串行数据流(每位 200ns)。 没有开始位或停止位、只有连续数据。 (如果有人关心,这是符合 IRIG 遥测标准的数据。)

我想创建 300 字节左右的帧、使用 DMA 或其他东西在其途中发送帧、并使用 60us 来创建另一个帧、该帧将在完成时代替当前传输的帧。

我似乎无法从 UART 中删除起始位和停止位、因此已经结束、但我可以将 SPI 用于此类用途吗?

此外、如果有另一个 MCU 可以正常工作、我并不需要 MSPM3321。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Keith Barkley

    在 M33C321A 中、 使用 ",="" roboto,="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 600;="" margin:="" 0px;="" text-decoration:="" none;="" border-bottom:="" 0px="" rgb(10,="" 10,="" 10);"=""> 仅 ",="" roboto,="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 600;="" margin:="" 0px;="" text-decoration:="" none;="" border-bottom:="" 0px="" rgb(10,="" 10,="" 10);"=""> 连接 MOSI 引脚的 SPI 主模式、并结合 ",="" roboto,="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 600;="" margin:="" 0px;="" text-decoration:="" none;="" border-bottom:="" 0px="" rgb(10,="" 10,="" 10);"="">乒乓 DMA 配置、将完美生成 5 Mb/s 的 IRIG 遥测流、而不会产生起始位/停止位或帧间隙。

    谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢。 现在、我只需等待 Launchpad 恢复到库存!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    最接近的示例是什么?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Keith  

    请 在 MSPM33 软件开发套件 (SDK) 中找到 spi_controller_fifo_DMA_interrupts 示例代码 : https://www.ti.com/tool/MSPM33-SDK

    这是我们现有最接近的示例代码。

    我们计划在稍后发布曼彻斯特的更接近示例代码

    谢谢  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    再次感谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    请注意:

    我必须使用 TI 同步模式来消除字节间的差距。 Motorola 3 线和 4 线都在字节之间存在间隙。