v01d opened a new pull request #2270:
URL: https://github.com/apache/incubator-nuttx/pull/2270


   ## Summary
   
   This PR does:
   * A rework of #2189 which left SPI non-functional (thus the revert of that 
commit), including the same feature of not having to define MISO/MOSI but with 
a couple of required fixes found when inspecting the issue
   * Support for sending more than 256 bytes of data by using DMA list feature 
which basically makes the SPI peripheral auto-increment the DMA pointer after 
each transfer. This means arbitrarily long transfers can be done in one go
   * Support power management operations: disable SPI peripheral and re-enable 
when going into/coming back from SLEEP/STANDBY
     * There is an errata (89) of nRF52 (which applies to all chip revisions) 
which adds 400uA static current consumption when using SPIM and GPIOTE (which 
is actually needed due to another workaround for SPI but can be active if used 
to process pin interrupts). To reduce impact of this problem, power managment 
can now be used to disable SPI when going to sleep. The workaround for errata 
89 is to put the SPIM peripheral into a specific state once it is disabled and 
is thus done here.
   
   ## Impact
   
   As above, various fixes and improvements.
   
   ## Testing
   
   Monitored correct state change in and out of sleep and SPI functions 
correctly.
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to