Using IEEE1588 protocol, can MPC5748G time accuracy support the millisecond level?

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

Using IEEE1588 protocol, can MPC5748G time accuracy support the millisecond level?

675 Views
shingozhou
Contributor III

Hi,

Precondition: Devkit_MPC5748G, S32DS for PA2.1, SDK PA RTM v3.0.0.

  To add a precise timestamp to each received CAN message,  I plan to synchronize the MPC5748G system clock with IEEE1588 function. Here are some questions as follows:

  1.Using IEEE1588 protocol, can timestamp of MPC5748G accuracy support the millisecond level?

   2.How do I get the precision time Using IEEE1588(PTP), and can provide a example?

 

Bestwishes

0 Kudos
3 Replies

644 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

IEEE 1588 functions are described in the chapter 42.6.10 of the MPC5748G Reference Manual. As mentioned there, in a typical implementation, the period is set to 1 × 109 so that the counter wraps every second, and hence all timestamps represent the absolute nanoseconds within the one second period.

Regarding an example, unfortunately I am not aware of it.
You can refer to https://www.nxp.com/docs/en/nxp/application-notes/AN12149.pdf, but it is different MCU.

BR, Petr

607 Views
shingozhou
Contributor III

Hi, Petr:

   Where can I download the demo source code mentioned in the documentation "AN12149.pdf" ?

BR,shingo

0 Kudos

600 Views
PetrS
NXP TechSupport
NXP TechSupport