This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

2 ADC TO ARRAY VIA DMA

Hello guys,
I am newbie here.
I would like to make a programme that take from 2 channels ADC and via DMA store them in an array and then shows flags HT and TC.Do u have any example?
How can I set an input of 600 khz?

Parents
  • I was told that I have to use F103RB so I don't have the option to change.
    The instructions I got (that they are not really clear) say that i should put a signal of 600khz in C2 ADC2 but I think that it is the same for AC1.
    Should I change order and put half transfer first?
    I did that and now it shows that :
    main.c(155): warning: #111-D: statement is unreachable
    I am now reading about timers and I will try to understand as much as I can.
    Thanks you so much for your info!

Reply
  • I was told that I have to use F103RB so I don't have the option to change.
    The instructions I got (that they are not really clear) say that i should put a signal of 600khz in C2 ADC2 but I think that it is the same for AC1.
    Should I change order and put half transfer first?
    I did that and now it shows that :
    main.c(155): warning: #111-D: statement is unreachable
    I am now reading about timers and I will try to understand as much as I can.
    Thanks you so much for your info!

Children