i.MX6ULL writing into eCSPI status register kills the SPI

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

i.MX6ULL writing into eCSPI status register kills the SPI

ソリューションへジャンプ
843件の閲覧回数
wolfgang_muees
Contributor II

In order to recover from a stopped DMA transfer, I wrote the pattern 0xC0 into ECSPI3_STATREG, to clean the TC and RF bits.

After this, the SPI interface was non-functional. I have not observed any data transfer (no clocks, master mode).

The error seems to be permanent. I have killed 2 boards, and have found no solution for this problem.

WARNING: do not write to the status register! Never!

regards

Wolfgang

ラベル(1)
タグ(1)
1 解決策
720件の閲覧回数
wolfgang_muees
Contributor II

Sorry. The i.MX6ULL was NOT dead. My fault.

Setup of the CSPI and the DMA engine was not reliable, and the pattern of the faulty tries has matched perfect the write into the status register.

Driver is working now....

元の投稿で解決策を見る

3 返答(返信)
721件の閲覧回数
wolfgang_muees
Contributor II

Sorry. The i.MX6ULL was NOT dead. My fault.

Setup of the CSPI and the DMA engine was not reliable, and the pattern of the faulty tries has matched perfect the write into the status register.

Driver is working now....

720件の閲覧回数
wolfgang_muees
Contributor II

Removing Power and wait one night does nothing good. The SPI interface remains non-functional. It's a permanent brick. Software bricks hardware....

0 件の賞賛
720件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Wolfgang

had you tried to remove all power (including SNVS) and external cables from

board, wait some time then power up. One can check spi pads by using them as gpios

or iomux spi on other pads.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