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/AM3715:McSPI TX 保持满状态

Guru**** 2587365 points
Other Parts Discussed in Thread: AM3715

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/635643/linux-am3715-mcspi-tx-remains-full

器件型号:AM3715

工具/软件:Linux

您好!

我正在使用 mcspi,  

我已经开始测试它、但由于某种未知原因、我得到 mcspi TX 保持满。

在 mcspi 中发送一个字节后,在 MCSPI_CHxSTAT 寄存器中,txs 位保持为1。

我使用 mcspi2并检查寄存器  0x4809a030 (MCSPI_CHxSTAT):

0x4809a000:
0x4809a000:0021 0000 0000 0000
0x4809a010:0015 0001 0005 0000
0x4809a020:0000 0001 1c3d9
0x4809a030:0007 0000 0000 0000

没有发送字节的原因吗?

MCSPI #2配置为主接口。

此致、

已运行