paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] SPI and ms5534a question


From: Andrew S
Subject: [Paparazzi-devel] SPI and ms5534a question
Date: Wed, 28 Apr 2010 20:24:56 +0400

Hello all 
I am trying to use the spi. After addind followig lines (tiny2-11),

ap.CFLAGS += -DUSE_SPI -DSPI_MASTER -DUSE_SPI_SLAVE0 -DUSE_BARO_MS5534A
ap.srcs += spi.c $(SRC_ARCH)/spi_hw.c $(SRC_ARCH)/baro_MS5534A.c
ap.CFLAGS += -D BARO_MS5534A_W1=0xB636 -D BARO_MS5534A_W2=0x62DB -D 
BARO_MS5534A_W3=0x9E9C -D BARO_MS5534A_W4=0xBECB
 
I see pulses with oscilloscope, but only on SCK, and MOSI . SS shows just 3v3 
level. 
I tryed to reassign port 0.20 to another in autopilot conf, but behavoir is the 
same.
Nothing pluged to SPI, but I think SS output on master  should work in any case.
Any ideas?

Andrew




reply via email to

[Prev in Thread] Current Thread [Next in Thread]