[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] 9a4cd5: [spi][stm32] updated h
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] 9a4cd5: [spi][stm32] updated handling of different transac... |
Date: |
Sat, 02 Mar 2013 05:18:29 -0800 |
Branch: refs/heads/fix_stm32_spi
Home: https://github.com/paparazzi/paparazzi
Commit: 9a4cd531a8eb99198f0a5a921545d3c39b8ab8dd
https://github.com/paparazzi/paparazzi/commit/9a4cd531a8eb99198f0a5a921545d3c39b8ab8dd
Author: Stephen Dwyer <address@hidden>
Date: 2013-03-01 (Fri, 01 Mar 2013)
Changed paths:
M sw/airborne/arch/stm32/mcu_periph/spi_arch.c
M sw/airborne/mcu_periph/spi.h
Log Message:
-----------
[spi][stm32] updated handling of different transaction lengths
- now tx buffer sizes are independent of rx buffer sizes
- uses a second dummy dma transmit transfer triggered of the
first transmit dma ISR when 0 < tx_len < rx_len
Commit: 1a4ba9690d9a7643f53bbbf813ca0a977a23858f
https://github.com/paparazzi/paparazzi/commit/1a4ba9690d9a7643f53bbbf813ca0a977a23858f
Author: Stephen Dwyer <address@hidden>
Date: 2013-03-01 (Fri, 01 Mar 2013)
Changed paths:
M sw/airborne/arch/stm32/mcu_periph/spi_arch.c
Log Message:
-----------
[spi][stm32] Added second dummy buffer dma handling for rx too
- handled in the same way as tx
- simplifies completion interrupt timing, clearing registers and
running callback and deselecting slave at the right time,
AFTER the last byte is fully transmitted.
- Also updated comments.
Commit: 594183f987b302ea5dcce8bef962ea939bd16a7e
https://github.com/paparazzi/paparazzi/commit/594183f987b302ea5dcce8bef962ea939bd16a7e
Author: Felix Ruess <address@hidden>
Date: 2013-03-01 (Fri, 01 Mar 2013)
Changed paths:
M sw/airborne/arch/stm32/mcu_periph/spi_arch.c
Log Message:
-----------
[stm32][spi] refactor: spi_next_transaction function
Commit: 761bd03aaa5d6e212e854b8400bc0e9515799f1e
https://github.com/paparazzi/paparazzi/commit/761bd03aaa5d6e212e854b8400bc0e9515799f1e
Author: Felix Ruess <address@hidden>
Date: 2013-03-01 (Fri, 01 Mar 2013)
Changed paths:
M sw/airborne/arch/stm32/mcu_periph/spi_arch.c
Log Message:
-----------
[stm32][spi] refactor: spi_configure_dma function
Commit: e5cfe24255611c1fe3bfc0776cbf334c3b24c73a
https://github.com/paparazzi/paparazzi/commit/e5cfe24255611c1fe3bfc0776cbf334c3b24c73a
Author: Felix Ruess <address@hidden>
Date: 2013-03-01 (Fri, 01 Mar 2013)
Changed paths:
M sw/airborne/arch/stm32/mcu_periph/spi_arch.c
Log Message:
-----------
[stm32][spi] style
Commit: bb7a04fede16fd488ee8d78906a179b45dceec0d
https://github.com/paparazzi/paparazzi/commit/bb7a04fede16fd488ee8d78906a179b45dceec0d
Author: Felix Ruess <address@hidden>
Date: 2013-03-01 (Fri, 01 Mar 2013)
Changed paths:
M sw/airborne/arch/stm32/mcu_periph/spi_arch.c
Log Message:
-----------
[stm32][spi] removed other_dma_finished, always run rx dma till the end of
transaction
Commit: ab783897da5ef2547282f90f093c03bedb8b129b
https://github.com/paparazzi/paparazzi/commit/ab783897da5ef2547282f90f093c03bedb8b129b
Author: Felix Ruess <address@hidden>
Date: 2013-03-01 (Fri, 01 Mar 2013)
Changed paths:
M sw/airborne/arch/stm32/mcu_periph/spi_arch.c
Log Message:
-----------
[stm32][spi] rename x_use_dummy_dma to x_extra_dummy_dma
Commit: 3ecd088f344f8a8f41cb246e852838cdf000610c
https://github.com/paparazzi/paparazzi/commit/3ecd088f344f8a8f41cb246e852838cdf000610c
Author: Felix Ruess <address@hidden>
Date: 2013-03-01 (Fri, 01 Mar 2013)
Changed paths:
M sw/airborne/lisa/test/lisa_test_adxl345_dma.c
M sw/airborne/peripherals/adxl345.h
M sw/airborne/peripherals/adxl345_i2c.c
M sw/airborne/peripherals/adxl345_spi.c
Log Message:
-----------
[peripherals] adxl345: enable measurement mode AFTER other configuration is
done
Commit: 0ce07331ea7edebdd549ffd76e0f3931a42f6641
https://github.com/paparazzi/paparazzi/commit/0ce07331ea7edebdd549ffd76e0f3931a42f6641
Author: Felix Ruess <address@hidden>
Date: 2013-03-01 (Fri, 01 Mar 2013)
Changed paths:
M sw/airborne/lisa/test/lisa_test_adxl345_dma.c
M sw/airborne/peripherals/adxl345_spi.c
Log Message:
-----------
[peripherals] adxl345_spi: set input/output length of spi transaction to
actual lenghts
Commit: bae344bfd1dbfb48dd8bf28d45047ece4f7acb7e
https://github.com/paparazzi/paparazzi/commit/bae344bfd1dbfb48dd8bf28d45047ece4f7acb7e
Author: Felix Ruess <address@hidden>
Date: 2013-03-01 (Fri, 01 Mar 2013)
Changed paths:
M sw/airborne/arch/stm32/mcu_periph/spi_arch.c
Log Message:
-----------
[stm32][spi] finally fix zero length cases...
should fix #348
Compare:
https://github.com/paparazzi/paparazzi/compare/9a4cd531a8eb^...bae344bfd1db