aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/lsm303d
Commit message (Collapse)AuthorAgeFilesLines
* lsm303d: detect large fixed values and report an errorAndrew Tridgell2015-01-021-5/+44
| | | | | | we have logs where the lsm303d gets large fixed values for long periods. This will detect that error case and raise error_count so the higher level sensor integration code can choose another sensor
* lsm303d: fixed build warningAndrew Tridgell2015-01-011-0/+1
|
* lsm303d: show all perf counters in "info"Andrew Tridgell2015-01-011-0/+2
|
* lsm303d: check DRDY after check_registers()Andrew Tridgell2015-01-011-13/+14
| | | | this allows recovery from a state where DRDY is not set
* lsm303d: removed unsafe printf in interrupt contextAndrew Tridgell2015-01-011-8/+0
|
* lsm303d: added two more checked registersAndrew Tridgell2015-01-011-3/+5
| | | | these are key for DRDY behaviour
* l3m303d: added testerror commandAndrew Tridgell2015-01-011-2/+34
| | | | useful for testing error handling
* lsm303d: replace old register checking with new check_registers() methodAndrew Tridgell2014-12-301-222/+125
| | | | | | | | this uses the same method as is now used in the MPU6000 to check that the sensor retains its correct values Conflicts: src/drivers/lsm303d/lsm303d.cpp
* Sensor drivers: Optimize for sizeLorenz Meier2014-11-151-0/+2
|
* lsm303d: don't use DRDY when not on internal SPI busAndrew Tridgell2014-10-081-2/+4
| | | | | | | external SPI bus does not have accel DRDY connected Conflicts: mavlink/include/mavlink/v1.0
* Merge sensor_startup_cleanupLorenz Meier2014-07-162-0/+18
|\
| * LSM303D: Ensure init and constructorsLorenz Meier2014-07-162-0/+15
| |
| * LSM303D: start handler fix and start routine reviewLorenz Meier2014-07-162-1/+4
| |
* | LSM303D: Support for tertiary sensorsLorenz Meier2014-07-151-24/+23
| |
* | Merged masterLorenz Meier2014-07-151-15/+71
|\|
| * lsm303d: setup device typeAndrew Tridgell2014-07-121-0/+2
| |
| * LSM303: Fix usage function call to fit existing structure.Lorenz Meier2014-07-081-5/+6
| |
| * LSM303D: deal with missing external busLorenz Meier2014-07-081-0/+5
| |
| * Merged lsm303d update, keeping default frequencyAndrew Tridgell2014-07-081-10/+23
| |
| * lsm303d: added -X option for external busAndrew Tridgell2014-07-081-11/+40
| |
| * lsm303d: disable check_extremes codeAndrew Tridgell2014-07-081-0/+6
| | | | | | | | | | this could trigger with a bungee launch, and could cause higher latency due to SD card writes
* | LSM303D: Add support for multi-uORB devicesLorenz Meier2014-06-101-23/+50
|/
* Magnetometer data is not updateLiio Chen2014-05-291-1/+1
| | | | | Magnetometer is not updated during a read operation, because the function "lsm303d_mag::measure" is not called. ”!!!JUST A GUESS!!!“
* Add Gumstix AeroCore deviceAsh Charles2014-05-131-1/+1
| | | | | | | | | | | Based on the work of Andrew Smith [1], add board configuration and device drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2. [1] https://github.com/smithandrewc/Firmware [2] https://store.gumstix.com/index.php/products/585/ Signed-off-by: Ash Charles <ashcharles@gmail.com>
* Fixed up init sequence of all sensors - we can publish in interrupt context, ↵Lorenz Meier2014-01-141-24/+37
| | | | but not advertise! All advertisements now contain valid data
* Support for publication blocking: LSM303D, cleaned up device startLorenz Meier2014-01-121-30/+34
|
* Cranking up bus speeds for all sensors to achievable 10.4 MHz, will cut the ↵Lorenz Meier2013-12-151-1/+1
| | | | bus lock time to half
* lsm303d: close fds before exitAndrew Tridgell2013-12-101-0/+9
|
* lsm303d: use register_class_devname()Andrew Tridgell2013-12-101-59/+62
|
* lsm303d: dump I2C control registers in regdumpAndrew Tridgell2013-12-101-0/+2
|
* Add also default descriptor for alternate sensorsLorenz Meier2013-12-101-1/+21
|
* Made all usual suspects default to their custom names and only register the ↵Lorenz Meier2013-12-101-9/+24
| | | | default name if its not already taken by someone else
* lsm303d: use DRDY pins to automatically reschedule measurementsAndrew Tridgell2013-12-101-0/+12
| | | | | this prevents double reads of sensor data, and missing samples from the accel
* lsm303d/l3gd20: change filters to 50Hz analog on-chip filtersAndrew Tridgell2013-12-101-1/+6
| | | | | after discussion with Leonard these analog on-chip filters should be at 50Hz
* lsm303d: init filter to 773 HzAndrew Tridgell2013-12-101-1/+1
|
* lsm303d: changed tones for accel fail to 3 tonesAndrew Tridgell2013-12-101-6/+18
| | | | distinct tones for init fail, post-boot fail and recovery
* lsm303d: make log distinctive with i2c disable includedAndrew Tridgell2013-12-101-1/+1
|
* lsm303d: cleanup logic traces by pre-zeroing all transfersAndrew Tridgell2013-12-101-0/+2
|
* lsm303d: get cleaner logic traces by gathering all regs more regularlyAndrew Tridgell2013-12-101-23/+19
|
* lsm303d: added I2C disable based on method from ST engineering supportAndrew Tridgell2013-12-101-0/+21
|
* lsm303d: zero-fill register readsAndrew Tridgell2013-12-101-0/+1
|
* lsm303d: show regs at both high and low bus speed on errorAndrew Tridgell2013-12-101-1/+10
|
* lsm303d: always log first ARB and REG valuesAndrew Tridgell2013-12-101-2/+4
|
* lsm303d: log mag regs tooAndrew Tridgell2013-12-101-2/+4
|
* lsm303d: fixed TEMP_H register defineAndrew Tridgell2013-12-101-1/+1
|
* lsm303d: added detailed logging of accels on extremesAndrew Tridgell2013-12-101-2/+163
| | | | | this will log accel values and registers to /fs/microsd/lsm303d.log if any extreme values are seen
* lsm303d: print more registers in "lsm303d regdump"Andrew Tridgell2013-12-101-11/+44
|
* lsm303d: define some more register addressesAndrew Tridgell2013-12-101-13/+38
|
* lsm303d: added 'lsm303d regdump' commandAndrew Tridgell2013-12-101-1/+52
| | | | useful for diagnosing issues
* lsm303d: try to reset the lsm303d if it goes bad in flightAndrew Tridgell2013-10-281-3/+29
| | | | this is based on earlier work by Julian Oes