frame

adc interrupt

hello

i need to read 4000 sequential adc data and need an interrupt that every time a 100kHZ pwm goes from low to high or high to low. i am using f401re and i think it is capable..
appreciate any help
Tagged:

Comments

  • Hello @orhanerdem ;

    the frequency requirements should be no problem for the f401re; however I am not positive I have completely understood  your needs. Do you need one sample every interrupt? or you need to generate a pwm while reading the adc? 
    Giacomo Baldi
    Zerynth Head of Software Development
  • sorry for my English.
    i need one sample every interrupt and it should occur every time the pwm signal(100khz) goes from low to high 

    in mbed i manage to do that on time 

    ...
    for (i=0;i<3648;i++){
          shiftGate_int.rise(record);
        }
    ...

    void record()
    {
      pixelValue[i]= imageIn.read_u16();
    }
Sign In or Register to comment.

ZERYNTH Community

@ 2016 Zerynth.com, all rights reserved.