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.

TDA4VM: TDA4VM-clk输出

Part Number: TDA4VM

hi,

你好,我们想用以下引脚输出500K的时钟

https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j721e/clocks.html

查了clk,获取,但是没有波形输出

dts如下:

elmos@0 {
pinctrl-names = "default";
pinctrl-0 = <&spi_e521_clkref_pins_default>;
spi-max-frequency = <2000000>;
reg = <0>;
compatible = "elmos,e521.42";
clocks = <&k3_clks 157 82>;
clock-names = "elmos";
};

code:

ref_clk = devm_clk_get(&spi->dev,"elmos");

ret = clk_prepare_enable(ref_clk);

dev_dbg(&spi->dev, "elmosclk_prepare_enable ret%d\n",ret);

pinmux检测了是对应的,是如下这样子,模式2

但量到对应引脚没有波形输出

x 出现错误。请重试或与管理员联系。