S32K3xx - media clock timestamping using PPS0 input

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K3xx - media clock timestamping using PPS0 input

1,336 Views
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

Tags (2)
0 Kudos
5 Replies

1,164 Views
jakub_mielczare
Contributor III

Hello,

Is there any update in this topic?

0 Kudos

1,165 Views
jakub_mielczare
Contributor III

Hello. Is there any update here?

0 Kudos

1,297 Views
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 Kudos

1,190 Views
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 Kudos

1,157 Views
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 Kudos