AnsweredAssumed Answered

On the qd tdm port, how to configure the ucc fast mode, do not issue the crc check

Question asked by biao li on Jun 16, 2019
Latest reply on Jul 2, 2019 by biao li

Hello!
   I am now debugging qe's tdm port, this port is controlled by ucc, ucc works in fast mode. When sending data, ucc will send a 2 byte 16bitcrc check after sending a bd buffer. After I remove the send crc check, the crc check will not be sent, but the two time slots will be vacant and set to high level. How to call this time slot is removed.

 

for (i = 0; i < TX_BD_RING_LEN; i++) {
if (i < (TX_BD_RING_LEN - 1))
bd_status = 0 ; 
else
bd_status = T_W_S;

iowrite16be(bd_status, &priv->tx_bd_base[i].status);
iowrite32be(priv->dma_tx_addr + i * MAX_RX_BUF_LENGTH, &priv->tx_bd_base[i].buf);
}

 

If bd_status = T_TC_S;
A 16-bit crc is sent after each bd is sent.
If bd_status = 0, crc will not be issued, but 0xff will be sent.
How to get rid of not sending things.


  Anyone who can help me solve this problem, thank you very much.

Outcomes