I am trying to use Matlab API to communicate with XEM6310. I used the PipeTest sample to configure the FPGA. It works very well when wirein and wireout data. But the problem occurs when calling ReadFromBTPipeOut from Matlab, no data comes out. And when I view the EP_read signal on scope, It keeps 0 all the time. I checked EP_ready signal on scope as well, it is asserted to high before I call the ReadFromBTPipeOut. The same problem occurs when calling WriteToBTPipeIn.
Does anyone know what problem it may be? Am I missing something when just calling the ReadFromBTPipeOut/ WriteToBTPipeIn?
The platform I used:
Matlab 2009a (32-bits), Visual Studio 2008, USB3.0.