Skip to main content
joel239955_st
Visitor II
October 19, 2015
Question

STM32F207 DMA ADC Read with pin state change

  • October 19, 2015
  • 2 replies
  • 628 views
Posted on October 19, 2015 at 17:02

Hi, is it possible to have the pin state changed during ADC DMA Regular Simultaneous mode so that the pin that has been read is set to OUTPUT LOW while the one that is read is INPUT?

The current otherwise leaks through the other open analog PINs in my application and the PINs aren't independent anymore. 

I.e. I want to read 24 analog ports (or as many as possible) in sequence using DMA with only one open at a time. It currently works but I need to have all ports open.

Regards,

Joel Metelius
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    October 19, 2015
    Posted on October 19, 2015 at 17:12

    I don't think so.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    waclawek.jan
    Super User
    October 19, 2015
    Posted on October 19, 2015 at 22:19

    > The current otherwise leaks through the other open analog PINs in my application and the PINs aren't independent anymore. 

    Why do you think so?

    What is the impedance of the signal source, and what is the settling time?

    JW