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.

[FAQ] [参考译文] [常见问题解答] PROCESSOR-SDK-AM62A:如何绘制 OSPI PHY 调优算法的图形?

Guru**** 2466550 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1472832/faq-processor-sdk-am62a-how-to-plot-graph-for-ospi-phy-tuning-algorithm

器件型号:PROCESSOR-SDK-AM62A

工具与软件:

说明:

在运行 OSPI PHY 调优算法时、我们往往会计算最佳调优点(OTP)。

在文件 ospi_phy.c 下、我们遇到了 API:  OSPI_phyTuneGrapher

API  OSPI_phyTuneGrapher  扫描 rdDelay (o 至4)、txDLL (0至127)和 rxDLL (0至127)的所有可能的组合。

如果特定组合成功读取128字节预闪存数据、则记录值1、否则记录值0。

该值记录在名为的数组中  phyTuningArray (一个3D 数组[rdDelay][txDLL][rxDLL])。

要在图形中表示此数组、我们可以执行以下步骤:

  1. 运行以下随附的代码、该代码以二进制格式将图形保存到自定义本地目录。
  2. 一旦图表被保存为" graph_data_temperature_testing.bin "、按如下方式运行附加的 python 脚本:" Python graph.py graph_data_temperature_testing.py "。

图中的图可用于查看不同温度下的变化。