Closed
Description
The SPIdev driver just works with transfer length limited to 511 byte. If you want to transfer more than 512 byte per transfer the driver sends nothing and returned without any error response.
In header file spidev.h the define:
define SPI_IOC_MESSAGE(N) _IOW(SPI_IOC_MAGIC, 0, char[SPI_MSGSIZE(N)])
has just a "char" variable for the message size.
Please change them to a size_t varialbe (unsigned int) like it's handled in the spidev.c
I'm new to linux and raspberry and hope this would be fixed.
Metadata
Metadata
Assignees
Labels
No labels