Commit Graph
11 Commits
Author SHA1 Message Date
Lorenz Meier f4ac204f46 Cranking up bus speeds for all sensors to achievable 10.4 MHz, will cut the bus lock time to half 2013-12-15 18:32:46 +01:00
Andrew Tridgell 8744aa7536 ms5611: check for all zero in the prom
when SPI CLK fails we get all zero data
2013-12-10 11:39:28 +01:00
Andrew Tridgell b0bb5a3450 ms5611: change bus speed to 5MHz
this gives 5MHz SPI bus speed (by asking for 6MHz due to timer
granularity).

Tests with a logic analyser show that the ms5611 is actually more
reliable at 5MHz than lower speeds
2013-12-10 11:01:53 +01:00
Andrew Tridgell a52e70ca93 ms5611: removed unused variable 2013-12-10 11:01:33 +01:00
Andrew Tridgell 3f0f34a4c7 ms5611: give cleaner SPI traces
this makes logic traces cleaner by zeroing extra bytes written
2013-12-10 11:01:20 +01:00
px4dev 19fdaf2009 Use the generic device::SPI locking strategy. 2013-09-12 23:56:53 -07:00
Lorenz Meier 5e6d3604a3 Made MS5611 startup exclusive as well 2013-09-11 22:46:00 +02:00
Julian Oes 58a4c5d544 Added missing include for MS5611 2013-08-05 16:32:59 +02:00
px4dev 31ded04c80 Disable interrupts during ms5611 SPI transactions to prevent interruption by sensor drivers polling other sensors from interrupt context. 2013-07-20 19:09:59 -07:00
px4dev 6cf1208312 Don't build interface drivers we don't have configs for. Make the interface drivers build.
Change the way we handle the prom buffer so that we can init the interface before constructing the driver.
2013-07-14 12:42:51 -07:00
px4dev 5350c2be09 Refactor MS5611 driver to use interface nubs for the I2C and SPI versions of the chip. This reduces the amount of duplicated code. 2013-07-14 11:45:21 -07:00