Driver doesn't support 0-length transfers to control CS line
Opened this issue · 2 comments
jp-bennett commented
Edit: this is using the device as SPI.
We use a 0-length ioctl transfer to control the CS:
xfer.tx_buf = NULL;
xfer.len = 0;
xfer.rx_buf = NULL
xfer.cs_change = true; //(or false)
This is returning a 110 timeout error. Instead, it should either enable or disable the CS line.
frank-zago commented
A different driver for SPI only has been merged in the kernel 6.11 (spi-ch341.ko). Maybe this one will work.
jp-bennett commented
A different driver for SPI only has been merged in the kernel 6.11 (spi-ch341.ko). Maybe this one will work.
Exciting that a driver has made the kernel. The only downside is it doesn't expose the other pins as GPIO. Thanks for the info!