[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]/includes/bbcode.php on line 112: 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 112: 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 112: 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 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
8devices Community :: View topic - SPI_MISO – 2.5V or 3.3V?
8devices Community
https://www.8devices.com/community/

SPI_MISO – 2.5V or 3.3V?
https://www.8devices.com/community/viewtopic.php?f=13&t=797
Page 1 of 1

Author:  8qs [ 12 Aug 2014, 17:51 ]
Post subject:  SPI_MISO – 2.5V or 3.3V?

I am unsure how to properly connect an SPI chip (3.3V I/O) to SPI_MISO: does it need level conversion to 2.5V?
I see 3.3V activity on SPI_MISO when internal flash is in use, however, I expected it be 2.5V since AR9331 GPIO is 2.5V...

Can anyone shed some light on this?

Author:  gedass [ 12 Aug 2014, 19:10 ]
Post subject:  Re: SPI_MISO – 2.5V or 3.3V?


Author:  FPeter [ 12 Aug 2014, 19:45 ]
Post subject:  Re: SPI_MISO – 2.5V or 3.3V?

Unfortunately, the datasheet of AR9331 is incomplete, section "7.4 GPIO Characteristics" mentions only the Input High Voltage minimum value, but there is no maximum value. In most cases, maximum value is somewhere in 1 to 1.3 x VDD25. VDD25 originates from LDO25_OUT that gives ~2.62V output - as You can find it on page 308...

I already used it several times with 3.3V devices, but if You would like to be really careful, a simple voltage divider can be used on the return line from device as You can find it on the reverse-enginered schematic of TL-WR703N:


In most cases, the ~2.6V output voltage of AR9331 output lines is enough for 3.3V devices. You can check the min/max input / output values of them in their datasheets...

@gedass: can You please confirm if there is a voltage divider between the MISO pin of AR9331 and SO pin of the flash on the design of Carambola 2 ?

Author:  8qs [ 12 Aug 2014, 20:00 ]
Post subject:  Re: SPI_MISO – 2.5V or 3.3V?

Thanks, I already saw the TL-WR703N schematic and the voltage divider drew my attention. And yes, it works with 3.3V but according to specs it does not look to be a good practice.

In case there is a voltage divider, it would be also nice to know if SPI_MISO is connected directly to AR9331 or the flash SO pin (which would explain why I can see 3.3V levels with scope on SPI_MISO).

Waiting for confirmation from gedass.

Author:  gedass [ 12 Aug 2014, 20:12 ]
Post subject:  Re: SPI_MISO – 2.5V or 3.3V?


Author:  FPeter [ 12 Aug 2014, 21:21 ]
Post subject:  Re: SPI_MISO – 2.5V or 3.3V?


Author:  gedass [ 13 Aug 2014, 04:50 ]
Post subject:  Re: SPI_MISO – 2.5V or 3.3V?

BTW serial port also must be connected via voltage divider.LAN leds too.But I have never seen module damaged for this reason.

Author:  8qs [ 13 Aug 2014, 06:37 ]
Post subject:  Re: SPI_MISO – 2.5V or 3.3V?

OK, if that is only a 22R, I assume there is no problem adding a voltage divider (3K, 1K) for the external SPI chip to reduce possible risks.

Author:  gedass [ 13 Aug 2014, 07:21 ]
Post subject:  Re: SPI_MISO – 2.5V or 3.3V?


Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/