eren-terzioglu opened a new pull request, #11138:
URL: https://github.com/apache/nuttx/pull/11138

   ## Summary
   xtensa/esp32s2: Add SPI slave support
   xtensa/esp32s2: Add SPI config
   
   ## Impact
   Only ESP32S2
   
   ## Testing
   2 ESP devices connected to each other (GPIO10 - GPIO10, GPIO11 - GPIO11, 
GPIO12 - GPIO12, GPIO13 - GPIO13, GPIO2 - GPIO2). One of them (any esp device) 
run `spi` example as master device, other device (esp32s2 is mandatory) run a 
custom spi slave app. During spi slave app build, esp32s2-saola-1:nsh config 
used with System Type → ESP32-S2 Peripheral Selection -> SPI 2, System Type → 
SPI configuration -> SPI2 Slave mode, Device Drivers → SPI Driver Support -> 
SPI Slave and Device Drivers → SPI Driver Support -> SPI Slave character driver 
options enabled. Master device run spi exch -b 2 "AB" command and output should 
be like this:
   
   ```
   nsh> spi exch -b 2 "AB"
   Sending:     AB 
   Received:    AB 
   ```
   
   Also output tested with a logic analyzer.


-- 
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: commits-unsubscr...@nuttx.apache.org

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

Reply via email to