Shop OBEX P1 Docs P2 Docs Learn Events
UM232R USB-serial adapter — Parallax Forums

UM232R USB-serial adapter

ascoetzeeascoetzee Posts: 3
edited 2009-01-07 23:06 in Propeller 1
Hi

I'm wanting to get started in Propeller development, and I'm putting together a list of what I need to get.
I have a UM232R USB-Serial development module and I wondered if anyone has used this for programming a Propeller, instead of a prop-clip or similar?

Thanks

Anton

Comments

  • StefanL38StefanL38 Posts: 2,292
    edited 2009-01-06 11:28
    hello Anton,

    I don't know this type. If it is a simple USB2RS232-converter it should work.

    I used a usb2rs323conv. from digitus. On my PC it worked well. on my laptop unreliable.
    the main chip of the digitus is from manufacturere prolific

    Converters with a FTDI-chip seem to work much better. (the parallax-converters use them too.

    To connect directly to a propeller you need a voltage-levelshifter. standard RS232 is +12V/-12V
    For example the MAX2323 which is for supplying with 3V and signals of 3V on the propellerside
    can do the levelshifting from +12V/-12V to 0V/3.3V

    for a superminimum start you just need a proppellerchip, 5MHz chrystal, 32kB EEPROM RS232 interface
    that's all

    best regards

    Stefan
  • ascoetzeeascoetzee Posts: 3
    edited 2009-01-06 11:40
    Hi

    I'ts a USB-serial UART interface with configurable 1.8-5v logic output, mad by FTDI.

    http://www.ftdichip.com/Products/EvaluationKits/UM232R.htm

    With what you say, then it looks like it should work OK.

    Anton
  • AribaAriba Posts: 2,687
    edited 2009-01-06 19:58
    This module should work fine, if you add a little circuit at the DTR Pin to produce a correct Propeller Reset (schematic attached).
    It's also important that you set the module to 3.3V output level (not 5V).

    Andy
    254 x 84 - 753B
  • StefanL38StefanL38 Posts: 2,292
    edited 2009-01-07 08:01
    Hello Ariba,

    thank you very much for adding this info ! VERY important !

    Without the reset circuit communciation would not work at all

    best regards

    Stefan
  • GatunoGatuno Posts: 23
    edited 2009-01-07 21:43
    Hello ascoetzee:

    I made a prop clip compatible module with this same FTDI module some time ago in a protoboard.

    The PDF attached is my schematic of the connections between the module and the Prop. It generates the reset signal using DTR# pin, a transistor and one resistor as Arriba wrote. Also it have two fancy leds for in & out data transmission between PC and prop. turn.gif

    To make the leds and DTR# signal to work, you have to program the FTDI chip using the MPROG utility program (from FTDI web site) taking care to not using the D2XX driver nono.gif , because it didn't work with the Propeller tool or Prop Terminal.
    Also you can change the windows descriptor of the module that shows when you connect to PC.
    In the attached image you can see my configuration.


    Be lucky!

    Gatuno. tongue.gif
    656 x 536 - 93K
  • AribaAriba Posts: 2,687
    edited 2009-01-07 23:06
    Gatuno (and Anton)

    if you use MPROG anyway, you can also invert the DTR output signal, and spare the Transistor circuit.
    Then only a Captacitor is needed:
     
    DTR ────────── Res Prop
            10nF
    
    


    I think it works also without the capacitor, if you only use PST and PropTool. But most other serial Terminals have the DTR in wrong state, and the 10nF lets then only the transitions at DTR pass to the Reset input.

    Andy
Sign In or Register to comment.