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.

[参考译文] AM2431:使用 PRU 进行数据编码时的帮助

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1294054/am2431-help-using-pru-for-data-encoding

器件型号:AM2431

我正在尝试了解如何使用 PRU 对数据进行编码。
例如、如果您希望对使用 GPO Shift Out 功能发出的某些数据流执行 NRZ 编码、则可以添加一些外部逻辑。
如果输入为"1"、则该逻辑可能切换输出状态、如果输入为"0"、则该逻辑可能保持输出相同。

这通常是通过外部逻辑实现的、如果工程规模要求、还可通过 FPGA 实现的。
我注意到 C2000微控制器包含"CLB"、允许自定义逻辑块配置...

1) 1) AM243x 是否有某种方法将自定义逻辑应用于输入/输出?

2) 2)您能否建议一种在 AM243x 上实现 NRZ 编码的方法? (对存储在 DRAM0中的一些任意数据进行编码、并将其拉至 R30/SH0/SH、以通过 GPO 移出功能移出)