Search found 241 matches

by xol
Mon Aug 15, 2011 4:57 am
Forum: SUB-20 General Discussion
Topic: Promoting SUB-20
Replies: 1
Views: 6976

Promoting SUB-20

Dear SUB-20 community, We need your help! Not to survive (we are not doing too bad at this difficult times) but to raise our SUB-20 baby, bring you more features, even better support and new products in the future. Many of you were given our best support in the critical moments at the project deadli...
by xol
Thu Aug 04, 2011 11:36 am
Forum: SUB-20 General Discussion
Topic: SUB-20 Reset
Replies: 6
Views: 13933

Re: SUB-20 Reset

No,
SW reset is not that simple as it will involve USB reset and USB reconnect. I do not think you really need it.
by xol
Thu Aug 04, 2011 10:34 am
Forum: SUB-20 General Discussion
Topic: SUB-20 Reset
Replies: 6
Views: 13933

Re: SUB-20 Reset

GPIO default state is ALL INPUT. You can do it as

Code: Select all

sub_gpio_config ( hndl,  0x0 /*set*/, &config, 0xFFFFFFFF /*mask*/ ) ;
sub_gpiob_config( hndl,  0x0 /*set*/, &config, 0xFF       /*mask*/ ) ;
by xol
Thu Aug 04, 2011 9:49 am
Forum: SUB-20 General Discussion
Topic: SUB-20 Reset
Replies: 6
Views: 13933

Re: SUB-20 Reset

What do you need it for?
by xol
Sat Jul 30, 2011 1:36 pm
Forum: SUB-20 General Discussion
Topic: Writing outputs seperately on IC PCF8574
Replies: 5
Views: 12927

Re: Writing outputs seperately on IC PCF8574

OK,
But how is it related to SUB-20? You should talk to PCF8574 manufacturer.
SUB-20 is only a channel between your PC program and PCF.
by xol
Sat Jul 30, 2011 7:01 am
Forum: SUB-20 General Discussion
Topic: Writing outputs seperately on IC PCF8574
Replies: 5
Views: 12927

Re: Writing outputs seperately on IC PCF8574

OK,
Now tell us in plain English with register addresses and values, what are you doing, what do you expect to get and what actually happens.
by xol
Fri Jul 29, 2011 5:28 pm
Forum: SUB-20 General Discussion
Topic: Writing outputs seperately on IC PCF8574
Replies: 5
Views: 12927

Re: Writing outputs seperately on IC PCF8574

Hi,
Drop us a piece of your code and we will tell you where the problem is.
by xol
Mon Jul 25, 2011 2:41 pm
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 87452

Re: SPI data transfer issue

I assume SDI is data from IC to SUB-20 and
SDO is from SUB-20 to IC

If it is vice versa you will need instead SETUP_SAMPLE
by xol
Mon Jul 25, 2011 2:39 pm
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 87452

Re: SPI data transfer issue

I used this: Clock Phase And Polarity: The LTC6802-2 SPI compatible interface is configured to operate in a system using CPHA = 1 and CPOL = 1. Consequently, data on SDI must be stable during the rising edge of SCKI . It means you can sample on rising edge Data Transfers: Every byte consists of 8 bi...
by xol
Mon Jul 25, 2011 10:08 am
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 87452

Re: SPI data transfer issue

Hi. I can not help you more with it. You have all required documentation and data sheets. We can not study IC's that all our customers work with. This is a job you have to do on your own. And we can not teach customers what is SPI or I2C e.t.c... There is a lot of information about it in the net. If...