Error with MATLAB Adafruit Breakout SPI

1 vue (au cours des 30 derniers jours)
Sarah Crimi
Sarah Crimi le 18 Sep 2018
Modifié(e) : Sarah Crimi le 20 Sep 2018
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.

Réponse acceptée

Walter Roberson
Walter Roberson le 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 commentaire
Sarah Crimi
Sarah Crimi le 19 Sep 2018
Modifié(e) : Sarah Crimi le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by