FelipeMdeO commented on issue #13855: URL: https://github.com/apache/nuttx/issues/13855#issuecomment-2450444453
Hello @tmedicci , **I still couldn't get it: what is the behavior of the slave device if you call write on the SPI slave peripheral? (without any workarounds in the lower-half).** When I call "write", slave will send nbytes requested in write command and fill other bytes with trash (consider master sending 10 bytes and nbytes = 5 ). **For instance, example writes back the read content. If you modify it to write any other data, does the tx_buffer behave as expected?** The result only is the expected if slave always write exactly number of bytes than master. With master write 10 bytes and slave write 5, master will receive 5 "true" bytes and 5 "echoed" bytes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
