paparazzi-commits
[Top][All Lists]
Advanced

[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 12:01:30 -0800

  Branch: refs/heads/master
  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


  Commit: 4b4bc2ed9d4581b039634ac63e60ea955b5e75b1
      
https://github.com/paparazzi/paparazzi/commit/4b4bc2ed9d4581b039634ac63e60ea955b5e75b1
  Author: Felix Ruess <address@hidden>
  Date:   2013-03-02 (Sat, 02 Mar 2013)

  Changed paths:
    M conf/airframes/TestHardware/LisaL_v1.1_b2_v1.2_rc.xml
    M conf/firmwares/lisa_test_progs.makefile
    M sw/airborne/subsystems/imu/imu_b2.c
    M sw/airborne/test/subsystems/test_imu.c

  Log Message:
  -----------
  [tests] update imu_b2_2 test to use hmc58xx driver


  Commit: f1b565693267f6989633395a346e8adae1d9f375
      
https://github.com/paparazzi/paparazzi/commit/f1b565693267f6989633395a346e8adae1d9f375
  Author: Felix Ruess <address@hidden>
  Date:   2013-03-02 (Sat, 02 Mar 2013)

  Changed paths:
    M sw/airborne/arch/stm32/mcu_periph/spi_arch.c
    M sw/airborne/mcu_periph/spi.h
    M sw/airborne/peripherals/max1168.c

  Log Message:
  -----------
  [stm32][spi] no functional changes, only readability/comments/dox


  Commit: 9cbc44d8478ba37b46d431322b9ea6b7db9a431f
      
https://github.com/paparazzi/paparazzi/commit/9cbc44d8478ba37b46d431322b9ea6b7db9a431f
  Author: Felix Ruess <address@hidden>
  Date:   2013-03-02 (Sat, 02 Mar 2013)

  Changed paths:
    M conf/airframes/TestHardware/LisaL_v1.1_b2_v1.2_rc.xml
    M conf/firmwares/lisa_test_progs.makefile
    M sw/airborne/arch/stm32/mcu_periph/spi_arch.c
    M sw/airborne/lisa/test/lisa_test_adxl345_dma.c
    M sw/airborne/mcu_periph/spi.h
    M sw/airborne/peripherals/adxl345.h
    M sw/airborne/peripherals/adxl345_i2c.c
    M sw/airborne/peripherals/adxl345_spi.c
    M sw/airborne/peripherals/max1168.c
    M sw/airborne/subsystems/imu/imu_b2.c
    M sw/airborne/test/subsystems/test_imu.c

  Log Message:
  -----------
  Merge pull request #383 from paparazzi/fix_stm32_spi

fixes for STM32 SPI transactions:
can handle zero input or output lengths now, max1168 works again...


Compare: 
https://github.com/paparazzi/paparazzi/compare/3e7a18cc0349...9cbc44d8478b

reply via email to

[Prev in Thread] Current Thread [Next in Thread]