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.

[参考译文] TMS320C6748:无法在回送模式下运行 Starterware UART 示例

Guru**** 2589280 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/640237/tms320c6748-cant-run-starterware-uart-example-in-loopback-mode

器件型号:TMS320C6748

您好!

我在 C6748中成功执行了 UART2 Starterware 示例。 我想用环回模式执行 UART2示例。 我添加了声明

UARTModemControlSet (SOC_UART_2_regs、UART_loopback);

但当我从 CCS 查看寄存器时、程序既不正确运行、也不更新 UART2 MCR 寄存器。

请帮助我找到错误。

提前感谢

相关信息

Shalini

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

    这是哪个 SDK 版本?

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

    这是 code composer studio 7.2.0。

    相关信息
    Shalini
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    函数 UARTModemControlSet()支持标志 UART_AutoFlow 和/或 UART_RTS。 它不接受 UART_loopback。 您将重写该函数或从 UARTModemControlSet()代码派生新函数。