zoukankan      html  css  js  c++  java
  • STM32F2x Is it possible to request multiple DMA streams with single request

    I want to setup an application, where a single trigger-factor (compare-match of a timer) shall request mutliple DMA streams (I.e. set new timer-value and send data to SPI)

    Is this possible with the STM32F2x µC or have you got an idea for a µC with the following properties:

    1. compare-match free running uint16 timer
    2. ~8 DMA channels
    3. SPI HW unit (best would be with 9 chipselects, but these could be simulated via further DMA channels.
    4. clock-frequency >= 80MHz
    5. <=64 pins (I want to set my own layout and >64 is expected to be to complicate
    6. ~128kB RAM
    7. ~256kB ROM

    I'm not sure if I understand what you're asking here, but a single timer channel can be used to trigger two different DMA streams.

    See Table 22 in Section 9.3.3 of the manual:

    for instance, TIM2_CH4 can be used to trigger both stream 6 and stream 7.

    Also, you can configure a timer to be a slave to a second timer,

    which I believe could be used to make them fire simultaneously,

    and then you could use the two different timers as a trigger to the DMA peripheral.

    Sorry if I'm unable to elaborate further, as I'm more familiar with the STM32F1xx series

    which doesn't have the concept of streams, only channels.

  • 相关阅读:
    遭遇奸商(主板篇)
    空调匹数与房间制冷时对应的适用面积
    MDIHelp!窗口BUG
    数据库主键设计之思考(转)
    显卡功耗表(转)
    PowerBuilder中的几种通用类
    PowerBuilder常用技巧
    当adobe flash player不能安装时
    vue常用语法
    简单的数据库命令
  • 原文地址:https://www.cnblogs.com/shangdawei/p/4749364.html
Copyright © 2011-2022 走看看