i used spi through SDK to send data but failed if the txbuffer was set large(such as 600 bytes) and rxbuffer was set NULL. and if the txbuffer was set smaller(such as 2 bytes) ans rxbuffer was set NULL ,it's valid . here's how i tired to send it
① . failed (Txbuffer set 600 bytes ,and rxbuffer set NULL)
② . successed (Txbuffer set 2 bytes ,and rxbuffer set NULL)
③ . successed (Txbuffer set 600 bytes ,and rxbuffer set 600 Bytes)
i saw the SDK said "receiveBuffer Pointer to the buffer where the received bytes are stored. If you pass NULL
* for this parameter, the received bytes are ignored" and i don't need the rxbuffer either ,if i use step3 (③) to send ,this will take up a lot of memory .
hope to resolve this question soon .
Best wishes .