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.

CC2540 as CDC Ethernet Device

Guru 22270 points
Other Parts Discussed in Thread: CC2540

Hello,

I would like to know if it would be possible to use the CC2540 USB Dongle and connect it to an Ethernet router that has a USB port.  The closest thing I could find was a CDC Ethernet emulation. http://www.usb.org/developers/devclass_docs/CDC_EEM10.pdf

 The idea is to do a IoT without having to go through a gateway.  I would like to use the Dongle in the same way I would use the USB port on a laptop to connect to an internet router that has a USB port.  

I haven't been able to find any information on what protocol the Ethernet Router USB port uses, but if there is a CDC Ethernet I'm hoping all routers use the same emulation. 

Is this at all possible?

Thanks,

  • Just realized that the Dongle would have to be a host controller to connect with the Ethernet router USB.

    it now seems unlikely that the CC2540 could operate as a host controller, handle the Ethernet protocal and BLE at the same time.

    There is an example of a host controller running on an 8-bit MCU, so perhaps I will start there and see if it is portable to the CC2540. http://people.ece.cornell.edu/land/courses/eceprojectsland/STUDENTPROJ/2007to2008/blh36_cdl28_dct23/index.html

  • Greenja,

    Most routers do only support mass storage through the USB port.

    Also, I doubt the CC2540 will have neither enough processing power nor enough Flash/RAM to handle this.

    Regards,
    Svend