Cypress EZ-USB FX2 and MATLAB

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi everybody,

   

There is a couple of doubts I would like to talk about. I have a Cypress EZ-USB FX2 Microcontroller on an Avnet board (FPGA), and have already set up the USB communication protocol between the onboard microcontroller and the Cypress drivers on the PC.

   

Now I would like to send and receive data directly from a MATLAB environment I've created for the final purpose of the FPGA. How can I implement the protocol into MATLAB? Is there a way to "embed" an existing implementation and just call its functions from within MATLAB itself?

   

Has anyone ever faced this issue?

   

Thank you very much for your attention!

   

Regards,

   

Alessandro

0 Likes
1 Reply
Anonymous
Not applicable

 Hi,

   

Following links would be helpful for you

   

http://www.mathworks.com/matlabcentral/fileexchange/24261

   

http://www.mathworks.in/help/matlab/external-interfaces.html

   

-PRJI

0 Likes