aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/l3gd20
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/
* Rework the ringbuffer class so that it's not templated, and refactor its ↵px4dev2013-09-121-5/+5
| | | | clients so they aren't dancing around the linker anymore.
* l3gd20: convert to using RingBuffer classAndrew Tridgell2013-09-121-76/+52
|
* Guard probe / reset against other SPI driversLorenz Meier2013-09-111-2/+11
|
* 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?)
* L3GD20 and LSM303D reset and range config working properly nowJulian Oes2013-08-211-47/+84
|
* Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringupLorenz Meier2013-08-201-1/+34
|\
| * Made accel / gyro self tests aware of offsets and scales, added support to ↵Lorenz Meier2013-08-091-1/+34
| | | | | | | | config command to call these
| * Merged commit disabling FIFO in L3GD20Andrew Tridgell2013-08-071-2/+7
| |
* | Added orientation support and detection to the L3GD20/H driver to support ↵Lorenz Meier2013-08-161-4/+51
| | | | | | | | the different variants in use