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


   ## Summary
   Adds an option to use native SPI chip selects instead of the software 
implementation using GPIO (which is more or less the standard in NuttX). This 
is specifically for the LPSPI peripherals on S32K1XX. With 
CONFIG_S32K1XX_LPSPI_HWPCS enabled, it is no longer needed to have 
board-specific logic for SPI chip selects. There is now a generic 
implementation of the s32k1xx_lpspiNselect functions that only allows switching 
between devices, but leaves control of the chip selects pins to the LPSPI 
peripheral.
   
   ## Impact
   Specific for S32K1xx arch. It is disabled by default, so it does not affect 
existing configurations.
   
   ## Testing
   Tested with RDDRONE-BMS772 board (configuration is not available yet in 
upstream NuttX), which has similarities with the S32K144EVB and contains an 
System Basis Chip and a Battery Cell Controller that are both accessible over 
SPI.
   


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