177 Commits (5f2601836524055c3eb046535d53a38b0749ca52)

Author SHA1 Message Date
Andrew Tridgell c0a46c4b93 px4io: fixed logical vs bitwise typo 12 years ago
Andrew Tridgell 5ee52138c4 px4io: ensure RC_OK status flag is set on good input 12 years ago
px4dev 6bd662cfb2 In the case of a repeated start, we won't get a STOPF/AF status, but we still need to complete the old transaction before handling ADDR. 12 years ago
px4dev 6ba4cd04fe Handle the completion of an in-progress transaction (STOPF/AF bits) before accepting the start of a new transaction (ADDR). 12 years ago
px4dev 11796e27f2 Simplify and tidy the handling of page buffer selection on the readout path. 12 years ago
px4dev 4ab490bd50 Only update the servo output values when we are armed. 12 years ago
px4dev 3a8bbe837e Allow readback of the direct PWM outputs (this mirrors the PWM servo outputs) 12 years ago
px4dev f854e2f791 Fixes from/inspired by Tridge; enable all mapped R/C inputs, fix various logic errors, be more selective about clearing the RC input type flags for debugging purposes. 12 years ago
px4dev b46d05835b Implement settable failsafe values for PWM outputs. 12 years ago
px4dev 6c75c5909e Move the DMA start to immediately after setting it up; less latency at interrupt time, and no chance of getting start/stop calls out of sync. 12 years ago
Andrew Tridgell f8bea6d07b px4io: fixed cpp error 12 years ago
Andrew Tridgell 57d028fddd px4io: fixed array reference bug 12 years ago
px4dev 82f72b96de Move DMA start for tx/rx into the gap where SCL is still stretched so that there is no risk of receiving the first byte before DMA starts. 12 years ago
px4dev b34311915a Safeguard against back-to-back transactions while setting up to handle a register read request. 12 years ago
px4dev 15c85ba2cb Strip some debugging 12 years ago
px4dev 7b367c3eb3 Beat the px4io driver into compilable shape. Just missing RC input configuration now. 12 years ago
px4dev b4dcdae03d Add support for battery current scaling. Add feedback for mixer load operations. 12 years ago
px4dev 112f5ea969 Add support for raw PWM passthrough from FMU via IO. 12 years ago
px4dev f3a587dfce Wire the I2C device code into the register handler. 12 years ago
px4dev 2686344d58 Adjust the default deadzone for RC inputs per feedback. 12 years ago
px4dev 5c60ed9a94 Fix up FMU input timeout handling. 12 years ago
px4dev 2311e03379 Start reworking the px4io driver to use the I2C interface instead. 12 years ago
px4dev 4e38615595 Major workover of the PX4IO firmware for I2C operation. 12 years ago
px4dev 8ebe21b27b Checkpoint - I2C protocol register decode 12 years ago
px4dev b0fb86a693 Sketch out the protocol as it will be on top of I2C 12 years ago
px4dev 1cecba2a86 Turn off i2c slave debug output for real. 12 years ago
px4dev 5e35491a38 We can't have DMA on both I2C1 and USART2. Since we need it more for I2C, and since USART2 is going back to being ignored once I2C works, let's make the call. 12 years ago
px4dev 97136375e3 Turn off the I2C register dump at startup. 12 years ago
px4dev 4f285f7c80 Configure the DMA channels in circular mode so that we don't have to deal with the case where DMA stops but the master is still talking. 12 years ago
px4dev 3cea0959b7 Implement a simple byte loopback server on I2C for more testing. 12 years ago
px4dev 2fb820fabd I2C slave RX DMA works. 12 years ago
px4dev 0dab53ae26 Implement I2C slave DMA. Not working yet. 12 years ago
px4dev 7c2445f74d Don't waste time printing when we have errors - that causes the master to time out 12 years ago
px4dev 811790a14f Checkpoint I2C slave work on IO 12 years ago
Lorenz Meier cf563eda86 px4io code style 12 years ago
Lorenz Meier 65c8028629 Working on override channel mapping, allowed trim cal only with RC on 12 years ago
Lorenz Meier 0945a2cc2f Fixed RC mapping transmission, tested. Fixed RC scaling in manual mode 12 years ago
Lorenz Meier e2317edde8 Code style fix 12 years ago
Lorenz Meier a9e87c791d Fixed header for sbus input 12 years ago
Simon Wilks 7842caf3b2 Moved the channel mappings and attributes to the config section 12 years ago
Lorenz Meier 83039e76d3 Reverted unwanted S.Bus changes 12 years ago
Simon Wilks 0a89ab7075 Send rc channel ordering and channel attributes from FMU to IO 12 years ago
Simon Wilks 1b81724ef7 Manually remap the channel assignements for testing. 12 years ago
px4dev d93fda20fd Add ADC measurements and reporting to PX4IO, including calibration for the battery input. 12 years ago
px4dev 9be1f99935 Add trivial ADC support to PX4IO. 12 years ago
Julian Oes 8d1b1354e1 A wrong parameter name in commander was responsible for manual override always ok 12 years ago
Lorenz Meier 0cc723dbc3 Fixed connection loss / failsafe detection, added decoding of two switch channels if IO supports 18 RC channels. Loss is tested, switch channels are not. 12 years ago
px4dev f2d4eb2887 Revert "Removed text reuse, causing crash with stack trace" 12 years ago
Lorenz Meier 668d1b3301 Removed text reuse, causing crash with stack trace 12 years ago
Lorenz Meier 234af06571 Fixed merge error 12 years ago