Page 1 of 1

Ethernet PTP time stamp status register bits

Posted: Tue Jul 17, 2018 3:21 pm
by Raul
Hi,

The following should be applicable to ST family (os/common/ext/ST/) with TSTTR & TSSO defined.

Assuming 17.6.3, changes should be:

Code: Select all

#define ETH_PTPTSSR_TSTTR    0x00000002U  /* Time stamp target time reached */
#define ETH_PTPTSSR_TSSO     0x00000001U  /* Time stamp seconds overflow */


In 18.2.1 the position offsets should change to:

Code: Select all

#define ETH_PTPTSSR_TSTTR_Pos                        (1U) 
#define ETH_PTPTSSR_TSSO_Pos                         (0U)


Raul

Re: Ethernet PTP time stamp status register bits

Posted: Tue Jul 17, 2018 3:54 pm
by Giovanni
Hi,

Those errors should be reported to ST.

Giovanni

Re: Ethernet PTP time stamp status register bits

Posted: Tue Jul 17, 2018 5:31 pm
by Raul
Ok,

Out of curiosity, where are the ST CMSIS headers downloaded from?

Thanks,

Raul

Re: Ethernet PTP time stamp status register bits

Posted: Tue Jul 17, 2018 5:41 pm
by Giovanni
Hi,

Those are included in the various CubeMX packages.

Giovanni