Gmac loopback problems

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Gmac loopback problems

1,618件の閲覧回数
nioer
Contributor I

hi, nxp:

According to the protocol stack demo of tcp/ip stack, we changed the compilation environment from the previous windows to linux, and then the loopback mode of GMAC could not succeed.

The function Gmac_Ip_GetTransmitStatus return value is GMAC_STATUS_BUSY.

we compare the two compilation environment GMAC regs value as picture bellow.

nioer_0-1648714594568.png

 

0 件の賞賛
返信
1 返信

1,546件の閲覧回数
Yi_Liu_Nxa22412
NXP Employee
NXP Employee

The registers in your pasted picture is belong to GMAC DMA channel 0 Tx and Rx descriptor ring.

That is reasonable when using difference compile project, the Tx, Rx descriptor ring location change when use difference compile environment. That isn't one problem.

The reason of "GMAC_STATUS_BUSY", please check whether the GMAC clock is locked or not.

Please check the MC_CGM_0  MUX_9, MUX_10, MUX_11 and MUX_15.

 

 

The clock chart is as below picture:

yiliu_b16664_0-1649914297250.png

 

0 件の賞賛
返信