LPC4357 1588 PTP System Time

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

LPC4357 1588 PTP System Time

812 Views
lpcware
NXP Employee
NXP Employee
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?
Labels (1)
0 Kudos
Reply
1 Reply

719 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by peterrq on Fri Sep 12 02:06:17 MST 2014
Had missed that I need to set TSADDREG.
Timestamp updates now.
0 Kudos
Reply