Hi,

I have opened a PR #1115 describing this IF change idea.

I have also included the slave controller driver code that we have been using, 
which demonstrates the usage of the interface.

I also started drafting the needed change for samv5 controller driver, but that 
part is untested.

In our case, the slave device driver just makes periodic calls to 
SPI_SCTRLR_RXQPOLL, which leads to callbacks to spi_receive, where the
device driver copies in blocks of data from the controller driver's buffers.

Regards,
Jukka

-----Original Message-----
From: David Sidrane <david.sidr...@nscdg.com> 
Sent: Friday, May 22, 2020 4:15 PM
To: dev@nuttx.apache.org
Subject: RE: SPI slave interface discussion

Hi Jukka,



Would you mind opening a Draft PR for this disscussion. (See the Drop down on 
github [Create pull request] )



David









*From:* Laitinen, Jukka [mailto:jukka.laiti...@intel.com]
*Sent:* Thursday, May 21, 2020 11:23 PM
*To:* dev@nuttx.apache.org
*Subject:* RE: SPI slave interface discussion



Looks like the patch which I tried to attach was lost on the way. Trying again 
with .txt suffix…

Reply via email to