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.

[参考译文] MSPM0G5117:如何将 UART 功能添加到输出调试日志

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1652813/mspm0g5117-how-to-add-uart-function-to-output-debug-log

器件型号: MSPM0G5117

您好的团队、

我的客户正在开发 M0G5117 产品。 他们希望使用 UART 来输出调试日志。 请提供详细信息。

我在下面找到 SDK 包含的示例。 这是一个很好的参考代码吗? 否则、请提供更多信息。 谢谢你。

  • uart_tx_multibyte_fifo_DMA_interrupts

 

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

    是的、这是一个很好的起点、如果您不想处理 DMA、可以使用 uart_echo 作为起点、只使用中断

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

    下面是我对将发送能力放在函数中的示例的重新编排:

    (对不起,图片,我甚至无法将此代码作为文本发布!)

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

    尊敬的 Kelth:

    感谢您的答复。 这对我的客户很有帮助。