Search found 11 matches

by Hugoneus
Fri Jun 04, 2010 5:05 pm
Forum: SUB-20 General Discussion
Topic: MATLAB & NET. Package
Replies: 10
Views: 34754

Re: MATLAB & NET. Package

This has become quiet urgent. We are designing a whole bunch of PCBs and we are deciding whether to use the SUB20 headers on the board. Please let me know if you can provide a working code for SPI communication without invoking the NET. package in MATLAB. We will purchase more units (already have pu...
by Hugoneus
Fri Jun 04, 2010 2:43 pm
Forum: SUB-20 General Discussion
Topic: MATLAB & NET. Package
Replies: 10
Views: 34754

Re: MATLAB & NET. Package

The examples that you have provided for Matlab all use the NET. package from Mathworks. They all use commands like: NET.addAssembly('C:\Program Files\SUB-20\bin\sub20dnc.dll'); NET.createArray('System.Byte', 1) So can you please provide me with some Matlab code that does not invoke those type of NET...
by Hugoneus
Thu Jun 03, 2010 3:16 pm
Forum: SUB-20 General Discussion
Topic: MATLAB & NET. Package
Replies: 10
Views: 34754

Re: MATLAB & NET. Package

What does that mean? Can you post a sample code for MATLAB that doesn't use the NET. functionality of MATLAB? This can be a simple example, like writing a character to the LCD. We are in the process of deciding if we should order 5 more units or not, so please let me know ASAP. The NE builder packag...
by Hugoneus
Wed Jun 02, 2010 8:17 pm
Forum: SUB-20 General Discussion
Topic: MATLAB & NET. Package
Replies: 10
Views: 34754

MATLAB & NET. Package

Is there any way to use your functions in MATLAB without having the NET. package installed?

(The function NET.addAssembly is part of the Net Builder package in MATLAB. This is an expensive toolkit and we would like to avoid it.)

Thanks
by Hugoneus
Thu May 13, 2010 1:59 am
Forum: SUB-20 General Discussion
Topic: SPI With Reset Pin
Replies: 3
Views: 13228

Re: SPI With Reset Pin

Yes, I know that is possible.

But for our product, we are running a single ribbon cable from the SUB-20 SPI port to our board. We don't want to splice that cable to get to one of the GPIO pins.

The only connection we wish to use is the 10-pin SPI connector.
by Hugoneus
Wed May 12, 2010 8:57 pm
Forum: SUB-20 General Discussion
Topic: SPI With Reset Pin
Replies: 3
Views: 13228

SPI With Reset Pin

Hi,

I have gotten the MATLAB code to work for SPI communication using MISO, MOSI, SCK & SS0.

But the circuit that I use also needs a Rest pin. I wanted to use SS1 for that purpose. Is that possible? Can you show me a few lines of code to do that?
by Hugoneus
Wed May 12, 2010 3:54 am
Forum: SUB-20 General Discussion
Topic: Win64 Version, SPI & Matlab
Replies: 5
Views: 17614

Re: Win64 Version, SPI & Matlab

Thanks!

Great customer service!
by Hugoneus
Wed May 12, 2010 3:36 am
Forum: SUB-20 General Discussion
Topic: Win64 Version, SPI & Matlab
Replies: 5
Views: 17614

Re: Win64 Version, SPI & Matlab

Are you certain that there is gpio.m and spi.m? I only see one file, which is the adc.m.
by Hugoneus
Wed May 12, 2010 3:14 am
Forum: SUB-20 General Discussion
Topic: Using SPI_Transfer() Method In C#
Replies: 13
Views: 39852

Re: Using SPI_Transfer() Method In C#

Hi,

No I don't have any particular problems with it.

I posted in another thread, my questions about Matlab and SPI. Can you kindly take a look and post a reply?

Thanks!
by Hugoneus
Tue May 11, 2010 11:07 pm
Forum: SUB-20 General Discussion
Topic: Using SPI_Transfer() Method In C#
Replies: 13
Views: 39852

Re: Using SPI_Transfer() Method In C#

What about the latest version of the FW? This one seems to still have the 0.2.3.