Search found 4 matches

by sanjosanjo
Mon Aug 06, 2012 9:35 pm
Forum: SUB-20 General Discussion
Topic: Matlab SPI write with ESS
Replies: 3
Views: 23810

Re: Matlab SPI write with ESS

Okay, things are improving. The function executes and I get SPI activity as described by '4vHvHvHv-^v', which is the sequenceI need. However, the SS1 pin has the activity. I've tried '1vHvHvHv-^v', '2vHvHvHv-^v', '3vHvHvHv-^v', '4vHvHvHv-^v' and '5vHvHvHv-^v' and the activity is always on the SS1 pi...
by sanjosanjo
Mon Feb 20, 2012 9:23 pm
Forum: SUB-20 General Discussion
Topic: Matlab SPI write with ESS
Replies: 3
Views: 23810

Matlab SPI write with ESS

I'm having trouble using the .NET Matlab interface to write to the SPI interface using the extended mode (ESS). I verified the standard SPI write was working using the example code, then modified it to try ESS (see below). I get the error "No method 'SPI_Transfer_Ess' with matching signature found f...
by sanjosanjo
Tue Jan 24, 2012 9:21 pm
Forum: SUB-20 General Discussion
Topic: Matlab loadlibrary, reading from SUB20
Replies: 3
Views: 10429

Re: Matlab loadlibrary, reading from SUB20

Thanks for the quick reply! The first thing I notice is some warnings with the new .h file when I perform "loadlibrary(...)": Warning: The function 'sub_reset' was not found in the library Warning: The function 'sub_eep_read' was not found in the library Warning: The function 'sub_eep_write' was not...
by sanjosanjo
Mon Jan 23, 2012 2:23 pm
Forum: SUB-20 General Discussion
Topic: Matlab loadlibrary, reading from SUB20
Replies: 3
Views: 10429

Matlab loadlibrary, reading from SUB20

Hi. I'm stuck with using the old "loadlibrary" method in Matlab because my version doesn't support the .NET interface. I've been able to send commands with no problem, both to the LCD and the SPI interface. However, I'm unable to read anything back using Matlab. In my script I want to check if the m...