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

   ## Summary
   This commit adds `SPI_SETDELAY` interface if `CONFIG_SPI_DELAY_CONTROL` 
option is set. This allows to set custom delay between SPI transfers, chip 
selects and so on.
   
   Default values are set to 0. W25 SPI NOR flash works with them and I haven't 
found any other values in the datasheet.
   
   ## Impact
   
   None on current implementation unless `CONFIG_SPI_DELAY_CONTROL` is set. 
Implementation with the option enabled will
   set delays to zero if target platform supports the interface.
   
   ## Testing
   
   Tested on a custom SAMv7 board. Flash had SmartFS partition and three 
partitions for NXboot. The update and confirmation process was significantly 
slower because of default large delay between consecutive transfers. The speed 
is as expected with the delays set to zero.


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