LS1046A QSPI TX buffer issue

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

LS1046A QSPI TX buffer issue

932件の閲覧回数
AngelMorales
Contributor II

Hi all,

We have a custom board including the LS1046A processor. As part of our tests I am trying to drive the QSPI bus with IP commands via CodeWarrior. I have encountered an unexpected behavior: in every write transaction the first 4 bytes (every TX buffer entry is 4-byte long) is sent as the first 4 bytes of the previous transaction. In the first transaction zeroes are sent in the first 4 bytes.

I have tried to fill the buffer with 16 4-byte long entries before sending them but the same problem happens. Right after that I have tried to send only 4 bytes (even though the status registers indicated that the buffer was empty) and the first 4 bytes of the previous transaction are sent.

I have also tried to reset both the TX buffer (QuadSPI_MCR[CLR_TXF]) and the driver itself (QuadSPI_MCR[SWRSTHD] and QuadSPI_MCR[SWRSTSD]) before attempting to write but the same still happens.

I am guessing that there must be some step I am missing.

Regards.

ラベル(1)
0 件の賞賛
返信
0 返答(返信)