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
解決済! 解決策の投稿を見る。
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....
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....
Removing Power and wait one night does nothing good. The SPI interface remains non-functional. It's a permanent brick. Software bricks hardware....
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!
-----------------------------------------------------------------------------------------------------------------------