Hi,
This is the dmesg from the slave side for the same experiment attached in my previous reply,
root@colibri-imx6ull-06765032:~# dmesg | grep spi
[ 1.606434] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 2.345436] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 2.362073] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 2.363274] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 2.386198] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 10.347997] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 10.641870] spi_imx 2008000.spi: registered slave spi0
[ 10.682550] spi_slave spi0: /soc/aips-bus@2000000/spba-bus@2000000/spi@2008000/spidev@0 is not called ‘slave’
[ 10.696214] spi_slave spi0: Failed to create SPI device for /soc/aips-bus@2000000/spba-bus@2000000/spi@2008000/spidev@0
[ 10.930901] spi spi0.0: spi_imx_setup: mode 0, 8 bpw, 0 hz
[ 10.930930] spi spi0.0: setup mode 0, 8 bits/w, 0 Hz max → 0
[ 10.931729] spi_imx 2008000.spi: registered child spi0.0
[ 10.931745] spi_imx 2008000.spi: probed
[ 49.693120] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 0 hz
[ 49.693186] spidev spi0.0: setup mode 0, 8 bits/w, 0 Hz max → 0
[ 49.693219] spidev spi0.0: spi mode 0
[ 49.693280] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 0 hz
[ 49.693327] spidev spi0.0: setup mode 0, 8 bits/w, 0 Hz max → 0
[ 49.693360] spidev spi0.0: 8 bits per word
[ 49.693414] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 500000 hz
[ 49.693463] spidev spi0.0: setup mode 0, 8 bits/w, 500000 Hz max → 0
[ 49.693493] spidev spi0.0: 500000 Hz (max)
[ 49.695124] spi_imx 2008000.spi: mx51_ecspi_clkdiv: fin: 60000000, fspi: 500000, post: 3, pre: 14
This is the dmesg at the master side:
root@colibri-imx6ull-06764338:~# dmesg | grep spi
[ 1.682900] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 2.398975] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 2.514151] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 2.515207] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 2.908765] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 3.525861] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 4.669680] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 10.294692] spi_imx 2008000.spi: can’t get the TX DMA channel, error -517!
[ 10.599072] spi_imx 2008000.spi: registered master spi0
[ 10.655870] spi spi0.0: spi_imx_setup: mode 0, 8 bpw, 20000000 hz
[ 10.655905] spi spi0.0: setup mode 0, 8 bits/w, 20000000 Hz max → 0
[ 10.656691] spi_imx 2008000.spi: registered child spi0.0
[ 10.656747] spi_imx 2008000.spi: probed
[ 90.427161] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 20000000 hz
[ 90.427501] spidev spi0.0: setup mode 0, 8 bits/w, 20000000 Hz max → 0
[ 90.427541] spidev spi0.0: spi mode 0
[ 90.428304] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 20000000 hz
[ 90.428451] spidev spi0.0: setup mode 0, 8 bits/w, 20000000 Hz max → 0
[ 90.428727] spidev spi0.0: 8 bits per word
[ 90.431727] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 500000 hz
[ 90.431759] spidev spi0.0: setup mode 0, 8 bits/w, 500000 Hz max → 0
[ 90.431771] spidev spi0.0: 500000 Hz (max)
[ 90.432443] spi_imx 2008000.spi: mx51_ecspi_clkdiv: fin: 60000000, fspi: 500000, post: 3, pre: 14
[ 96.719298] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 20000000 hz
[ 96.719386] spidev spi0.0: setup mode 0, 8 bits/w, 20000000 Hz max → 0
[ 96.719422] spidev spi0.0: spi mode 0
[ 96.719487] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 20000000 hz
[ 96.719543] spidev spi0.0: setup mode 0, 8 bits/w, 20000000 Hz max → 0
[ 96.719576] spidev spi0.0: 8 bits per word
[ 96.719631] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 500000 hz
[ 96.719683] spidev spi0.0: setup mode 0, 8 bits/w, 500000 Hz max → 0
[ 96.719714] spidev spi0.0: 500000 Hz (max)
[ 96.721361] spi_imx 2008000.spi: mx51_ecspi_clkdiv: fin: 60000000, fspi: 500000, post: 3, pre: 14
[ 98.609465] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 20000000 hz
[ 98.609551] spidev spi0.0: setup mode 0, 8 bits/w, 20000000 Hz max → 0
[ 98.609585] spidev spi0.0: spi mode 0
[ 98.609647] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 20000000 hz
[ 98.609700] spidev spi0.0: setup mode 0, 8 bits/w, 20000000 Hz max → 0
[ 98.609733] spidev spi0.0: 8 bits per word
[ 98.609788] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 500000 hz
[ 98.609841] spidev spi0.0: setup mode 0, 8 bits/w, 500000 Hz max → 0
[ 98.609872] spidev spi0.0: 500000 Hz (max)
[ 98.611467] spi_imx 2008000.spi: mx51_ecspi_clkdiv: fin: 60000000, fspi: 500000, post: 3, pre: 14
[ 100.059481] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 20000000 hz
[ 100.059570] spidev spi0.0: setup mode 0, 8 bits/w, 20000000 Hz max → 0
[ 100.059607] spidev spi0.0: spi mode 0
[ 100.059669] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 20000000 hz
[ 100.059725] spidev spi0.0: setup mode 0, 8 bits/w, 20000000 Hz max → 0
[ 100.059757] spidev spi0.0: 8 bits per word
[ 100.059811] spidev spi0.0: spi_imx_setup: mode 0, 8 bpw, 500000 hz
[ 100.059864] spidev spi0.0: setup mode 0, 8 bits/w, 500000 Hz max → 0
[ 100.059898] spidev spi0.0: 500000 Hz (max)
[ 100.061475] spi_imx 2008000.spi: mx51_ecspi_clkdiv: fin: 60000000, fspi: 500000, post: 3, pre: 14
I have also opened a ticket in NXP community and haven’t got any responce. Also, I have seen other who faced the same issue post in the NXP community, with no solutions posted.