Ethernet PTP time stamp status register bits Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
Raul
Posts: 43
Joined: Thu Aug 13, 2015 5:15 pm
Has thanked: 3 times
Been thanked: 1 time

Ethernet PTP time stamp status register bits

Post 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
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Ethernet PTP time stamp status register bits

Post by Giovanni »

Hi,

Those errors should be reported to ST.

Giovanni
Raul
Posts: 43
Joined: Thu Aug 13, 2015 5:15 pm
Has thanked: 3 times
Been thanked: 1 time

Re: Ethernet PTP time stamp status register bits

Post by Raul »

Ok,

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

Thanks,

Raul
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Ethernet PTP time stamp status register bits

Post by Giovanni »

Hi,

Those are included in the various CubeMX packages.

Giovanni
Post Reply