Clear Filters
Clear Filters

Error with MATLAB Adafruit Breakout SPI

2 views (last 30 days)
Hi,
I am trying to use the following library: https://www.mathworks.com/matlabcentral/fileexchange/48248-ftdi-spi-library-access. I changed the code a little bit so that it would show warnings and it showed this one: 'libMPSSE_spi_matlabFriendly.h libMPSSE_thunk_pcwin64.c Creating library libMPSSE_thunk_pcwin64.lib and object libMPSSE_thunk_pcwin64.exp ' Does anyone know what this means? The software says that it is not reading the Adafruit. I am not sure what is going on.
Thanks, Sarah C.

Accepted Answer

Walter Roberson
Walter Roberson on 19 Sep 2018
That message would likely be generated by loadlibrary(). When you pass loadlibrary() a DLL and a .h header file, then creates a thunk file and saves it, and after that you can improve performance of loadlibrary() by referring to the thunk file.
  1 Comment
Sarah Crimi
Sarah Crimi on 19 Sep 2018
Edited: Sarah Crimi on 20 Sep 2018
Thanks :-). I also figured out why MATLAB wasn't recognizing the chip. I needed to install another driver along with the LibMPSSE-Driver called D2XX. However, now it is not writing to GPIO pins properly.

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!