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.

[参考译文] AM623:如何调整 SPI CLK?

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1504524/am623-how-to-adjust-spi-clk

器件型号:AM623

工具/软件:

尊敬的专家:



如何调整 SPI CLK?

如下图所示、客户尝试调整 CLK 编号、但效果不佳。

谢谢

Daniel

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

    尊敬的 Daniel:

    Unknown 说:
    如下图所示、客户尝试调整 CLK 编号、但不起作用。

    我假设关联的设备树节点如下所示...

    spidev@0 {
    	/*
    	 * Using spidev compatible is warned loudly,
    	 * thus use another equivalent compatible id
    	 * from spidev.
    	 */
    	compatible = "rohm,dh2228fv";
    	spi-max-frequency = <24000000>;
    	reg = <0>;
    };

    您对的设置是什么 SPI-最大频率 以及您尝试配置的 SPI 时钟频率是多少?

    请注意、您无法任意实现所需的任何 SPI 时钟输出频率、因为您将受到 SPI 外设芯片上输入频率(50MHz)的限制、以及可使用哪个整数分频器进行分频。 TRM 有一个有关此方面的表格...

    此致、Andreas