aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/l3gd20
Commit message (Collapse)AuthorAgeFilesLines
* L3GD20(H): driver: Rotate before applying offsets.Lorenz Meier2015-03-151-6/+10
|
* L3GD20: Return argument in correct formatLorenz Meier2015-02-151-1/+1
|
* l3gd20: checking status only makes sense if we have DRDYAndrew Tridgell2015-02-111-1/+1
| | | | it makes no sense on the external SPI bus
* l3gd20: fixed "l3gd20 test"Andrew Tridgell2015-02-111-2/+3
| | | | don't reset after test, and leave us in correct polling mode
* L3GD20: Move to 0 based indexLorenz Meier2015-02-091-2/+2
|
* l3gd20: fix if styleThomas Gubler2015-02-031-1/+2
|
* l3gd20: check for default sample rateThomas Gubler2015-02-031-1/+1
|
* Save and check device id for acc and gyro calibration parameters.config_all_deviceshauptmech2015-01-311-7/+9
| | | | | | | | Fix config utility to work with all devices of each type. Accel, gyro and mag devices correctly set their device_id devtype. Combo devices (mpu6000 lsm303d) now correctly return their devtype. config util shows device id for all sensor types. Add, save during calibration and check during preflight ID parameters for accelerometer and gyro
* Move all drivers to multi pub/sub APILorenz Meier2015-01-291-20/+20
|
* l3gd20: fixed build warningAndrew Tridgell2015-01-011-0/+1
|
* l3gd20: fixed reporting of error countAndrew Tridgell2015-01-011-1/+1
|
* l3gd20: check DRDY after check_registers() is calledAndrew Tridgell2015-01-011-11/+12
| | | | this allows us to recover from an error that disables data ready
* l3gd20: removed printf in interrupt contextAndrew Tridgell2015-01-011-8/+0
| | | | this is not safe
* l3gd20: added testerror commandAndrew Tridgell2015-01-011-2/+33
| | | | useful for testing error handling
* l3gd20: use the I2C disable bit on l3gd20HAndrew Tridgell2014-12-301-2/+9
| | | | | this seems to prevent a mpu6000 reset from causing an issue on the l3gd20H
* l3gd20: added "l3gd20 regdump" commandAndrew Tridgell2014-12-301-2/+41
|
* l3gd20: added register checkingAndrew Tridgell2014-12-301-24/+122
| | | | this checks at runtime that key registers have correct values
* Sensor drivers: Optimize for sizeLorenz Meier2014-11-151-0/+2
|
* L3GD20: Fix typoLorenz Meier2014-11-031-2/+2
|
* L3GD20: Output gyro temperature in reportLorenz Meier2014-11-031-1/+8
|
* Merge sensor_startup_cleanupLorenz Meier2014-07-162-0/+13
|\
| * L3GD20: Ensure init and constructorsLorenz Meier2014-07-162-0/+8
| |
| * L3GD20 driver: stack size adjustments of start handler and start return ↵Lorenz Meier2014-07-162-0/+5
| | | | | | | | review / comments
* | L3GD20: Support for up to three gyrosLorenz Meier2014-07-151-15/+18
| |
* | Merged masterLorenz Meier2014-07-151-12/+58
|\|
| * L3GD20: Fix usage function call to fit existing structure.Lorenz Meier2014-07-081-6/+6
| |
| * l3gd20: fixed a build warningAndrew Tridgell2014-07-081-0/+1
| |
| * Merged L3GD20 orientation flag while keeping original bus speedAndrew Tridgell2014-07-081-9/+20
| |
| * l3gd20: added -X switch for external busAndrew Tridgell2014-07-081-8/+42
| |
* | L3GD20: Add support for multi uORB topicsLorenz Meier2014-06-101-10/+20
|/
* [l3gd20] Make gyro orientation board-overridableAsh Charles2014-05-141-16/+8
| | | | | | | | | | As discussed [1], provide a default SENSOR_BOARD_ROTATION (270 degrees as this seems most common) and let boards override it as necessary. [1] https://github.com/gumstix/m4-firmware/commit/7d0850a710b3ac9e9e165beb36389577d0e5adcb#commitcomment-6315550 Signed-off-by: Ash Charles <ashcharles@gmail.com>
* [l3gd20] Style fixes for l3g4200d integrationAsh Charles2014-05-131-22/+10
| | | | | | | | | | | As requested here [1], this fixes some of the style errors introduced with the addition of l3g4200d support to the l3gd20 driver. Gyro orientation is set conditionally for the aerocore board. [1] https://github.com/PX4/Firmware/pull/937 Signed-off-by: Ash Charles <ashcharles@gmail.com>
* [l3gd20] Add support for L3G4200D chipAsh Charles2014-05-131-10/+50
| | | | | | | | | | | | | | | The L3G4200D chip is very similar to the L3GD20[H] parts and can use the same driver with minor adjustments. There are four differences: * WHO_AM_I register is 0xD3 (not 0xD4 or 0xD7): - added an extra case to the driver probe * Sampling rates are marginally different: - setting sampling rate now depends on the detected chip * I2C address range is different: - no changes as the driver doesn't support i2c access * the L3G4200D has a self-test function: - no changes---chose not to implement feature in driver 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-12/+18
| | | | but not advertise! All advertisements now contain valid data
* Support for publication blocking: L3GD20(H)Lorenz Meier2014-01-121-9/+14
|
* 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
* l3gd20: print more perf counters and make DRDY usage clearerAndrew Tridgell2013-12-131-2/+10
|
* l3gd20: fixed a warningAndrew Tridgell2013-12-131-1/+1
|
* l3gd20: added rescheduling and error checkingAndrew Tridgell2013-12-101-1/+28
|
* l3gd20: close fds before exitAndrew Tridgell2013-12-101-0/+6
|
* l3gd20: use register_class_devname()Andrew Tridgell2013-12-101-17/+20
|
* Merge branch 'redundant_sensors' of github.com:PX4/FirmwareLorenz Meier2013-12-101-0/+7
|\
| * Made all usual suspects default to their custom names and only register the ↵Lorenz Meier2013-12-071-0/+7
| | | | | | | | default name if its not already taken by someone else
* | l3gd20: added retries to disable_i2c()Andrew Tridgell2013-12-101-2/+10
| |
* | lsm303d/l3gd20: change filters to 50Hz analog on-chip filtersAndrew Tridgell2013-12-101-3/+8
|/ | | | | after discussion with Leonard these analog on-chip filters should be at 50Hz
* l3gd20: use highest possible on-chip filter bandwidthAndrew Tridgell2013-12-041-6/+8
| | | | this allows the software filter to do its job properly
* l3gd20: added I2C disable based on method from ST engineering supportAndrew Tridgell2013-11-301-0/+17
|
* Merged status changesLorenz Meier2013-10-061-0/+1
|\
| * drivers: report error_count in drivers where possibleAndrew Tridgell2013-09-121-0/+1
| |
* | Use the generic device::SPI locking strategy.px4dev2013-09-121-3/+0
|/