LPC4357 1588 PTP System Time

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC4357 1588 PTP System Time

813 次查看
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?
标签 (1)
0 项奖励
回复
1 回复

720 次查看
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 项奖励
回复