FTDI SPI Tutorial: LibMPSSE with Visual Studio 2015

  Рет қаралды 24,489

upgrdman

upgrdman

Күн бұрын

Пікірлер: 38
@armchair.9664
@armchair.9664 6 жыл бұрын
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 Жыл бұрын
Wow... super job of showing just enough to make it all work in a very easy to understand way. Thanks!!
@mvisperas
@mvisperas 7 ай бұрын
Thanks for this walkthrough. I'm about to do an FTDI FT4232H Mini Module I2C project.
@Timur_Kan
@Timur_Kan 4 жыл бұрын
Thanks a lot for this tutorial! Cheers from Russia!
@liornak
@liornak 3 жыл бұрын
Works on FT2232H Mini Module. Thanks!
@mvisperas
@mvisperas 7 ай бұрын
Thanks for confirming. I'm about to do the same with an I2C.
@Alg0Arab0Muslim
@Alg0Arab0Muslim 7 жыл бұрын
Fantastic video and great presentation. It worked from the first run. Thanks a lot.
@71GA
@71GA 3 жыл бұрын
Very pleasant video!
@rfdave3980
@rfdave3980 3 жыл бұрын
Wow nice work. Your video was very good. I learnt so much. Thank you (Subscribed).
@BAMFWrangler
@BAMFWrangler 9 жыл бұрын
Awesome video. Great content and presentation skills.
@upgrdman
@upgrdman 9 жыл бұрын
+BAMFWrangler Thank you!
@isaattechnologies4790
@isaattechnologies4790 8 жыл бұрын
Good video! Lots of useful information.
@faizibrahimp
@faizibrahimp 8 жыл бұрын
Thanks for the video. Helped a lot.
@MJ12GRAVITON
@MJ12GRAVITON 8 жыл бұрын
Fantastic, great channel, thankyou.
@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?
@iknausz
@iknausz 8 жыл бұрын
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 8 жыл бұрын
Hi. Did you install the D2XX driver?
@iknausz
@iknausz 8 жыл бұрын
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 8 жыл бұрын
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!!
@charlieduru284
@charlieduru284 4 жыл бұрын
am i the only experiencing a >2ms delay between command execution of the SPIwrite/Read function? any ideas please
@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.
@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?
@theRealPito
@theRealPito 8 жыл бұрын
Excellent video, congrats what gyro did you use in the video? can you post the giro's datasheet?
@upgrdman
@upgrdman 8 жыл бұрын
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 8 жыл бұрын
Thanks for the info, keep doing good videos. yeah It is true, It is not recommended for new design but is still in production
@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.
@acpck
@acpck 6 жыл бұрын
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?
@stuff2learn07
@stuff2learn07 3 жыл бұрын
Can we use this to program a stm32 device via SPI
@upgrdman
@upgrdman 3 жыл бұрын
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 3 жыл бұрын
@@upgrdman thank you. I will look into it. I was looking into other ways and those looked complex.
@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
@nikhileshk7047
@nikhileshk7047 6 жыл бұрын
I2C please
@PomaricoAntonio
@PomaricoAntonio 5 жыл бұрын
yes pls
@jasongao9592
@jasongao9592 8 жыл бұрын
nice share . I get it !
@upgrdman
@upgrdman 8 жыл бұрын
Glad you liked it, thanks for the feedback.
Cheap logic analyzer SPI i2c UART
8:03
Electronoobs
Рет қаралды 222 М.
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 137 МЛН
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,1 МЛН
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 19 МЛН
Bit Bang FT232 to Control SPI Devices
37:45
Scott Harden (SWHarden)
Рет қаралды 41 М.
SPI: The serial peripheral interface
33:00
Ben Eater
Рет қаралды 697 М.
EEVblog #499 - What is JTAG and Boundary Scan?
28:59
EEVblog
Рет қаралды 477 М.
Tutorial: Using Bus Pirate to program I2C RTC
24:32
Frozen Electronics
Рет қаралды 29 М.
Easy Arduino Data Logging and Telemetry
34:31
upgrdman
Рет қаралды 173 М.
Hacker's Guide to UART Root Shells
17:40
Flashback Team
Рет қаралды 499 М.
Basics of SPI communication | Different modes of SPI communication
8:06
Foolish Engineer
Рет қаралды 108 М.
PROTOCOLS: UART - I2C - SPI - Serial communications #001
11:58
Electronoobs
Рет қаралды 1,4 МЛН
The Everything Interface: Desktop to Chip [USB to SPI, I2C, JTAG, UART, SWD...]
5:19
How to use the FTDI Breakout Board configuration utility
6:48
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 137 МЛН