今天调试程序又发现了一个致命错误!!!
Reset PTP Clock:
Setting this bit will reset the PTP Clock and associated logic. In addition, the 1588 registers will be reset, with the exception of the PTP_COC and PTP_CLKSRC registers. Unlike other bits in this register, this bit is not self-clearing and must be written to 0 to release the clock and logic from reset.
居然没有给这个比特清零!!!!
狂汗不止!!
记住教训。