Borrar filtros
Borrar filtros

How do I use the Total Phase Aardvark I2C/SPI Host Adapter with Matlab?

12 visualizaciones (últimos 30 días)
I'd like to use the Total Phase Aardvark I2C/SPI Host Adapter to communicate with a SPI device (optical mouse sensor ADNS5020, its SPI uses the same line for MOSI and MISO = SDIO). I've been able to communicate with the ADNS5020 with SPI through Arduino but would like to communicate with it through Matlab. I've been able to connect to it, load in the aardvark.dll and aardvark.h library, change SPI parameters, etc. Problem is, SPI is tricky for me to debug until it mostly works... so I don't know why I can't talk to my device.
  • Can the Aardvark be completely controlled using only a Matlab script? (No python, etc.)
  • Has anyone got example code of successfully implementing Aardvark SPI + Matlab?
Thanks!

Respuestas (1)

Nikhil Sreekumar
Nikhil Sreekumar el 10 de En. de 2017
Editada: Nikhil Sreekumar el 10 de En. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by