delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/04/05/00:16:55

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <20120405041611.26684.qmail@stuge.se>
Date: Thu, 5 Apr 2012 06:16:11 +0200
From: Peter Stuge <peter AT stuge DOT se>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Re: [coreboot] Dual SPI Flash adapter
Mail-Followup-To: geda-user AT delorie DOT com
References: <4F577EBB DOT 7000305 AT schinagl DOT nl> <4F68F9C2 DOT 207 AT schinagl DOT nl> <20120321034205 DOT 26453 DOT qmail AT stuge DOT se> <4F6A7930 DOT 7000603 AT schinagl DOT nl> <4F6B757A DOT 6030905 AT schinagl DOT nl> <20120326225412 DOT 3fef55d0010e22c54bebcb79 AT gmail DOT com> <4F70E98B DOT 1080406 AT schinagl DOT nl> <4F7CD599 DOT 6080301 AT schinagl DOT nl> <20120404163815 DOT 197ce59d AT svelte> <20120405012031 DOT 13773 DOT qmail AT stuge DOT se>
MIME-Version: 1.0
In-Reply-To: <20120405012031.13773.qmail@stuge.se>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--ZARJHfwaSJQLOEUz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Peter Stuge wrote:
> It's a mux on the CS/ line of two SPI flash chips.

Oliver, I really think you should add a real mux to the PCB, and have
that be "remote controlled" by the jumper or mechanical switch.

