aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/l3gd20
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Fixed startup behavior for PX4 autostartLorenz Meier2013-08-111-1/+1
| |
* | Indendation fixesLorenz Meier2013-08-051-3/+3
| |
* | l3gd20: disable the FIFOAndrew Tridgell2013-08-041-1/+5
| | | | | | | | | | | | the FIFO was not gaining us anything, and was adding latency. If we use the FIFO we'd need to do multiple SPI transfers to ensure it is drained
* | Added L3GD20 lowpassAndrew Tridgell2013-08-041-4/+31
| |
* | Restructure things so that the PX4 configs move out of the NuttX tree, and ↵px4dev2013-08-021-2/+1
| | | | | | | | | | | | most of the PX4-specific board configuration data moves out of the config and into the board driver. Rename some directories that got left behind in the great board renaming.
* | l3gd20: fixed bit definitions for filter ratesAndrew Tridgell2013-08-021-7/+8
| | | | | | | | and allow requests for the rates in table 21 of the l3gd20H datasheet
* | Changed gyro scaling according to datasheetJulian Oes2013-07-301-3/+7
| |
* | Improved commentsLorenz Meier2013-07-161-1/+1
| |
* | Default to 2000 dps for L3GD20Lorenz Meier2013-07-161-3/+3
| |
* | Added l3gd20h detectionSam Kelly2013-06-131-1/+2
|/
* Moved position_estimator_mc, px4io driver and sdlog app to new style buildLorenz Meier2013-04-271-2/+3
|