[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community Supercomputing for Everyone 2014-10-26T13:49:29+00:00 https://parallella.org/forums/feed.php?f=11&t=1781 2014-10-26T13:49:29+00:00 2014-10-26T13:49:29+00:00 https://parallella.org/forums/viewtopic.php?t=1781&p=11368#p11368 <![CDATA[Re: GPIO interfacing, voltage translation]]>
Cheers,

Andrew

Statistics: Posted by 9600 — Sun Oct 26, 2014 1:49 pm


]]>
2014-10-26T08:15:41+00:00 2014-10-26T08:15:41+00:00 https://parallella.org/forums/viewtopic.php?t=1781&p=11364#p11364 <![CDATA[Re: GPIO interfacing, voltage translation]]>
Basically, I think matters improved once I got the PCBs in, rather than the perfboard prototype I was using, and its attendant inductance - and a single ground line down the edge of the board is now a proper plane.

Also, I experienced the more concerning overshoots when I was testing for the worst possible case. 1v8 on the low side, 10v on the high side. I still see a concerning level of overshoot at these levels, but at the levels that concern me (2v5 to 5v0) the overshoot is in the order of 3%. While I am unsure what affect my monkey patch cabling will have, in the end I decided nothing ventured, nothing gained.

I intend to make some time to get some proper results on the scopes at work - I only did a very quick test on Friday, and unfortunately since my Android phone only supports PTP/MTP and not USB mass storage, and I lacked a USB key, I was grabbing traces from a lovely ~$23k scope on a crappy smartphone camera).

Eventually, I intend to put up a proper post on this on my blog, along with the scope captures, and I will link from here. In the coming months I will also be prototyping a few dual supply level converters based on TI chipsets, to give people a few options. In particular, the TXB0108 (which I already mentioned in this thread), the TXS0108E (which supports not only push-pull, but also open-drain), and the LSF0108 (which boasts very high speed operation - ~50x increase over TXx chips for open-drain applications, and a ~50% increase for push-pull).

Statistics: Posted by yanidubin — Sun Oct 26, 2014 8:15 am


]]>
2014-10-04T06:52:24+00:00 2014-10-04T06:52:24+00:00 https://parallella.org/forums/viewtopic.php?t=1781&p=11067#p11067 <![CDATA[Re: GPIO interfacing, voltage translation]]> Statistics: Posted by yanidubin — Sat Oct 04, 2014 6:52 am


]]>
2014-09-29T10:32:31+00:00 2014-09-29T10:32:31+00:00 https://parallella.org/forums/viewtopic.php?t=1781&p=10997#p10997 <![CDATA[Re: GPIO interfacing, voltage translation]]>

Statistics: Posted by yanidubin — Mon Sep 29, 2014 10:32 am


]]>
2014-09-27T11:09:07+00:00 2014-09-27T11:09:07+00:00 https://parallella.org/forums/viewtopic.php?t=1781&p=10991#p10991 <![CDATA[Re: GPIO interfacing, voltage translation]]>
The TCA9406 looks like it might be better for higher speed stuff. Doesn't seem to come on any off-the-shelf boards (not an issue when spinning a board - but wanting to evaluate interfaces that are easily accessible to anyone also, so these can be recommended).

Statistics: Posted by yanidubin — Sat Sep 27, 2014 11:09 am


]]>
2014-09-27T10:56:53+00:00 2014-09-27T10:56:53+00:00 https://parallella.org/forums/viewtopic.php?t=1781&p=10990#p10990 <![CDATA[Re: GPIO interfacing, voltage translation]]>
I don't remember the specifics but it worked as expected, so you should be fine.

Regarding I2C once I designed a vision system with the Toshiba TCM8230 camera for a homemade pick-and-place and I used the TCA9406 for the voltage translation:

Statistics: Posted by patc — Sat Sep 27, 2014 10:56 am


]]>
2014-09-27T07:48:13+00:00 2014-09-27T07:48:13+00:00 https://parallella.org/forums/viewtopic.php?t=1781&p=10985#p10985 <![CDATA[GPIO interfacing, voltage translation]]>
The next step for me is interfacing to an external microprocessor (an AVR I use to drive motors) running at a higher voltage domain (5v). So as part of this, I thought it may be helpful to others if I provided an interfacing guide, suggesting how to safely interface the ~2.5-2.9-3.3v (depending on PMIC config / stage of bootup process) IO levels to arbitrary external interfaces using a bi-directional converter.

I intend to use BSS138 MOSFET based convertsion, as described in this . The reason I chose this one, apart from its simplicity (no ICs required) and cost is that it does not tie you to fixed levels. This is a very versatile converter to have in your toolbox, allowing you to convert from ~1.2V up to ~10V - I've found differing claims on the exact limits). So you can use it to convert 2v5 to 5v to connect your Parallella to an AVR, and then reuse it to connect either of these to your Beaglebone (2v5 to 3v3, or 3v3 to 5v). The only concern I have is the speed of the circuit, and what effect this will have for various applications.

I have a veroboard prototype of the converter mostly working, and from my DMM measurements (I have no scope at home) it seems to deliver what it promises - once I've connected it via something expendable (like an ARM7 board, or a Raspberry Pi), I'll hook it up to the Parallella. For my project, I intend to build the converter into the PCB carrying the AVR. Not planning to roll a daughterboard - but something which interfaces to the Porcupine - likely cabled for now.

You can order these as separate modules from the likes of .

Assuming I am able to get something sane happening with my veroboard prototyped converter - it seems fairly sound based on DMM measurements, but I might wait until I can scope it at work next week before I potentially risk my Parallella. Hmmm... I guess I do have a Raspberry Pi lying around with no purpose - perhaps it will make a good canary :)

Obviously there are IC-based solutions which might be more appropriate where high-speed interfaces need translation - like the . This provides a similar wide-range of operation, and also bi-directional - but the current driving capacity is minimal, so you can't use it for switching loads.

Anyone used the BSS138 converter before, and familiar with their performance/speed (with/without pullups - since those are only needed for open-drain outputs such as I2C) and want to provide some input? (at whatever voltage you like :)) Or want to suggest any alternatives?

Statistics: Posted by yanidubin — Sat Sep 27, 2014 7:48 am


]]>