[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [paparazzi/paparazzi] 2ae834: Fix dshot and dma (#25

From: alexandre bustico
Subject: [paparazzi-commits] [paparazzi/paparazzi] 2ae834: Fix dshot and dma (#2552)
Date: Fri, 31 Jul 2020 09:23:54 -0700

  Branch: refs/heads/master
  Commit: 2ae834f2280c6fad80c8bdbd929cc59d40769525
  Author: alexandre bustico <>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    M sw/airborne/arch/chibios/mcu_periph/hal_stm32_dma.c
    M sw/airborne/arch/chibios/mcu_periph/hal_stm32_dma.h
    M sw/airborne/arch/chibios/modules/actuators/actuators_dshot_arch.c
    M sw/airborne/arch/chibios/modules/actuators/esc_dshot.c
    M sw/airborne/arch/chibios/modules/actuators/esc_dshot.h
    M sw/airborne/boards/chimera/chibios/v1.0/mcuconf.h

  Log Message:
  Fix dshot and dma (#2552)

* dshot : driver that contain dma buffer should be in a non cached memory 

* dshot, dma : dma buffer must be in a volatile array

* esc_dshot and dma : fix dma burst condition for activation

* esc_dshot and dma : fix volatile missing in declaration

* lower adc and dma priority to preserve dshot timing

* remove unnecessary volatile declaration for dma buffer

* esc_dshot : replace frame + 4 sync bits by : 2 sync bits + frame + 2 syncs 
bits : in order to fix malformed frame in case of DMA latency

reply via email to

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