This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Test ADC Sample rate with the BeagleBone Black (3359 processor)

Hey all,

At the moment I'm doing a project where the ADC sample rate is very important. So I would like to know if there's someone that already tried the ADC maximum sample rate (where the ADC input is fed back by the GPIO output with 10k resistors voltage divider) of the BeagleBone Black using StarterWare. If yes, what values did you get? Did you get around 200ksamples/s?
Thanks for the attention.
Best Regards,
Luciano.
  • I'm not sure if I understand your question. Are you trying to verify hardware performance or software performance?

    Please provide a detailed description of what you are trying to do.

    The ADC hardware has be validated to operate at 200 kSPS. However, I'm not the person to help if you are asking about StarterWare.

    Regards,
    Paul
  • As I understanding from programming guide and the user guide, the maximun sampling rate for ADC each channel should be 3M samples /s. Isn't it?
    Best ragards.
    Henry Chou.
  • Hey Paul,

    Thanks for answering.

    I'm trying to verify the hardware performance, where in a simple feedback circuit I can read the ADC input. If the read value is less than a number it will be High at the output, otherwise it will be Low and I will see it commute, verifying the maximum sample rate, checking the period of the commutation.

    I chose to work with StarterWare because working with a Linux OS (Debian) on BBB, I did not get the values I wanted (for example a minimum of 10k to 20ksamples/s or working with 4 channels simultaneosly). So what I'm doing at the moment is: The BBB is connected with Code Composer Studio v5.5 through a JTAG, xds100v2. I'm using Starterware v02.00.01.01, I've already tested the gpioLEDBlink example and it is working correctly. The thing is, I want to use the analog inputs A0 to A7, and I really want to know if it is really possible to do it. In the folder StarterWare it only have examples for evm335x and evmsk335x and I would like to be certain if I can get to work with the ADCs using Starterware.

    I've already posted a question at the StarterWare Forum, but unfortunately I couldn't get any answer.(e2e.ti.com/.../403359)

    If eventually you know someone who could give me the answer, I would be very grateful. Thanks for the attention.

    Best regards,
    Luciano.
  • Hey Henry,

    Thanks for answering.

    For what I saw at: www.ti.com/.../datasheet, it informs that is 200ksamples/s.

    My problem is if I can get it with StarterWare. Can I?

    Thanks for the attention.

    Best regards,
    Luciano.
  • Hey! Luciano:
    Nice to get the reply. Oops, maybe I got the wrong memories for ADC specification. I use the platform with IDK and ICE V2 for development. So that I can't sure the starterware can be used as BeagleBone or not?
    But I think it can be work , in case of hardware capabiltiy is not the extra hardware circuit. You may take the project \AM335X_StarterWare_02_00_01_01\build\armv7a\cgt_ccs\am335x\evmAM335x\adc for reference. But you may add on other channels initialization and the processing code. Because of the example is the two channel and the appliance is for touch.
    Henry Chou.
  • Hey Henry,

    Thanks for answering.

    I understand. I will see if can find something how to initialize the BBB's ADC inputs using that example. Thanks.

    Best regards,
    Luciano.
  • The AM335x has a single ADC with 8 input analog multiplexer.  The maximum sample rate of the ADC is 200 kSPS.  So if you need to sample 4 inputs for each sequence of the FSM, the maximum sample rate of each of these 4 inputs would be 50 kSPS.

    Regards,
    Paul