aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/lsm303d
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* Merged status changesLorenz Meier2013-10-061-0/+1
|\
| * drivers: report error_count in drivers where possibleAndrew Tridgell2013-09-121-0/+1
| |
* | Minor cleanups in the driversLorenz Meier2013-09-131-1/+0
| |
* | Merge remote-tracking branch 'origin/spi-device-locking' into fat-dma-spiLorenz Meier2013-09-131-4/+0
|\ \
| * | Use the generic device::SPI locking strategy.px4dev2013-09-121-5/+0
| |/
* / Move IRQ restore to right positionLorenz Meier2013-09-131-1/+2
|/
* Rework the ringbuffer class so that it's not templated, and refactor its ↵px4dev2013-09-121-48/+37
| | | | clients so they aren't dancing around the linker anymore.
* lsm303d: convert to using RingBufferAndrew Tridgell2013-09-121-130/+86
|
* Guard probe / reset against other SPI driversLorenz Meier2013-09-111-4/+15
|
* avoid counters going above limit in INCREMENT()Andrew Tridgell2013-08-281-1/+1
| | | | | | | when using INCREMENT() the counter would temporarily read equal to limit, which could cause an issue if the task is preempted. (this macro should be in a common header, though which header?)
* Moved math library to library dir, improved sensor-level HIL, cleaned up geo ↵Lorenz Meier2013-08-211-8/+9
| | | | / conversion libs
* L3GD20 and LSM303D reset and range config working properly nowJulian Oes2013-08-211-40/+52
|
* Changed range handling of LSM303D once again, added defines for default valuesJulian Oes2013-08-211-24/+39
|
* Don't store m/s^2 and G at the same timeJulian Oes2013-08-211-4/+1
|
* Improved LSM303D driver, plus some fixes to the HMC5883Julian Oes2013-08-201-203/+279
|
* Add ioctl to find out if mag is external or onboardJulian Oes2013-08-181-3/+12
|
* Fixed startup behavior for PX4 autostartLorenz Meier2013-08-111-1/+1
|
* Indendation fixesLorenz Meier2013-08-051-7/+7
|