FTDI SPI Tutorial: LibMPSSE with Visual Studio 2015

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024

ความคิดเห็น • 38

  • @armchair.9664
    @armchair.9664 6 ปีที่แล้ว +7

    Just started a new job where I needed to do this for an FTDI USB to SPI board, and this video was a life-saver. I cannot thank you enough!

  • @funbotix3030
    @funbotix3030 ปีที่แล้ว +1

    Wow... super job of showing just enough to make it all work in a very easy to understand way. Thanks!!

  • @Timur_Kan
    @Timur_Kan 4 ปีที่แล้ว +3

    Thanks a lot for this tutorial! Cheers from Russia!

  • @liornak
    @liornak 3 ปีที่แล้ว +2

    Works on FT2232H Mini Module. Thanks!

    • @mvisperas
      @mvisperas 6 หลายเดือนก่อน

      Thanks for confirming. I'm about to do the same with an I2C.

  • @mvisperas
    @mvisperas 6 หลายเดือนก่อน

    Thanks for this walkthrough. I'm about to do an FTDI FT4232H Mini Module I2C project.

  • @Alg0Arab0Muslim
    @Alg0Arab0Muslim 7 ปีที่แล้ว

    Fantastic video and great presentation. It worked from the first run. Thanks a lot.

  • @BAMFWrangler
    @BAMFWrangler 8 ปีที่แล้ว +2

    Awesome video. Great content and presentation skills.

    • @upgrdman
      @upgrdman  8 ปีที่แล้ว

      +BAMFWrangler Thank you!

  • @rfdave3980
    @rfdave3980 3 ปีที่แล้ว +1

    Wow nice work. Your video was very good. I learnt so much. Thank you (Subscribed).

  • @71GA
    @71GA 3 ปีที่แล้ว +1

    Very pleasant video!

  • @isaattechnologies4790
    @isaattechnologies4790 7 ปีที่แล้ว +1

    Good video! Lots of useful information.

  • @faizibrahimp
    @faizibrahimp 8 ปีที่แล้ว

    Thanks for the video. Helped a lot.

  • @MJ12GRAVITON
    @MJ12GRAVITON 8 ปีที่แล้ว

    Fantastic, great channel, thankyou.

  • @iknausz
    @iknausz 7 ปีที่แล้ว

    Great video and detail, thanks for putting this together. I follow the steps exactly, but get "..\libmpsse\ftdi_infra.c:261:Init_libMPSSE(): NULL expression encountered" message when running the program. I'm on Visual Studio 2015 just like the video. Thanks again.

    • @upgrdman
      @upgrdman  7 ปีที่แล้ว

      Hi. Did you install the D2XX driver?

    • @iknausz
      @iknausz 7 ปีที่แล้ว

      upgrdman hi, thanks so much for getting back. Yes, I installed the 4 files like you said and installed the system drivers. Somewhere I found that someone needed to use the visual studio 2013 (v120) toolset, but that didn't work for me. Any help appreciated, thanks!

    • @iknausz
      @iknausz 7 ปีที่แล้ว +1

      I did get beyond this: The program was not finding 'ftd2xx.dll'. I fixed this by putting the file into the debug directory (with the .exe). I'm sure the proper solution is to fix the path variable to get the executable to find the dll from the install. Things work as expected now, thanks!!

  • @acpck
    @acpck 6 ปีที่แล้ว +1

    Great tutorial!
    Unfortunately for some reason FT_WriteGPIO and FT_ReadGPIO is not working :(

    • @saeedehghaffari8019
      @saeedehghaffari8019 5 ปีที่แล้ว

      Did you manage to make the FT_WriteGPIO and FT_ReadGPIO work? if yes, how?

  • @71GA
    @71GA 3 ปีที่แล้ว

    Are you sure "uint32" options does what you say it does? Then what and how does "SPI_ChangeCS()" call from the same library works?

  • @charlieduru284
    @charlieduru284 4 ปีที่แล้ว

    am i the only experiencing a >2ms delay between command execution of the SPIwrite/Read function?
    any ideas please

  • @PomaricoAntonio
    @PomaricoAntonio 5 ปีที่แล้ว

    Great video. I am trying to make the same with I2C. But it does not work. I always have problems, that the libMPSSE were not found by the sample_dynamic.exe, which is created by b.bat. Can you help me?

  • @PomaricoAntonio
    @PomaricoAntonio 5 ปีที่แล้ว

    I am trying to run the sample code for the FTD2232H Chip with I2C.
    But it does not work. I always have problems, that the libMPSSE were not found by the sample_dynamic.exe, which is created by b.bat. Can you help me?
    The right mingw is installed (4.5.x), the driver D2xxx are installed.
    When I run the b.bat file then i get this error
    Failed loading libMPSSE.dll. Please check if the file exists in the working directory
    sample-dynamic.c:255:main(): NULL expression encountered
    But the libMPSSE.dll is in the right working directory.

  • @jasongao9592
    @jasongao9592 8 ปีที่แล้ว

    nice share . I get it !

    • @upgrdman
      @upgrdman  8 ปีที่แล้ว

      Glad you liked it, thanks for the feedback.

  • @guillaume8437
    @guillaume8437 2 ปีที่แล้ว

    Hi! Thanks for the nice VDO. Do you need to use FT_PROG to configure the IOs or is it in the VS code?

    • @upgrdman
      @upgrdman  2 ปีที่แล้ว

      You don't need to use FT_PROG, it can be configured with the C/C++ code.

  • @sergovan79
    @sergovan79 6 ปีที่แล้ว

    Hi! Thanks a lot! Great video! I can't understand how did u connect libMPSSE.lib to your project?

    • @sergovan79
      @sergovan79 6 ปีที่แล้ว

      Ups, sorry, I dont see at Resource Files

  • @theRealPito
    @theRealPito 7 ปีที่แล้ว

    Excellent video, congrats
    what gyro did you use in the video?
    can you post the giro's datasheet?

    • @upgrdman
      @upgrdman  7 ปีที่แล้ว

      Thanks. It's an STM L3GD20. Datasheets are all over Google and STM's web site, but I think that particular model is going to be discontinued soon.

    • @theRealPito
      @theRealPito 7 ปีที่แล้ว +1

      Thanks for the info, keep doing good videos. yeah It is true, It is not recommended for new design but is still in production

  • @nikhileshk7047
    @nikhileshk7047 6 ปีที่แล้ว +2

    I2C please

  • @stuff2learn07
    @stuff2learn07 2 ปีที่แล้ว

    Can we use this to program a stm32 device via SPI

    • @upgrdman
      @upgrdman  2 ปีที่แล้ว +1

      I've never tried it. Instead of writing your own program to do it, you might try looking into a tool like OpenOCD. I think it supports some FTDI chips.

    • @stuff2learn07
      @stuff2learn07 2 ปีที่แล้ว

      @@upgrdman thank you. I will look into it. I was looking into other ways and those looked complex.