henryrov opened a new pull request, #12663:
URL: https://github.com/apache/nuttx/pull/12663

   ## Summary
   This commit implements a driver for SPI0 and SPI1 on the BL808 and 
introduces an accompanying example configuration.
   This driver is based on the existing BL602 SPI driver (with lots of changes).
   
   ## Impact
   Improved hardware support.
   
   ## Testing
   Select the new spi configuration and use spitool to test. By default, GPIO14 
is MISO, 13 is MOSI, 15 is SCLK and 12 is SS.
   I've tested both SPI0 and SPI1 in all modes with another microcontroller as 
a slave and also by connecting MOSI to MISO.
   
   A note for @lupyuen and @rushabhvg: Getting this to work required some 
changes to bl808_gpio.h that shouldn't break anything. I've verified that the 
userled driver stills works by writing to it from nsh, but I couldn't verify 
with hello_rust since I'm not set up to build it. If you feel the need to 
double check that it still works, please go ahead.


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

Reply via email to