Forums - configure SPI mode in ADSP , flight contoller add on

4 posts / 0 new
Last post
configure SPI mode in ADSP , flight contoller add on
XSY
Join Date: 18 Jan 16
Posts: 3
Posted: Mon, 2016-02-15 02:25

hi team,

There is a customer, using flight controller add on. They have a SPI device which need change the SPI to set as CPOL low
CPHA low.( default both are high).

I have a check on our code and didn't found how to change it. could you hlep point out how to do this?

  • Up0
  • Down0
antonl
Join Date: 5 Dec 15
Posts: 42
Posted: Thu, 2016-04-14 10:21
  • Up0
  • Down0
netstv
Join Date: 18 May 16
Posts: 6
Posted: Wed, 2016-05-25 16:14

Hi XSY and antonl,

 

I am trying to do the same thing.  However, when I use the dspal_tester code (pointed to in the link), I get the following:

[08500/02]  20:13.110  HAP:32831:error: unknown serial IOCTL requested.  0707  spi.c
[08500/02]  20:13.110  HAP:32831:error: unable to set bus mode  0169  spi_test_imp.c

 

What am I missing?
 
Thanks.
-stv
  • Up0
  • Down0
antonl
Join Date: 5 Dec 15
Posts: 42
Posted: Mon, 2016-06-27 04:16

Sorry, it took me a while to test whether I have the same issue. Unfortunately, I have. I guess we're missing a newer version of the adsp firmware. If I'll find a solution, I'll post it here.

  • Up0
  • Down0
or Register

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.