S32K3xx - media clock timestamping using PPS0 input

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K3xx - media clock timestamping using PPS0 input

2,366 次查看
jakub_mielczare
Contributor III

Hello,

 

In S32K3 RM, in chapter "73.17.167 MAC PPS Control (MAC_PPS_Control)" it says that PPS0 can be used to capture presentation time at rising/falling/both edge of a media clock.

Selection_631.png

 

But the same values of PPSCTRL_PPS CMD are used also above in the manual:

Selection_632.png

 

How is it defined which of the above value sets are effective, pulse train or timestamp capture on edge?

Thank you,

Jakub

标记 (2)
0 项奖励
回复
5 回复数

2,194 次查看
jakub_mielczare
Contributor III

Hello,

Is there any update in this topic?

0 项奖励
回复

2,195 次查看
jakub_mielczare
Contributor III

Hello. Is there any update here?

0 项奖励
回复

2,327 次查看
nxf47391
NXP Employee
NXP Employee

 

Hi Jakub,

The attachment is a draft version of PPS user guide. You can refer to it.

BR,

Shuang

0 项奖励
回复

2,220 次查看
jakub_mielczare
Contributor III

Hi,

Thank you for the answer and the PPT file.

Is it possible to read timestamps from MAC PPS0 Target Time registers (written by MAC on capturing rising/falling edge of an external clock signal) by CPU or only DMA can make those reads?

Thank you,

Jakub

0 项奖励
回复

2,187 次查看
nxf47391
NXP Employee
NXP Employee

 

Hi Jakub,CPU and DMA can read&write MAC PPS0 Target Time registers. DMA can reduce CPU loading and it is recommended for operation. 

The attachment is a demo project that DMA will write data to MAC PPS0 Target Time registers and will generate media clock. 

BR,

Shuang

 

0 项奖励
回复