SPRUIL1D May 2019 – December 2024 DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
This threshold value is the counterpart of the DL_TC0TXFCThreshold value in the receiver. It defines the amount of credits, which have become available since the last credit update but are not communicated to the peer device yet, before an AFC credit update is triggered.
For example, if this value is set to 5 credits, the device will not update its credit information to the peer device before at least 5×32 bytes are read from the receive buffer of the corresponding traffic class since the last credit update.
Changing this attribute to a lower value will increase the number of AFC frames sent for only updating credit information. A higher value however, might lead to a stall for data transmission on the peer device as not enough credits might be available. The maximum value is defined by the size of the RxBuffer in credits. A higher value for the threshold attribute would break credit handling.
As a guideline, setting this attribute to the credit value corresponding to the maximum size of a frame for this traffic class (MaxFrameSizeTC0), should give reasonable results. In this case, the receiver sends its credit update when at least one additional frame of MaxFrameSizeTC0 can be stored in its buffer.
DL_AFC0CreditThreshold = MaxFrameSizeTC0[credits];