Shop OBEX P1 Docs P2 Docs Learn Events
Pb in spi mode with VDIP1 of FTDI — Parallax Forums

Pb in spi mode with VDIP1 of FTDI

MinosMinos Posts: 8
edited 2009-06-30 17:47 in Propeller 1
HI

I have a problem when I use the SPI mode

In fact when I use the USART Mode , it's OK , the Leds LED1 and LED2 blink alternate 2 second

When I insert in the connector USB my USB key, no problem, the key is enumerated by the vinculum.
And the LED2 is On. ( LED1 off )
And if i connect the vinculum to Hyperterminal, there is a message displayed :
Device connected P2

But now if I use the SPI mode, the Leds LED1 and LED2 blink but when I connect a device ( my usb key)
there is'nt no enumerate. And The Led2 is off ( and Led1 off ).

I don't understand.

Comments

  • DogPDogP Posts: 168
    edited 2009-06-30 15:42
    The SPI mode of the VNC1L is dumb... I'm not sure why they even call it SPI (it's similar, but no true SPI solution that I know of won't work with it). Luckily, the prop is all software controlled, so you can make it work... have you seen this object: http://obex.parallax.com/objects/305/ ? I personally use the UART mode any time I want to use that chip, but I assume that "SPI" driver works.

    DogP
  • MinosMinos Posts: 8
    edited 2009-06-30 15:55
    I 'm obliged to use spi because i want read file in my key usb whitch have height 3Mo.
    And by rs232 (uart mode) it's slow
    by spi mode (clk=10MHz) it's much quick
    And i 'm go into the site http://obex.parallax.com/objects/305/
    but the download is : Vinculum_1_1.spin

    what is the extension "spin" ?
    I don't know this extension and the logiciel whitch understand this file or witch open this file
  • DogPDogP Posts: 168
    edited 2009-06-30 17:47
    I assumed since you posted in the Propeller forum that you're using the Parallax Propeller microcontroller to talk to the VDIP1. If so, .spin is the source code for the program, which you should be able to compile and run using the Propeller Tool. If you're using a different microcontroller (which one?), that file may be useful as an example, but you'll need to write your own code in the correct language, or find an example somewhere for your hardware.

    DogP
Sign In or Register to comment.