Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

SFP_UDPONTRIG - SFP UDP on trig Module

This module, when started, can generate UDP broadcast frames on the rising edge on input trigger. The IPv4 ICMP ping protocol is also implemented in this module which can accept 0 to 256 Bytes ICMP payload size.

Fields

NameTypeDescription
SFP_TRIGbit_muxRising edge ticks the sending of UDP user-defined frame
SFP_START_COUNTwrite actionStart counting SFP_TRIG Rising edge from zero and send UDP user-defined frames
SFP_STOP_COUNTwrite actionStop counting SFP_TRIG Rising edge and stop sending UDP user-defined frames
SFP_DEST_UDP_PORTparam uint 131071Destination UDP Port (16 bits integer value)
SFP_OUR_UDP_PORTparam uint 131071Source UDP Port (16 bits integer value)
SFP_DEST_IP_AD_BYTE1param uint 255Destination ip address byte 1 (byte integer value) ip=BYTE1.BYTE2.BYTE3.BYTE4
SFP_DEST_IP_AD_BYTE2param uint 255Destination ip address byte 2 (byte integer value) ip=BYTE1.BYTE2.BYTE3.BYTE4
SFP_DEST_IP_AD_BYTE3param uint 255Destination ip address byte 3 (byte integer value) ip=BYTE1.BYTE2.BYTE3.BYTE4
SFP_DEST_IP_AD_BYTE4param uint 255Destination ip address byte 4 (byte integer value) ip=BYTE1.BYTE2.BYTE3.BYTE4
SFP_OUR_IP_AD_BYTE1param uint 255Our source ip address byte 1 (byte integer value) ip=BYTE1.BYTE2.BYTE3.BYTE4
SFP_OUR_IP_AD_BYTE2param uint 255Our source ip address byte 2 (byte integer value) ip=BYTE1.BYTE2.BYTE3.BYTE4
SFP_OUR_IP_AD_BYTE3param uint 255Our source ip address byte 3 (byte integer value) ip=BYTE1.BYTE2.BYTE3.BYTE4
SFP_OUR_IP_AD_BYTE4param uint 255Our source ip address byte 4 (byte integer value) ip=BYTE1.BYTE2.BYTE3.BYTE4
SOFT_RESETwrite actionblock Soft Reset
SFP_TRIG_RISE_COUNTreadRising edge count of SFP_TRIG
SFP_COUNT_UDPTX_ERRreadUDP TX ERROR count
SFP_STATUS_COUNTreadblock counting status ('0' => standby, '1' => counting enabled)
SFP_LOSreadLoss-Of-Signal status (read from SFP module)
SFP_MAC_LOreadMAC low in integer value bit 23:0
SFP_MAC_HIreadMAC high in integer value bit 47:24