Skip to main content
Valentin LACQUEMANT
Visitor II
Mar 1, 2017 10:26 AM UTC
Question

Question about using 2 DMAs with a stm32F103C8

Posted on March 01, 2017 at 11:26

Hello, I'm using a stm32F103c8, and I would like to know if I can use both Dac1 & Dac2 with two different DMA (it's for create a dtmf signal) ?  Presently we have a sinus wave on Dac1 but nothing on the Dac2. SO, if we can help us. Thank you

    This topic has been closed for replies.

    1 reply

    waclawek.jan
    Super User
    Mar 1, 2017 10:45 PM UTC
    Posted on March 01, 2017 at 23:45

    I don't use 'F1xx but according to RM0008, yes:

    12.3.7  DMA request

    Each DAC channel has a DMA capability. Two DMA channels are used to service DAC channel DMA requests.

    And I see separate DMAEN1 and DMAEN2 bits in DAC_CR, and also two separate channels for DAC in the DMA chapter.

    What have you done so far, what are the results and why do you believe they are not what they should be?

    JW