[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?
www.8devices.com
View unanswered posts | View active topics It is currently 18 Apr 2024, 08:53



Reply to topic  [ 9 posts ] 
 SPI_MISO – 2.5V or 3.3V? 
Author Message

Joined: 12 Aug 2014, 17:10
Posts: 3
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?


12 Aug 2014, 17:51
Profile

Joined: 07 Dec 2011, 16:01
Posts: 525
Location: Lithuania


12 Aug 2014, 19:10
Profile

Joined: 21 Aug 2013, 21:21
Posts: 101
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 ?


12 Aug 2014, 19:45
Profile

Joined: 12 Aug 2014, 17:10
Posts: 3
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.


12 Aug 2014, 20:00
Profile

Joined: 07 Dec 2011, 16:01
Posts: 525
Location: Lithuania


12 Aug 2014, 20:12
Profile

Joined: 21 Aug 2013, 21:21
Posts: 101


12 Aug 2014, 21:21
Profile

Joined: 07 Dec 2011, 16:01
Posts: 525
Location: Lithuania
BTW serial port also must be connected via voltage divider.LAN leds too.But I have never seen module damaged for this reason.


13 Aug 2014, 04:50
Profile

Joined: 12 Aug 2014, 17:10
Posts: 3
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.


13 Aug 2014, 06:37
Profile

Joined: 07 Dec 2011, 16:01
Posts: 525
Location: Lithuania


13 Aug 2014, 07:21
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.