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.

[参考译文] AM6442:为输入 GPIO 上的事件设置时间戳

Guru**** 2535750 points
Other Parts Discussed in Thread: AM6442

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1560289/am6442-timestamping-an-event-on-an-input-gpio

器件型号:AM6442


工具/软件:

我们有定制板。 这样、FPGA 从连接器接收硬件信号。
该信号我们可以通过 FPGA 路由到 AM6442 引脚 P19 = GPMC0_CSn2、TIMER_IO8 或  引脚、或者 R21 = GPMC0_CSn3、TIMER_IO9。
我们需要使用 PTP 计数器为边沿添加时间戳。

我们已经使用此 器件树条目生成 PPS:

&timesync_router{
  pinctrl-names =“default";“;
 pinctrl-0 =<&MCU_cpt_pps>;

 MCU_CPTS_pps:MCU-CPT-pps{
   pinctrl-single、pins =<
          TS_OFFSET (37、22)/* pps [CPTS genF1] in22 -> out37 [CPTS hw8_push]*/
          TS_OFFSET (25、22)/* pps [CPTS genF1] in22 -> out25 [SYNC1_OUT 引脚]*/
    >;
 };
};

如果是、如何配置从 GPIO 到 HW_PUSH 的路径是否可以执行我们想要的操作?

谢谢、此致!