请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:AM5728 工具/软件:Linux
你(们)好
我正在尝试将时钟源从 CPTS 的默认值(L3_ICLK)更改为 VIDEO1_CLK。 为此、我已根据表3-1078将 CLKSEL_RFT 位的内容从0x4修改为0x0 (我将0x2写入地址0x4a0093d0)。 CM_GMAC_GMAC_CLKCTRL。
执行此操作后、我的 PTP 应用程序停止工作、我开始看到以下消息。
#[729.836285] CPT:无法获取时间戳
我只能推断我的 video1 clk 无法完全正常工作。 为了验证我的视频1时钟、我已根据下面的线程对其进行了配置、并将其导出到引脚(clkout3)并在示波器上进行测量。
so i can see that video1 clk is actually working but when I select it as source for CPTS, i see errors that are telling me otherwise.
Questions:
- Is there any other register that i should be configuring in order to select video1 as clock for cpts ?
- is there a way to verify the status of the video1 clock by reading any registers ?
According to the link above, the status register is unaccessible.
" When the VIDEO1 PLL is enabled (CTRL_CORE_DSS_PLL_CONTROL[PLL_VIDEO1_DSS_CONTROL_DISABLE] = 0), then reading any of the DPLL_VIDEO1_L4_CFG registers (address 0x4A0A4000 – 0x4A0A4020) returns 0x0. " - When i read the register 0x4a0a4004 I get 0x0. When I read the register 0x58004304, it hangs. Is this expected ?
This is on Linux SDK 03.02.00; AM572x EVM