Forums - SPI Slave Select control in Master mode for QCA4020 ?

1 post / 0 new
SPI Slave Select control in Master mode for QCA4020 ?
Join Date: 3 Aug 20
Posts: 14
Posted: Fri, 2021-06-18 05:53

Hello .

I am working with QCA4020 and using SPI in master mode for communication, my requirement is to sent multiple byte vai SPI to slave device with chip select (GPIO 24) in LOW state. 

On calling qapi_SPIM_Full_Duplex(...,...,...); function, slave select drives in low state, but at the last bit transfer it is set to HIGH state. 

How can i keep slave select in LOW state for desire time frame.  ( Note : It is not possible to send all the bytes back to back in single call, need to get ack and transfer remaining after that )

 Also can not configure GPIO 24 as GPIO output while using SPI in master mode.

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.