Level Converter not Level I Ordered?
Moderator: serg
Level Converter not Level I Ordered?
Hi,
I ordered several SUB-20 devices with 1.2V level converter for MDIO communications. After having no success with the device I measured the voltage levels on pins 1 and 7 of J6 (MDC1 and MDIO1) and found 3.3V. Do I need to connect a reference voltage to the device or did I just not get what I ordered?
Thanks,
Greg
I ordered several SUB-20 devices with 1.2V level converter for MDIO communications. After having no success with the device I measured the voltage levels on pins 1 and 7 of J6 (MDC1 and MDIO1) and found 3.3V. Do I need to connect a reference voltage to the device or did I just not get what I ordered?
Thanks,
Greg
Re: SUB-20-Lxxx with Level Converters
Hi,
Sure you have to use reference voltage to make level converters work. Otherwise they can not know what specific voltage is required. Let's do it together:
1. Jumpers configuration:
Set JP6 2-3 - External SPI voltage via J6.9 or DB9.3
http://www.xdimax.com/sub20/doc/HTML/jumpers.htm
2. Connect reference voltage to J6.9 or DB9.3
3. Now pins marked as Optional Level Converter* are working with reference voltage
http://www.xdimax.com/sub20/doc/HTML/spi_header.htm
Sure you have to use reference voltage to make level converters work. Otherwise they can not know what specific voltage is required. Let's do it together:
1. Jumpers configuration:
Set JP6 2-3 - External SPI voltage via J6.9 or DB9.3
http://www.xdimax.com/sub20/doc/HTML/jumpers.htm
2. Connect reference voltage to J6.9 or DB9.3
3. Now pins marked as Optional Level Converter* are working with reference voltage
http://www.xdimax.com/sub20/doc/HTML/spi_header.htm
Re: Level Converter not Level I Ordered?
Thanks for your help.
I have made the connections you have indicated: Jumper JP6 2-3 and 1.2V reference to J6.9. I now see 1.2V on the MDC1 and MDIO1 lines.
From the command prompt I issue the command:
Sub_app.exe --mdio=1a,0x1F,0x01,0xA011 --mdio=1r,0x1f,0x01,0xA011
I am expecting this to achieve the following:
--mdio=1a,0x1F,0x01,0xA011 -- set the operation address to 0xA011 on port 0x1F, device 1
--mdio=1r,0x1f,0x01,0xA011 -- read the value at register 0xA011 and return it in the data field (does it matter what I put in the data field? Here I have entered a value of 0xA011 but I don't think it uses this value except to return a result.
The response back from the sub_app.exe is:
MDIO[0] data=0xA011 -- it just echoes back the register address
MDIO[1] data=0xFFFF -- the content of this location should be 0x0200
Using LabVIEW and dll function calls I can read the serial number and product ID of the SUB-20 but I get the same result when I issue the corresponding MDIO commands shown above using a call to the dll function sub_mdio_xfer_ex.
I know the MDIO on the DUT is OK (I can read back 0x0200 using a different converter) but there is still something missing with the SUB-20 device. Am I sending the wrong command? Do I need to provide a clock or other signals to the SUB-20?
Thanks again,
Greg
I have made the connections you have indicated: Jumper JP6 2-3 and 1.2V reference to J6.9. I now see 1.2V on the MDC1 and MDIO1 lines.
From the command prompt I issue the command:
Sub_app.exe --mdio=1a,0x1F,0x01,0xA011 --mdio=1r,0x1f,0x01,0xA011
I am expecting this to achieve the following:
--mdio=1a,0x1F,0x01,0xA011 -- set the operation address to 0xA011 on port 0x1F, device 1
--mdio=1r,0x1f,0x01,0xA011 -- read the value at register 0xA011 and return it in the data field (does it matter what I put in the data field? Here I have entered a value of 0xA011 but I don't think it uses this value except to return a result.
The response back from the sub_app.exe is:
MDIO[0] data=0xA011 -- it just echoes back the register address
MDIO[1] data=0xFFFF -- the content of this location should be 0x0200
Using LabVIEW and dll function calls I can read the serial number and product ID of the SUB-20 but I get the same result when I issue the corresponding MDIO commands shown above using a call to the dll function sub_mdio_xfer_ex.
I know the MDIO on the DUT is OK (I can read back 0x0200 using a different converter) but there is still something missing with the SUB-20 device. Am I sending the wrong command? Do I need to provide a clock or other signals to the SUB-20?
Thanks again,
Greg
Re: Level Converter not Level I Ordered?
In addition to the previous post, here are some more specific questions which I can't find answers for on the web site or in the manual:
I am trying to use MDIO to communicate to an MDIO clause 45 compliant device operating at 1.2V. I special ordered 5 SUB-20 devices with 1.2V level converters. The manual doesn't include much detail on how to set up the device for MDIO or the level converters so I have been assuming no setup is required. Through help from the tech support team I have learned I do need to physically configure the level converter to operate at 1.2V by providing a reference from my device and setting a jumper.
1) Since I am using SPI / J6 do I need to configure the SPI interface at all? If yes, what needs set?
2) Do I need to enable the SPI?
3) Do I need to provide an external clock?
Thanks,
Greg
I am trying to use MDIO to communicate to an MDIO clause 45 compliant device operating at 1.2V. I special ordered 5 SUB-20 devices with 1.2V level converters. The manual doesn't include much detail on how to set up the device for MDIO or the level converters so I have been assuming no setup is required. Through help from the tech support team I have learned I do need to physically configure the level converter to operate at 1.2V by providing a reference from my device and setting a jumper.
1) Since I am using SPI / J6 do I need to configure the SPI interface at all? If yes, what needs set?
2) Do I need to enable the SPI?
3) Do I need to provide an external clock?
Thanks,
Greg
Re: Level Converter not Level I Ordered?
HI,
2. No
3. No
First of all tell me please what FW version do you have?
Run
If your version is below 0.2.8 you need to upgrade it.
Let me know.
1. No1) Since I am using SPI / J6 do I need to configure the SPI interface at all? If yes, what needs set?
2) Do I need to enable the SPI?
3) Do I need to provide an external clock?
2. No
3. No
First of all tell me please what FW version do you have?
Run
Code: Select all
<0> ./sub_app.exe --version
XDimax LTD, V0.1.6, Sep 27 2010 18:16:12
DLL/Lib: 0.1.12.18
Driver : 0.1.12.1
SUB-20 : 0.2.8 <---- SUB-20 Version
Boot : 0.5
Let me know.
Re: Level Converter not Level I Ordered?
Hi,
sub_app.exe --version
XDimax LTD, V0.1.6, Aug 17 2010 21:56:51
DLL/Lib: 0.0.2.18
Driver : 0.0.2.0
SUB-20 : 0.2.2
Boot : 0.5
It looks like I have an older SUB-20 driver. Where do I find the update and how do I install it?
Thanks,
Greg
sub_app.exe --version
XDimax LTD, V0.1.6, Aug 17 2010 21:56:51
DLL/Lib: 0.0.2.18
Driver : 0.0.2.0
SUB-20 : 0.2.2
Boot : 0.5
It looks like I have an older SUB-20 driver. Where do I find the update and how do I install it?
Thanks,
Greg
Re: Level Converter not Level I Ordered?
You can use this link:
viewtopic.php?f=2&t=3#p353
Or simply go to download section on the web page:
http://www.xdimax.com/sub20/sub20.html#DLD
viewtopic.php?f=2&t=3#p353
Or simply go to download section on the web page:
http://www.xdimax.com/sub20/sub20.html#DLD
Re: Level Converter not Level I Ordered?
Hi,
Note that these two links point to different versions and I misunderstood the versioning convention. I actually do have the latest version (0.2.2 as noted in my previous post) and I still have the issue of not being able to communicate with an MDIO device at 1.2V.
Please help.
Regards,
Greg
Note that these two links point to different versions and I misunderstood the versioning convention. I actually do have the latest version (0.2.2 as noted in my previous post) and I still have the issue of not being able to communicate with an MDIO device at 1.2V.
Please help.
Regards,
Greg
Re: Level Converter not Level I Ordered?
After reviewing your note above maybe I still don't understand the versioning.
After installing from the second link in your response above I get:
sub_app.exe --version
XDimax LTD, V0.1.6, SEP 23 2010 00:04:11
DLL/LIB: 0.0.2.18
Driver : 0.0.2.0
SUB-20: 0.2.2
Boot : 0.5
This looks like I still don't have SUB-20 vs 0.2.8 or later.
My process was to download the software from the link you provided and save it to my hard drive. I then uninstalled the previous version and double-clicked the saved file to install the latest.
The date on the currently installed version appears to have been updated appropriately but the SUB-20 version isn't late enough. What am I doing wrong?
Thanks,
Greg
After installing from the second link in your response above I get:
sub_app.exe --version
XDimax LTD, V0.1.6, SEP 23 2010 00:04:11
DLL/LIB: 0.0.2.18
Driver : 0.0.2.0
SUB-20: 0.2.2
Boot : 0.5
This looks like I still don't have SUB-20 vs 0.2.8 or later.
My process was to download the software from the link you provided and save it to my hard drive. I then uninstalled the previous version and double-clicked the saved file to install the latest.
The date on the currently installed version appears to have been updated appropriately but the SUB-20 version isn't late enough. What am I doing wrong?
Thanks,
Greg