It's a small board but I think it can be done. The design I used on
the M57SLI (see http://stuge.se/m57sli/ if curious) is shown in the
attachment, but I suggest to make some improvements:

1. change things around so that the switch common is GND
2. look for little logic to reduce component count

The attachment has two suggested circuits using little logic, one
with only two components (3306+resistorpack) but which then requires
a SPDT switch, and one with three components (3306+1g14+resistorpack)
but which only requires shorting a jumper to ground to switch between
flash chips.


//Peter

--ZARJHfwaSJQLOEUz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dspi.schem"

v 20081231 1
C 40000 40000 0 0 0 title-B.sym
C 44000 47400 1 0 0 npn-3.sym
{
T 44900 47900 5 10 0 0 0 0 1
device=NPN_TRANSISTOR
T 44900 47900 5 10 1 1 0 0 1
refdes=Q?
T 44900 47700 5 10 1 1 0 0 1
value=BC847C
}
C 45200 46400 1 0 0 npn-3.sym
{
T 46100 46900 5 10 0 0 0 0 1
device=NPN_TRANSISTOR
T 46100 46900 5 10 1 1 0 0 1
refdes=Q?
T 46100 46700 5 10 1 1 0 0 1
value=BC847C
}
C 42900 47800 1 0 0 resistor-2.sym
{
T 43300 48150 5 10 0 0 0 0 1
device=RESISTOR
T 43100 48100 5 10 1 1 0 0 1
refdes=R?
T 43100 47600 5 10 1 1 0 0 1
value=4k7
}
C 42900 46800 1 0 0 resistor-2.sym
{
T 43300 47150 5 10 0 0 0 0 1
device=RESISTOR
T 43100 47100 5 10 1 1 0 0 1
refdes=R?
T 43100 46600 5 10 1 1 0 0 1
value=4k7
}
C 44700 48800 1 90 0 resistor-2.sym
{
T 44350 49200 5 10 0 0 90 0 1
device=RESISTOR
T 44400 49000 5 10 1 1 90 0 1
refdes=R?
T 44700 48800 5 10 1 1 0 0 1
value=100k
}
C 45900 48800 1 90 0 resistor-2.sym
{
T 45550 49200 5 10 0 0 90 0 1
device=RESISTOR
T 45600 49000 5 10 1 1 90 0 1
refdes=R?
T 45900 48800 5 10 1 1 0 0 1
value=100k
}
N 43800 47900 44000 47900 4
N 44600 48400 44600 48800 4
N 45200 46900 43800 46900 4
N 45800 47400 45800 48800 4
N 44600 48600 46600 48600 4
N 45800 47600 46600 47600 4
N 42600 45400 42000 45400 4
C 42200 45100 1 0 0 gnd-1.sym
C 46600 48500 1 0 0 output-1.sym
{
T 46700 48800 5 10 0 0 0 0 1
device=OUTPUT
T 46800 48800 5 10 1 1 0 0 1
value=flash1 CS#
}
C 46600 47500 1 0 0 output-1.sym
{
T 46700 47800 5 10 0 0 0 0 1
device=OUTPUT
T 46800 47800 5 10 1 1 0 0 1
value=flash2 CS#
}
N 44600 49700 44600 49900 4
N 45800 49900 45800 49700 4
C 42900 49900 1 0 0 3.3V-plus-1.sym
C 42100 45700 1 90 0 resistor-2.sym
{
T 41750 46100 5 10 0 0 90 0 1
device=RESISTOR
T 41800 45900 5 10 1 1 90 0 1
refdes=R?
T 42100 45700 5 10 1 1 0 0 1
value=100k
}
C 42700 45700 1 90 0 resistor-2.sym
{
T 42350 46100 5 10 0 0 90 0 1
device=RESISTOR
T 42400 45900 5 10 1 1 90 0 1
refdes=R?
T 42700 45700 5 10 1 1 0 0 1
value=100k
}
N 42000 46600 42000 47900 4
N 42600 46600 42600 47200 4
N 42000 45400 42000 45700 4
N 42600 45700 42600 45400 4
C 40800 47200 1 0 0 switch-spdt-1.sym
{
T 41200 48000 5 10 0 0 0 0 1
device=SPDT
T 41200 47800 5 10 1 1 0 0 1
refdes=S?
}
N 41700 47600 42000 47600 4
N 42000 47900 42900 47900 4
N 41700 47200 42600 47200 4
N 42600 46900 42900 46900 4
N 40800 47400 40600 47400 4
N 40600 47400 40600 49900 4
N 40600 49900 45800 49900 4
C 40600 44700 1 0 0 input-1.sym
{
T 40600 45000 5 10 0 0 0 0 1
device=INPUT
T 40600 45000 5 10 1 1 0 0 1
value=mainboard CS#
}
N 41400 44800 45800 44800 4
N 45800 44800 45800 46400 4
N 44600 44800 44600 47400 4
C 54700 49300 1 90 0 resistor-2.sym
{
T 54350 49700 5 10 0 0 90 0 1
device=RESISTOR
T 54400 49500 5 10 1 1 90 0 1
refdes=R?
T 54700 49300 5 10 1 1 0 0 1
value=100k
}
C 55300 49300 1 90 0 resistor-2.sym
{
T 54950 49700 5 10 0 0 90 0 1
device=RESISTOR
T 55000 49500 5 10 1 1 90 0 1
refdes=R?
T 55300 49300 5 10 1 1 0 0 1
value=100k
}
N 54600 47500 54600 49300 4
N 55200 46300 55200 49300 4
N 53200 47500 55400 47500 4
N 51200 46300 55400 46300 4
C 55400 47400 1 0 0 output-1.sym
{
T 55500 47700 5 10 0 0 0 0 1
device=OUTPUT
T 55600 47700 5 10 1 1 0 0 1
value=flash1 CS#
}
C 55400 46200 1 0 0 output-1.sym
{
T 55500 46500 5 10 0 0 0 0 1
device=OUTPUT
T 55600 46500 5 10 1 1 0 0 1
value=flash2 CS#
}
N 54600 50200 54600 50400 4
N 55200 50400 55200 50200 4
C 53200 50400 1 0 0 3.3V-plus-1.sym
C 51300 49300 1 90 0 resistor-2.sym
{
T 50950 49700 5 10 0 0 90 0 1
device=RESISTOR
T 51000 49500 5 10 1 1 90 0 1
refdes=R?
T 51300 49300 5 10 1 1 0 0 1
value=100k
}
C 54100 49300 1 90 0 resistor-2.sym
{
T 53750 49700 5 10 0 0 90 0 1
device=RESISTOR
T 53800 49500 5 10 1 1 90 0 1
refdes=R?
T 54100 49300 5 10 1 1 0 0 1
value=100k
}
C 50100 48700 1 0 0 switch-spdt-1.sym
{
T 50500 49500 5 10 0 0 0 0 1
device=SPDT
T 50500 49300 5 10 1 1 0 0 1
refdes=S?
}
N 51000 49100 54000 49100 4
N 51000 48700 51200 48700 4
N 51200 50400 55200 50400 4
C 48500 47800 1 0 0 input-1.sym
{
T 48500 48100 5 10 0 0 0 0 1
device=INPUT
T 48500 48100 5 10 1 1 0 0 1
value=mainboard CS#
}
N 50800 46600 53400 46600 4
N 53400 46600 53400 47100 4
N 54000 50200 54000 50400 4
N 51200 50200 51200 50400 4
C 51400 46800 1 0 0 sn74cb3t3306-1.sym
{
T 51700 48650 5 10 0 1 0 0 1
device=SN74CB3T3306
T 52050 47100 5 10 0 1 0 0 1
footprint=SSOP8
T 53000 46800 5 10 1 1 0 0 1
refdes=U?
}
N 53200 48300 53400 48300 4
N 53400 48300 53400 50400 4
N 51200 48300 51200 49300 4
N 51200 48300 51400 48300 4
N 53200 47900 54000 47900 4
N 54000 47900 54000 49300 4
N 53200 47100 53400 47100 4
N 50800 46600 50800 47900 4
N 49300 47900 51400 47900 4
N 51400 47500 51200 47500 4
N 51200 47500 51200 46300 4
N 51400 47100 49900 47100 4
N 49900 47100 49900 48900 4
N 49900 48900 50100 48900 4
C 50200 46800 1 0 0 gnd-1.sym
C 54000 44700 1 90 0 resistor-2.sym
{
T 53650 45100 5 10 0 0 90 0 1
device=RESISTOR
T 53700 44900 5 10 1 1 90 0 1
refdes=R?
T 54000 45500 5 10 1 1 0 0 1
value=100k
}
C 54600 44700 1 90 0 resistor-2.sym
{
T 54250 45100 5 10 0 0 90 0 1
device=RESISTOR
T 54300 44900 5 10 1 1 90 0 1
refdes=R?
T 54600 45500 5 10 1 1 0 0 1
value=100k
}
N 53900 42800 53900 44700 4
N 54500 41600 54500 44700 4
N 53100 42800 54700 42800 4
N 50800 41600 54700 41600 4
C 54700 42700 1 0 0 output-1.sym
{
T 54800 43000 5 10 0 0 0 0 1
device=OUTPUT
T 54900 43000 5 10 1 1 0 0 1
value=socket CS#
}
C 54700 41500 1 0 0 output-1.sym
{
T 54800 41800 5 10 0 0 0 0 1
device=OUTPUT
T 54900 41800 5 10 1 1 0 0 1
value=flash2 CS#
}
N 53900 45600 53900 45800 4
N 54500 45800 54500 45600 4
C 53100 45800 1 0 0 3.3V-plus-1.sym
N 53100 44700 53600 44700 4
N 50500 45800 54500 45800 4
C 48900 43100 1 0 0 input-1.sym
{
T 48900 43400 5 10 0 0 0 0 1
device=INPUT
T 48900 43400 5 10 1 1 0 0 1
value=mainboard CS#
}
N 50500 41900 53300 41900 4
N 53300 41900 53300 42400 4
C 51300 42100 1 0 0 sn74cb3t3306-1.sym
{
T 51600 43950 5 10 0 1 0 0 1
device=SN74CB3T3306
T 51950 42400 5 10 0 1 0 0 1
footprint=SSOP8
T 52900 42100 5 10 1 1 0 0 1
refdes=U?
}
N 53100 43600 53300 43600 4
N 53300 43600 53300 45800 4
N 50800 43600 50800 45100 4
N 53100 43200 53600 43200 4
N 53600 43200 53600 44700 4
N 53100 42400 53300 42400 4
N 50500 41900 50500 43200 4
N 49700 43200 51300 43200 4
N 51300 42800 50800 42800 4
N 50800 42800 50800 41600 4
N 51300 42400 51100 42400 4
C 51000 42100 1 0 0 gnd-1.sym
C 51300 44500 1 0 0 sn74lvc1g14-1.sym
{
T 53400 45040 5 10 0 1 0 0 1
device=SN74LVC1G14
T 53200 45440 5 10 0 1 0 0 1
footprint=SOT_5PIN
T 52900 44400 5 10 1 1 0 0 1
refdes=U?
}
N 51100 42400 51100 44700 4
N 53100 45100 53300 45100 4
N 50800 43600 51300 43600 4
N 51300 45100 50800 45100 4
C 50400 43500 1 0 0 jumper-1.sym
{
T 50700 44000 5 8 0 0 0 0 1
device=JUMPER
T 50200 43900 5 10 1 1 0 0 1
refdes=J1
}
N 51100 44700 51300 44700 4
C 50600 44700 1 90 0 resistor-2.sym
{
T 50250 45100 5 10 0 0 90 0 1
device=RESISTOR
T 50300 44900 5 10 1 1 90 0 1
refdes=R?
T 50600 45500 5 10 1 1 0 0 1
value=100k
}
N 50500 45600 50500 45800 4
N 50500 43500 50500 43400 4
N 50500 43400 51100 43400 4
N 50500 44700 50500 44500 4
N 50500 44600 50800 44600 4

--ZARJHfwaSJQLOEUz--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019