Search found 241 matches

by xol
Mon Jul 25, 2011 6:02 am
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 88170

Re: SPI data transfer issue

No,
There is no "accident" in digital electronics.
If something works or does not work there should be an explanation.
by xol
Sat Jul 23, 2011 9:49 am
Forum: SUB-20 General Discussion
Topic: SUB-20-Dxxx - Heavy Duty Enclosure with DB9 and DB26
Replies: 0
Views: 10723

SUB-20-Dxxx - Heavy Duty Enclosure with DB9 and DB26

We are happy to announce availability of the new Heavy Duty Enclosure for SUB-20-V, SUB-20-LV or SUB-20-R25, SUB-20-LR25 models. New enclosure has a DB26 connector to rout outside most of the SUB-20 I/O from GPIO and GPIOB headers. sub20-D26.jpg DB26 Connector Pinout GPIO/SPI GPIO/GPIB Alternative D...
by xol
Thu Jul 21, 2011 3:33 pm
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 88170

Re: SPI data transfer issue

Hi,
Once again.
1. You need to work in SPI_SMPL_SETUP | SPI_CPOL_RISE
2. I want to see oscilloscope diagram. And you must tell me what you get from SUB-20 in the case shown on diagram.
by xol
Thu Jul 21, 2011 11:11 am
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 88170

Re: SPI data transfer issue

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. Data Transfers: Every byte consists of 8 bits. Bytes are transferred with the most significant ...
by xol
Thu Jul 21, 2011 10:08 am
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 88170

Re: SPI data transfer issue

HI,
I did not understand what is actually your question?
by xol
Mon Jul 18, 2011 6:08 am
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 88170

Re: SPI data transfer issue

HI, As long as SUB-20 is doing what you ask him to do (and the best way to see it is oscilloscope trace) We could not help you too much as we are not so good familiar with the 6802 IC. SUB-20 works with a lot of different IC's and we definitely can not know operation details of each of them. This is...
by xol
Sat Jul 16, 2011 2:49 pm
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 88170

Re: SPI data transfer issue

HI, You tried and what happens? What did you get and what is wrong with it? In any case this type of interfaces should be debugged with digital oscilloscope. Connect it to SCK,MISO,MOSI,SS0 look at the signals level and make sure you are doing everything according to the specification of 6802-2. If ...
by xol
Tue Jul 05, 2011 4:26 am
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 88170

Re: SPI data transfer issue

HI, To be short. In SPI there is no WRITE and READ. SPI master is doing both READ and WRITE at the same time. It shifts out data to MOSI and shifts in data from MISO at each SCK clock. So if you need let's say "WRITE" 1 byte and after that "READ" 8 bytes you have to run 1+8 = 9 bytes SPI transaction...
by xol
Tue Jun 28, 2011 9:08 pm
Forum: SUB-20 General Discussion
Topic: AD9851 interfacing
Replies: 2
Views: 8140

Re: AD9851 interfacing

Q. Can I program the AD9851 board using only the SUB-20? Q. If yes, what pins go where? I have no experience with SPI, only I2C Yes. You need to read data sheet. ON SUb-20 side SPI signals are SCK (clock) MOSI (Data Out) MISO(Data In) SS(Slave Select) I'm not sure but to my understanding it should ...
by xol
Fri Jun 10, 2011 10:16 am
Forum: SUB-20 General Discussion
Topic: GPIO default configuration
Replies: 4
Views: 11953

Re: GPIO default configuration

HI, As suggested by motif you have to put external pull-down resistors. Even if FW configures all GPIO to be low there is a power up time between power up and CPU reset procedure. At this time FW is not running and it could not hold GPIO low. Take your relay matrix and put let's say 1K resistor betw...