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.

[参考译文] TMS320F28027:将 printf 重新路由至 SCI

Guru**** 2815985 points

Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/992398/tms320f28027-reroute-printf-to-sci

器件型号:TMS320F28027
主题中讨论的其他器件:C2000WARE

您好!

我有自己的打印函数、可以将 UART 用于我的应用。 到目前为止、我只处理了发送字符串、但对于任何类型的格式、将 printf 重新路由到 SCI 外设都更容易。

是否有任何文档对此进行了解释? 或任何 示例项目?

谢谢、

David

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

    尊敬的 David:

    我们没有专门为此提供的任何文档、但您可以在 C2000Ware 中参考以下示例(它利用 printf 函数)

    C:\ti\c2000\C2000Ware_version\device_support\f2802x\examples\drivers\C2kLaunchPadDemo  

    此致、

    Marlyn

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

    谢谢、我们来看看。 不应该很复杂、只是想看看是否已经有任何文档。