Search found 241 matches

by xol
Thu Jun 09, 2011 5:37 am
Forum: SUB-20 General Discussion
Topic: CFP MSA Management Protocol Implementation
Replies: 0
Views: 9157

CFP MSA Management Protocol Implementation

HI, SUB-20 currently supports IEEE 802.3 Clause 22 and Caluse 45 Management Interface Implementation via MDC MDIO http://www.xdimax.com/sub20/doc/HTML/mdio_functions.htm We are currently working on extending it to support CFP MSA Rev 1.4 Specification by http://www.cfp-msa.org/ Actually it is pretty...
by xol
Tue Jun 07, 2011 3:43 pm
Forum: SUB-20 General Discussion
Topic: Open Drain GPIO ?
Replies: 6
Views: 17004

Re: Open Drain GPIO ?

Here are two options:

NPN Transistor
2N2222.jpg
2N2222.jpg (24.36 KiB) Viewed 16984 times
N-channel MOSFET
2N7002.jpg
2N7002.jpg (28.19 KiB) Viewed 16984 times
Consider the fact that

IN="0" OUT= Open Drain
IN="1" OUT= "0"
by xol
Thu Jun 02, 2011 10:07 am
Forum: SUB-20 General Discussion
Topic: SUB 20 -I2C mode (master/slave)
Replies: 4
Views: 12660

Re: SUB 20 -I2C mode (master/slave)

Well at the first glance the main problem in your flow is switching time between SUB-20 master and SUB-20 slave. It is not guaranteed that sub_fifo_config will do it in 2ms. The problem is not SUB-20 but USB itself. USB latency is around 1-2ms related to 1ms frame delay. Also consider that PC itself...
by xol
Wed Jun 01, 2011 6:20 pm
Forum: SUB-20 General Discussion
Topic: SUB 20 -I2C mode (master/slave)
Replies: 4
Views: 12660

Re: SUB 20 -I2C mode (master/slave)

Hello, we are writing application in vb .net, which communicates with i2c device once as a master and once as a slave in short time (miliseconds) . When the SUB 20 works as a master we do not have problem, but when we switched to the SLAVE mode we are not able to recognize that the data transfer to...
by xol
Wed Jun 01, 2011 4:40 am
Forum: SUB-20 General Discussion
Topic: Open Drain GPIO ?
Replies: 6
Views: 17004

Re: Open Drain GPIO ?

Well with Fast PWM it is not possible as we use for Fast PWM HW module that do not have open-drain output. So I see two possible solutions: 1.You can use external transistor to convert output to open-drain. If you need we can provide reference schematics. 2. With a FW modification I can give you ope...
by xol
Tue May 31, 2011 9:01 pm
Forum: SUB-20 General Discussion
Topic: Open Drain GPIO ?
Replies: 6
Views: 17004

Re: Open Drain GPIO ?

Sure. You can configure SUB-20 GPIO as input with or without pull-up
Take a look here:
http://www.xdimax.com/sub20/doc/HTML/gpio_functions.htm
We impose via API all functionality available in CPU.
by xol
Mon May 16, 2011 9:37 am
Forum: SUB-20 General Discussion
Topic: GPIO default configuration
Replies: 4
Views: 11953

Re: GPIO default configuration

Hi,
It is not safe to have GPIO in output on power-up. You can burn out things doing that. You should have a definite reason to do it and would be interesting to know it. Tell us what do you need it for?
by xol
Sun May 15, 2011 4:00 am
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 88169

Re: SPI data transfer issue

HI,
We did not get any information form Bocdan, so I assume he has found a problem in his code.
by xol
Sat May 14, 2011 4:46 am
Forum: SUB-20 General Discussion
Topic: Error
Replies: 8
Views: 16350

Re: Error

HI,
More likely you have a memory leakage that overwrite trace control variable.
First of all I suggest you to run
rc = sub_fifo_read( hndl, in_buff,64,20000);
It is not safe to use less then 64 bytes buffer.
by xol
Fri May 13, 2011 12:48 pm
Forum: SUB-20 General Discussion
Topic: Error
Replies: 8
Views: 16350

Re: Error

OK,
Now tell me how do you get the trace? Do you turn it on or it shows up sporadically?