+ Reply to Thread
Results 1 to 8 of 8

Thread: Is it possible to directly connect the Prop. to USB without USB to Serial circuit?

  1. #1

    Default Is it possible to directly connect the Prop. to USB without USB to Serial circuit?

    I always thought that the USB-to-Serial is to maintain backward compatibility? Is that right? Is it possible to have the Propeller talk to the USB port straight without going through FTDI 232?

  2. #2

    Post Re: Is it possible to directly connect the Prop. to USB without USB to Serial circuit


  3. #3

    Default Re: Is it possible to directly connect the Prop. to USB without USB to Serial circuit

    Thanks Clock Loop. The circuit and the code - by Brad C - from the second link in your answer works beautifully. As soon as I connect it to the USB port, it sends some lyrics to a text editor on the PC. However, the demo file "USB_California_005.spin" is more than 600 lines of assembly code, and I am having hard time figuring out how to use the code for my purposes. Basically just reading the status of some input pins (high or low) and reporting that to the PC. Any help is greatly appreciated.

  4. #4
    Cluso99's Avatar
    Location
    Sydney/Brisbane Australia or 'sailing on the high seas'
    Posts
    10,169

    Default Re: Is it possible to directly connect the Prop. to USB without USB to Serial circuit

    lyassa: I presume you do not want to use the USB emulation within the prop to download code??

    scanlime (micah) also did some work on USB although IIRC it was all master implementation (ie connects to a USB device such as a bluetooth dongle). Try searching the forum for USB Bluetooth or similar. It was some time ago.
    My Prop boards: CpuBlade, TriBlade, RamBlade, www.clusos.com
    Prop Tools (Index)
    Emulators (Index) ZiCog (Z80)
    Prop OS (also see Sphinx, PropDos, PropCmd)

  5. #5

    Default Re: Is it possible to directly connect the Prop. to USB without USB to Serial circuit

    Hi Cluso99,

    Hmmm .. USB emulation within the Prop? Do you mean the USB-to-Serial plug to download code to the eeprom?

    I am ok using the usb-to-serial to download code from the development tool to the eeprom, but then I want to be able to remove the usb2ser plug and directly connect the Propeller to USB as descibed in the link "USB toys to play with" above.

    I guess I am not sure what is the "USB emulation within the prop". Please direct me to where I can find more info; if it is not the usb2ser plug. Also, at this point I don't need the Propeller to host USB, rather the PC will be the master and it will host the Prop.

  6. #6
    Cluso99's Avatar
    Location
    Sydney/Brisbane Australia or 'sailing on the high seas'
    Posts
    10,169

    Default Re: Is it possible to directly connect the Prop. to USB without USB to Serial circuit

    lyassa: I think you get what I meant. Use the propplug (usbser) to program the eeprom (download), then remove.

    There are two people who have done software USB emulation on the prop. Bradc which you have seen ( slave) and is LS (low speed) and Micah/scanlime who has done IIRC both master an slave. Micah got HS to work using 4 cogs!! but it is not compliant.

    The prop does not have the required hardware to do a totally compliant USB (anyone want to take the bait and do it?? - sorry lyassa... its an in joke... it was once said that the prop could not do USB at all, and many other things. Someone always wants to prove us wrong here and go do it!)

    Anyway, here is the link to scanlime's thread where you can see what she's done http://forums.parallax.com/showthrea...+usb+bluetooth
    My Prop boards: CpuBlade, TriBlade, RamBlade, www.clusos.com
    Prop Tools (Index)
    Emulators (Index) ZiCog (Z80)
    Prop OS (also see Sphinx, PropDos, PropCmd)

  7. #7

    Default Re: Is it possible to directly connect the Prop. to USB without USB to Serial circuit

    You mean full-speed, not high-speed USB. High-speed USB (480 Mbit/s) really is impossible on the Propeller.
    Leon Heller
    G1HSM

  8. #8
    Cluso99's Avatar
    Location
    Sydney/Brisbane Australia or 'sailing on the high seas'
    Posts
    10,169

    Default Re: Is it possible to directly connect the Prop. to USB without USB to Serial circuit

    Thanks Leon, yes my mistake.
    My Prop boards: CpuBlade, TriBlade, RamBlade, www.clusos.com
    Prop Tools (Index)
    Emulators (Index) ZiCog (Z80)
    Prop OS (also see Sphinx, PropDos, PropCmd)

+ Reply to Thread

Similar Threads

  1. [unsolved] Connect Parallax Standard Servo to S2 Hacker port directly
    By chenchals in forum Propeller 1 Multicore Microcontroller
    Replies: 0
    Last Post: 07-15-2011, 02:18 PM
  2. Replies: 5
    Last Post: 09-05-2008, 07:08 AM
  3. Directly Connect an RF Transmitter to the Computer?
    By jsmasterking in forum Robotics
    Replies: 2
    Last Post: 12-01-2007, 09:22 AM
  4. Replies: 5
    Last Post: 06-11-2005, 07:57 PM
  5. Replies: 1
    Last Post: 03-24-2005, 12:38 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts