AnsweredAssumed Answered

SPI problem with MicroZed 7020 & FMCOMMS3 setup

Question asked by CRibeiro on Nov 14, 2017
Latest reply on Dec 12, 2017 by mhennerich

Greetings,

 

I'm using a MicroZed 7020 + MicroZed FMC carrier card + FMCOMMS3 setup, running a modified version of Analog Devices Linux 4.9 (with Vivado FSBL and AVNet microZED reference u-Boot).

I've striped ZED’s reference design to a minimum (ported it to MicroZED), added my wireless transceiver in the PL and connected it to the AD9361 IP block.

The system boots and is working as expected most of the time. If the system is only transmitting/receiving data (not accessing the SPI interface), it remains stable for a long time. No problem.

I have a Python program that controls/configures the AD9361. While testing the system, the Python program reads from and writes to the SPI interface often. Once in a while, the console outputs the following message:

ad9361 spi32766.0: SPI transfer timed out

ad9361 spi32766.0: Write Error -110

INFO: task kworker/1:1:260 blocked for more than 20 seconds.

Not tainted 4.9.0-04014-g2009fdd-dirty #36

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

INFO: task sh:2188 blocked for more than 20 seconds.

Not tainted 4.9.0-04014-g2009fdd-dirty #36

 

The AD9361 locks and I have to restart the system. Rebooting the Linux isn’t enough.

I could not find a pattern to this event.

 

Any help is highly appreciated.

 

Thanks,

Carlos

Outcomes