| Electronic Components Datasheet Search |
|
LAN8818D/KDX Datasheet(PDF) 48 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
LAN8818D/KDX Datasheet(HTML) 48 Page - Microchip Technology |
|
48 / 101 page ![]() LAN8818D DS00005832C-page 48 © 2026 Microchip Technology Inc. and its subsidiaries When the 1588 Local Time Counter reaches or passes the Local Time Target for a Local Time Event channel, a Local Time Event occurs, which triggers the following: • The maskable interrupt for that Local Time Event channel (PTP Timer Interrupt B (PTP_TIMER_INT_B)) is set in the PTP Interrupt Status register (PTP_INT_STS). • The PTP LTC Target x Actual Nanoseconds High/Low Registers are loaded from the nanoseconds portion of the 1588 Local Time Counter. • The Reload/Add B (RELOAD_ADD_B) bit in the PTP General Configuration register (PTP_GENERAL_CONFIG) is checked to determine the new Local Time Target behavior: - RELOAD_ADD = ‘1’: The new Local Time Target is loaded from the Reload/Add Registers (PTP LTC Target x Reload/Add Seconds High/Low Registers (PTP_LTC_TARGET_RELOAD_SEC_HI/LO_x) and PTP LTC Target x Reload/Add Nanoseconds High/Low Registers (PTP_LTC_TARGET_RELOAD_NS_HI/LO_x)). - RELOAD_ADD = ‘0’: The Local Time Target is incremented by the Reload/Add Registers (PTP LTC Target x Reload/Add Seconds High/Low Registers (PTP_LTC_TARGET_RELOAD_SEC_HI/LO_x) and PTP LTC Target x Reload/Add Nanoseconds High/Low Registers (PTP_LTC_TARGET_RELOAD_NS_HI/LO_x)). The Local Time Target Nanoseconds rolls over at 10^9 and the carry is added to the Local Time Target Seconds. The Local Time Target Reload/Add register set requires four 16-bit write cycles, one to each quarter, before the register set is affected. The writes may be in any order. The Local Time Target reload function (RELOAD_ADD = ‘1’) allows the Host to pre-load the next trigger time in advance. The add function (RELOAD_ADD = ‘0’) allows for an automatic repeatable event. 5.9.7 1588 GPIOS In addition to time stamping PTP packets, the 1588 Local Time Counter value can be saved into a set of Local Time capture registers based on the GPIO inputs. The GPIO inputs can also be used to clear the 1588 Local Time Target compare event interrupt. When configured as outputs, GPIOs can be used to output a signal based on an 1588 Local Time Target compare events. Refer to Section 5.18, "GPIOs" for additional information. 5.9.8 1588 PROCESSING ENABLE/DISABLE 1588 chip functions such as Local Time Counter are enabled when the PTP Enable (PTP_ENABLE) bit in the PTP Com- mand and Control register (PTP_CMD_CTL) is set. 1588 packet processing functions (detection, frame modification, etc.) are separately enabled on each port using the Time-Stamp Unit Enable (TSU_ENABLE) bit in the applicable port TSU General Configuration register (TSU_GENER- AL_CONFIG). APPLICATION NOTE: Since the Local Time Target compare is a “greater than equals to” function, it is possible that it triggers with the 1588 Local Time Counter exceeding the Local Time Target value. These registers can be used to account for the variation. Note: Writing the 1588 Local Time Counter may cause the interrupt event to occur if the new 1588 Local Time Counter value is set equal to or greater than the current Local Time Target. APPLICATION NOTE: The setting of PTP Enable (PTP_ENABLE) without setting Time-Stamp Unit Enable (TSU_ENABLE) allows the 1588 Local Time Counter, Local Time Target and GPIOs, etc. to be used without network interaction. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |