Hello Digi users,
I has a question over the function “NASpiReadWrite. How long is the variable bufferLength (max)?

It appears to just use the buffer you pass it, the max length of a signed int is 2147483648, so I guess this would be your theoretical limit. See the actual source code in /src/bsp/devices/common/spimaster/spi_master.c