目录
[一、Tx squelch概念](#一、Tx squelch概念)
[二、Tx squelch类别](#二、Tx squelch类别)
[2.1 OMA](#2.1 OMA)
[2.2 Pave](#2.2 Pave)
[三、Tx Squelch应用场景](#三、Tx Squelch应用场景)
一、Tx squelch概念
简单描述如下:当host的电信号异常的时,如开启了tx squelch功能,关闭当前lane的调制或者激光器,使得异常信号不要发送出去。
Tx Squelch概念来自于光模块的硬件及电气规格《SFF-8679》,当前最新协议1.9版本6.5.2章节描述如下:
Output squelch, hereafter Tx Squelch, for loss of input signal from the host, hereafter Tx LOS, is an optional function. Where implemented it shall function as follows. In the event that the input signal becomes less than 50 mVpp or the value in the relevant standard, then the transmitter optical output for that lane shall be squelched or disabled and the associated TxLOS flag set. If multiple electrical input lanes are associated with the same optical output lanes, the loss of any of the incoming electrical input lanes causes the optical output lane to be squelched.
Where squelched, the transmitter OMA shall be less than or equal to -26 dBm and when disabled the transmitter power shall be less than or equal to -30 dBm or the value(s) defined by the relevant standard. For applications, e.g. Ethernet, where the transmitter off condition is defined in terms of average power, disabling the transmitter is recommended and for applications, e.g. InfiniBand, where the transmitter off condition is defined in terms of OMA,
squelching the transmitter is recommended. In module operation, where Tx Squelch is implemented, the default case has Tx Squelch active. Tx Squelch can be deactivated using Tx Squelch Disable through the two-wire interface. Tx Squelch Disable is an optional function. For specific details refer to SFF-8636 or CMIS.
翻译如下:
输出静噪(以下简称Tx静噪)是一个可选功能,用于主机输入信号的丢失(以下简称Tx LOS)。实施后,其功能如下:如果输入信号小于50mvpp或相关标准中的值,则该通道的发射机光输出应被抑制或禁用,并设置相关的TxLOS标志。如果多个电输入通道与相同的光输出通道相关联,则任何一个输入电通道的丢失都会导致光输出通道被抑制。
在静音状态下,发射机OMA应小于或等于- 26dbm,当关闭发射机(激光器)时,发射机功率应小于或等于- 30dbm或相关标准定义的值。
对于应用,例如以太网,其中发射机关闭条件是根据平均功率定义的,建议禁用发射机。
对于应用,例如InfiniBand,其中发射机关闭条件是根据OMA定义的,建议对发射机进行静音处理。
在光模块中,如果支持Tx Squelch,默认情况下Tx Squelch是激活的。Tx Squelch可以通过双线(i2c)接口下发Tx Squelch Disable关闭激活态。Tx Squelch Disable是一个可选功能,具体请参考SFF-8636或CMIS。
二、Tx squelch类别
Sff-8472管理接口协议中定义了tx squelch的声明,如下表所示。

Bit3-2声明了,tx squelch的类型:不支持、OMA模式、Pave模式、OMA和Pave模式。
2.1 OMA
OMA(Optical Modulation Amplitude):光信号 "1" 电平和 "0" 电平之间的功率差,即光调制幅度,单位 dBm 或 mW,计算公式:OMA = P1 - P0,其中 P1 是 "1" 电平功率,P0 是 "0" 电平功率。
OMA模式下,Tx Squelch时,功率<-26dbm。
对于软件来讲为:接收到Tx Squelch命令时,给DSP下一条Tx Squelch的命令,关闭调制就OK了。
2.2 Pave
Pave(Average Optical Power):光信号的平均功率,单位 dBm。
Pave模式下,Tx Squelch时,功率<-30dbm。
对于软件来讲:接收到Tx Squelch命令时,给DSP下发Tx Squelch命令,还需要关闭激光器的输出。
三、Tx Squelch应用场景
- 链路保护:当接收端故障时,防止无效光信号干扰网络,例如防止网卡误锁定。
- 省电模式:在不需要传输时降低功耗。
- 故障隔离:防止故障模块影响整个系统。
- 信号质量监控:作为发射机健康状况的指示,Tx Squelch 频繁激活表示信号质量问题。