Giter VIP home page Giter VIP logo

Comments (15)

xxxajk avatar xxxajk commented on July 16, 2024

Have to write CDC-ACM drivers for this yet, and due native is not
implemented yet.
On Nov 4, 2015 7:34 AM, "Delphi" [email protected] wrote:

Greetings to the authors of this library.

First of all, thank you for taking the time and efforts to create a
promising library!

What I am trying to achieve:-
I am currently working on a project that uses nearly every single pin
header available on a Due, including all hardware serial ports and I would
like to use the native USB port on the Due's to communicate between each
other.

I understand that it is possible to setup one Due as a USB client serial
device by invoking the SerialUSB.begin(9600); command and then sending data
using SerialUSB.println("Hello World");
When connected to my PC or connected to my android phone using a OTG cable
with the phone as a host, it works a treat.

As such I would require to setup the master Due as a USB host with an OTG
cable to accept the CDC? connection/device that is the slave Due and to be
able to read the serial data using SerialUSB.read();

It would appear that all the serial communication commands are there
already, however I am struggling to get the Host Due to open a serial port
with the slave Due.

My Question:-
Is this library, in its current form, possible to achieve what I am
wishing to?
I have downloaded it and have played with it some, however I am not
familiar with setting up the native USB host on the Due so my efforts have
been to no avail thus far.

If the library does not currently support this type of connectivity, is
this something that is planned for this library in the future?

Again many thanks for your time and effort with this library as I foresee
it opening the doors to all sorts of cool project ideas!

I understand this project is not yet in a position to start providing
technical support, as mentioned on the home page, however if you can
provide any pointers that would get me a step closer to my goals it would
be hugely appreciated.

Many thanks.
Delphi.


Reply to this email directly or view it on GitHub
#9.

from uhs30.

Delphi avatar Delphi commented on July 16, 2024

Thank you for the fast response!
I shall keep an eye on this project to monitor for updates.

Thank you.

from uhs30.

wesner0019 avatar wesner0019 commented on July 16, 2024

Hi xxxajk,

I am also very interested in this type of function. I am wondering if there is any progess on this for the due native support? Is the any type of donations I could make to help? I have been trying many things with the 2.0 library but I have limited programming experience.

Thanks,
Steve

from uhs30.

xxxajk avatar xxxajk commented on July 16, 2024

Sorting out MIPS32 (PIC32MZXXX) right now, but it is in the to-do queue. If
you want to try your luck at it, help is welcomed.
On Mar 27, 2016 9:31 PM, "wesner0019" [email protected] wrote:

Hi xxxajk,

I am also very interested in this type of function. I am wondering if
there is any progess on this for the due native support? Is the any type of
donations I could make to help? I have been trying many things with the 2.0
library but I have limited programming experience.

Thanks,
Steve


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#9 (comment)

from uhs30.

wesner0019 avatar wesner0019 commented on July 16, 2024

Thanks, I am actually wanting to use this library and the shield so that I can use the above functionality to communicate between two STM32F205 120Mhz ARM Cortex M3 (Particle P1 modules, https://docs.particle.io/datasheets/p1-datasheet/). Would this type of processor require its own native support?

from uhs30.

xxxajk avatar xxxajk commented on July 16, 2024

Short answer: yes.
On Mar 27, 2016 11:16 PM, "wesner0019" [email protected] wrote:

Thanks, I am actually wanting to use this library and the shield so that I
can use the above functionality to communicate between two STM32F205 120Mhz
ARM Cortex M3 (Particle P1 modules,
https://docs.particle.io/datasheets/p1-datasheet/). Would this type of
processor require its own native support?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#9 (comment)

from uhs30.

wesner0019 avatar wesner0019 commented on July 16, 2024

Ok thanks, I'm in a small start-up in Minnesota and my team is really looking at this type of functionality as a critical feature but we are not experts with USB communication protocol. We would be willing to pay you/your team and send you a few Photons to get this type of functionality going rather soon.

If you're open to coding this please PM me at: [email protected]

Thanks,
Steve

from uhs30.

felis avatar felis commented on July 16, 2024

Hi Steve,

I sent you an e-mail.

Oleg.

from uhs30.

kubitron avatar kubitron commented on July 16, 2024

Hello all. Sorry if this is a dead thread, but I'm curious if support for Arduino Zero (same as Due?) has happened yet. Very interested in Host CDC serial.

Inquiring minds always want to know. I'm also very happy to work with early code.

from uhs30.

kubitron avatar kubitron commented on July 16, 2024

(p.s. I asked, above, since I see that CDC-ACM support seems to exist now..., so just wondering about native support for Arduino Zero).

from uhs30.

xxxajk avatar xxxajk commented on July 16, 2024

Time is limited at present. Nothing stops you from contributing.

from uhs30.

kubitron avatar kubitron commented on July 16, 2024

Indeed. Just curious what was up with Zero support. I had to come up with another solution for current project, but perhaps could help at point in future. Any suggestions on how to become sufficiently knowledgeable about USB/your code to be helpful?

from uhs30.

avanshvishu99 avatar avanshvishu99 commented on July 16, 2024

I also want make my android as arduino server and also want to use its sensors to function the arduino with only otg usb support without any extra shield

from uhs30.

avanshvishu99 avatar avanshvishu99 commented on July 16, 2024

Can we use blynk usb script in android old otg...to give arduino internet...and use all its sensors.,..and control with my new phone

from uhs30.

xxxajk avatar xxxajk commented on July 16, 2024

from uhs30.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.