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.

AM335x (Beaglebone Black) SYSBIOS USB bulk device example

Other Parts Discussed in Thread: SYSBIOS, TM4C1294NCPDT, ADS1298

Hello everybody!

To get to the point:

I am looking for an USB device bulk transfer example for the Beaglebone black using SYSBIOS.

The situation:

I have a project, for which I am searching the right hardware.

In the project I will have to read data from 2xADS1298 @ 4kHz over SPi and from 4 other sensors @ 1kHz over SPI, I will need to forward this data through USB (bulk) to a host PC

My first choice for hardware was a Tiva C TM4C1294NCPDT processor, it did not worked out because of filling the USB buffer took to much time and samples got lost.

I figured that using the Beaglebone Black would be a good choice, it has 2 SPI peripherals, has a USB, it has SYSBIOS support and it is cheap.

I am planning to connect the two ADS1298 in daisy chain mode to one of the SPI peripherals, the other 4 sensors I will connect to the other SPI peripheral and use CS to always select the right sensors to read from.

The SPI connections are working  (well, more or less, there is still a lot to be done), but I could not find an example for bulk USB transfer using SYSBIOS.

I am aware of Starterware, and I do know, that it has example for bulk transfer modes, but the download site states, that StarterWare is not supported anymore, but processor SDK is, I also had difficulties building example projects from it. The problem is that I can not find any examples in the processor SDK for USB except for the mass storage device.
I am also aware of other questions in the forum asked regarding this topic, but none seems to have direct answer for the question:

https://e2e.ti.com/support/arm/sitara_arm/f/791/t/205955

https://e2e.ti.com/support/embedded/starterware/f/790/t/337317

also, there are a lot more

On almost all links, it is advised that one should go through the mass storage example and try to make a bulk implementation based on that.

My problem now is that I am currently only testing various boards/CPUs to find the best solution, so I would not like to put in a lot of time at this stage for evaluation. My plan was to load the bulk example, generate the right amount of dummy data and try it with an application that I already have from the last testing on the other CPU.

On the second link, that I posted, it is stated, there is a usb_dev_bulk example unreleased for SYSBIOS.

So, my question is, is there a possibility on the Beaglebone black, to run SYSBIOS on it with a USB bulk transfer?

Also, if there really is a bulk example unreleased for SYSBIOS, is there a possibility for me to somehow get it and try it out?

I am using the following versions of the libraries:

  • processor_sdk_rtos_am335x_3_00_00_04
  • pdk_am335x_1_0_3
  • ndk_2_24_03_35
  • The starterware version in which I found bulk transfer example is: AM335X_StarterWare_02_00_01_01

P.S.: If there is a better solution (board or CPU), that can fulfill the requirements please advise, I'm open for any suggestions.

  • It has to read data from the mentioned sensors and analog front-ends
  • it has to have at least 2 SPI ports
  • it has to support usb bulk transfer
  • SYSBIOS/TI-RTOS would be nice

Thanks in advance

Akos Szekacs