aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/i2c.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved all drivers to new world, PX4IO completely in new worldLorenz Meier2013-04-281-340/+0
|
* Merged debug level commits from TridgeAndrew Tridgell2013-02-141-7/+34
|
* Fixed mixer transmission between FMU and IOLorenz Meier2013-02-121-1/+1
|
* Fix a misleading comment.px4dev2013-02-091-1/+1
|
* In the case of a repeated start, we won't get a STOPF/AF status, but we ↵px4dev2013-01-261-2/+2
| | | | still need to complete the old transaction before handling ADDR.
* Handle the completion of an in-progress transaction (STOPF/AF bits) before ↵px4dev2013-01-261-21/+24
| | | | accepting the start of a new transaction (ADDR).
* Implement settable failsafe values for PWM outputs.px4dev2013-01-251-1/+1
| | | | By default in failsafe mode, PWM output pulses are not generated.
* Move the DMA start to immediately after setting it up; less latency at ↵px4dev2013-01-251-3/+4
| | | | interrupt time, and no chance of getting start/stop calls out of sync.
* Move DMA start for tx/rx into the gap where SCL is still stretched so that ↵px4dev2013-01-251-2/+3
| | | | there is no risk of receiving the first byte before DMA starts.
* Safeguard against back-to-back transactions while setting up to handle a ↵px4dev2013-01-231-0/+9
| | | | register read request.
* Wire the I2C device code into the register handler.px4dev2013-01-151-11/+36
|
* Major workover of the PX4IO firmware for I2C operation.px4dev2013-01-131-1/+0
|
* Turn off i2c slave debug output for real.px4dev2013-01-131-1/+1
|
* Turn off the I2C register dump at startup.px4dev2013-01-131-2/+6
|
* Configure the DMA channels in circular mode so that we don't have to deal ↵px4dev2013-01-131-18/+43
| | | | | | with the case where DMA stops but the master is still talking. Use AF as well as STOPF to decide when transfer has ended. We don't seem to get STOPF when we are transmitting.
* Implement a simple byte loopback server on I2C for more testing.px4dev2013-01-131-5/+4
|
* I2C slave RX DMA works.px4dev2013-01-131-50/+34
|
* Implement I2C slave DMA. Not working yet.px4dev2013-01-131-14/+118
|
* Don't waste time printing when we have errors - that causes the master to ↵px4dev2013-01-131-2/+2
| | | | time out
* Checkpoint I2C slave work on IOpx4dev2013-01-131-0/+159