You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/06/07 18:41:00 UTC

[GitHub] [incubator-nuttx] jlaitine commented on pull request #3787: drivers/spi: Add SPI Slave character device driver

jlaitine commented on pull request #3787:
URL: https://github.com/apache/incubator-nuttx/pull/3787#issuecomment-856171541


   Hi!
   
   That slave works only as a receiver, and unfortunately I don't currently have any stm32h7 hw to actually test it on. So I don't think that I will continue on that for now. As a receiver only, it should work pretty much out-of-the-box also with this upper half. 
   
   The hw setup which I used was such that there were two stm chips, both having master and slave spi busses in simplex mode. So both were sending to the other one as master and receiving as slave (two chip selects, two clock lines and mosi/miso lines crossed). The slave controller was not limited to simplex mode though, it is just that I didn't implement slave writing (full duplex). 
   
   It is actually pretty cool setup, since both devices can initiate sending whenever they need, and the other one can just poll on the IF on regular basis to check if anything has arrived to the DMA buffer.
   
   
   
   
   Alan Carvalho de Assis kirjoitti torstai 27. toukokuuta 2021:
   > Thank you @jlaitine ! If you have the chance, please create glue for your stm32h7 SPI SLAVE to use this upper half.
   > 
   > -- 
   > You are receiving this because you were mentioned.
   > Reply to this email directly or view it on GitHub:
   > https://github.com/apache/incubator-nuttx/pull/3787#issuecomment-84971791


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org