lpcware

LPC4357 1588 PTP System Time

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by peterrq on Thu Sep 11 09:04:21 MST 2014
I am trying to get PTP working on an MCB4300 using the LPC4357.
I have installed LPC OPEN & have updated lpc_low_level_init() & have set intial values in SUBSECOND_INCR (21) & ADDEND (0x8053E356) representing a 10nS tick.
MAC_TIMESTP_CTRL is 0x20003.
I do not see SECONDS / NANOSECONDS registers increment, they remain at 0.
I have not tried to look at DMA descriptor yet as System Time registers remain stuck.
I can not find a reason why the registers will not increment. The debugger shows that I have SUBSECOND_INCR (0x21) & ADDEND set.
Otherwise ethernet works.

What else do I need to do?

Outcomes