After configuring Jetson Nano to act as a slave, I’m facing a problem now that Jetson is losing the moment when the master starts writing data. And it happens too frequently for big chunks of data (~500 bytes), like more than half is lost. For my use case, I need to reliably transfer 12MBits/s continuously.
My current plan is to (1) increase spi-max-frequency to allow me to test it with 30Mhz SPI clock and (2) to use gpio-slave-ready pin to let the master know when it can start to transfer.
If there is anything else I could try to do in order to achieve the goal of continuous transfer at 12mbps data rate please let me know. Maybe I should consider increasing the buffer size? What can be reasonable for Jetson? 4096? More? Or patch the driver for my particular use case? Using dual/quad SPI? If so, is there any documentation how to properly set it up on Jetson? Or maybe it’s possible to configure the SPI driver to run with higher priority?