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.

[参考译文] Linux:如何将流控制与 DMA UART 配合使用?

Guru**** 2563960 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/627918/linux-how-can-i-use-flow-control-with-dma-uart

工具/软件:Linux

大家好

我的板是 AM335x-EVM、SDK 是 SDK-02.00.11。

我想将流控制与 DMA-UART 一起使用。

如何将流控制与 DMA-UART 配合使用?

我知道新的 SDK 已发布。

如果我更新 SDK、能否将流控制与 DMA-UART 配合使用?

感谢你的答复。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、tosky、
    查看以下主题:
    e2e.ti.com/.../627763

    谢谢、
    prabhuraj
    Black胡椒 技术
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    感谢您的重放。

    遗憾的是、硬件流控制标志已经被置位、但是 RTC 信号没有输出。

    静态空 serial_omap_config_port (struct uart_port *端口、int 标志)

    struct uart_omap_port * up = TO_UART_OMA_port (port);

    dev_dbg (up->port.dev、"serial_omap_config_port+%d\n"、
    up->port.line);
    up->port.type = port_omap;
    up->port.flags |= UPF_SOFT_flow | UPF_HARD_flow;<=== 在这里!


    我还确认 up -> port.flags 设置为硬件流。

    我还能做什么呢?

    谢谢你。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好 Tosky、
    感谢您的回复。
    AM335x TRM -第4368页提到了 UART 硬件流控制(www.ti.com/.../spruh73p.pdf)
    您能否仔细检查编程模型并查看它是否对您有所帮助?

    谢谢、
    Prabhuraj
    Black胡椒 技术