Symbol for SI1040X (U7610,U7609)

6 messages Options
Embed this post
Permalink
AlvieBoy

Symbol for SI1040X (U7610,U7609)

Reply Threaded More More options
Print post
Permalink
Hi all,

This one was quite fun to make :)

Please review the pin types. Since this one is used for power, maybe having outputs as power out won't be such a bad idea.


Álvaro

--- /dev/null 2009-05-22 21:21:25.350007780 +0100
+++ components/si1040x.lib 2009-05-23 12:26:42.313711344 +0100
@@ -0,0 +1,93 @@
+EESchema-LIBRARY Version 2.3  Date: Sat 23 May 2009 12:26:42 WEST
+#
+# SI1040X
+#
+DEF SI1040X U 0 40 Y N 1 F N
+F0 "U" -450 550 60 H V C CNN
+F1 "SI1040X" -350 -550 60 H V C CNN
+DRAW
+C -200 -100 5 0 1 0 F
+C -20 -240 5 0 1 0 F
+C -20 -200 5 0 1 0 F
+C -20 -40 5 0 1 0 F
+C -20 0 5 0 1 0 F
+C -20 70 5 0 1 0 F
+C 20 200 5 0 1 0 F
+C -20 200 5 0 1 0 F
+C 220 200 5 0 1 0 F
+P 3 0 1 0  180 200  220 200  220 200 F
+P 2 0 1 0  -20 200  -220 200 F
+P 3 0 1 0  -80 -100  -170 -100  -170 -100 F
+P 5 0 1 0  0 -110  20 -90  40 -110  0 -110  0 -110 F
+P 4 0 1 0  -60 -100  -40 -80  -40 -120  -60 -100 F
+P 4 0 1 0  70 240  90 260  90 220  70 240 F
+P 4 0 1 0  60 180  100 180  80 200  60 180 F
+C 180 200 5 0 1 0 F
+P 2 0 0 0  0 -350  0 -450 N
+P 2 0 0 0  400 200  550 200 N
+S -550 450 550 -450 0 0 0 N
+P 2 0 0 0  -450 200  -550 200 N
+P 2 0 0 0  -350 -100  -450 -100 N
+P 2 0 1 0  -200 -100  -350 -100 N
+P 4 0 1 0  400 0  160 0  160 70  -20 70 N
+P 3 0 1 0  220 200  220 300  400 300 N
+P 4 0 1 0  0 140  -20 140  -20 50  -20 50 N
+P 4 0 1 0  -20 200  -20 240  70 240  70 240 N
+P 2 0 1 0  120 160  160 160 N
+P 2 0 1 0  140 160  140 200 N
+P 2 0 1 0  0 160  40 160 N
+P 4 0 1 0  -160 -240  -200 -240  -200 -100  -170 -100 N
+P 2 0 1 0  -140 -240  -160 -240 N
+P 3 0 1 0  -80 -240  -140 -240  -140 -240 N
+P 2 0 1 0  -60 -240  -80 -240 N
+P 2 0 1 0  -60 -220  -70 -210 N
+P 3 0 1 0  -20 -240  -60 -240  -60 -240 N
+P 2 0 1 0  0 -90  40 -90 N
+P 3 0 1 0  20 -110  20 -200  -20 -200 N
+P 2 0 1 0  -20 -40  -20 0 N
+P 4 0 1 0  -40 -100  -20 -100  -20 -40  -60 -40 N
+P 2 0 1 0  -60 -60  -60 -20 N
+P 2 0 1 0  -80 -180  -80 -20 N
+P 2 0 1 0  -60 -140  -60 -180 N
+P 2 0 1 0  -60 -120  -60 -80 N
+P 3 0 1 0  -60 -160  -20 -160  -20 -200 N
+P 3 0 1 0  -20 0  20 0  20 -80 N
+P 2 0 1 0  20 -80  20 -90 N
+P 3 0 1 0  -20 -200  -20 -220  -20 -240 N
+P 2 0 1 0  -60 -220  -60 -260 N
+P 2 0 1 0  -60 -260  -50 -270 N
+P 4 0 1 0  -80 -220  -60 -240  -80 -260  -80 -220 N
+P 5 0 1 0  -140 -220  -140 -260  -160 -240  -140 -220  -140 -220 N
+P 5 0 1 0  -150 -210  -160 -220  -160 -260  -170 -270  -170 -270 N
+P 2 0 1 0  60 160  100 160 N
+P 2 0 1 0  20 160  20 200 N
+P 2 0 1 0  80 180  80 160 N
+P 2 0 1 0  80 200  -20 200 N
+P 2 0 1 0  140 200  180 200 N
+P 2 0 1 0  70 220  70 260 N
+P 3 0 1 0  180 200  180 240  90 240 N
+P 2 0 1 0  160 140  0 140 N
+P 2 0 1 0  -20 50  -20 30 N
+P 2 0 1 0  400 200  220 200 N
+P 2 0 1 0  -20 30  -20 0 N
+P 2 0 1 0  -220 200  -350 200 N
+P 3 0 1 0  -20 -240  0 -240  0 -350 N
+P 2 0 0 0  -350 200  -450 200 N
+P 2 0 0 0  -450 -100  -550 -100 N
+P 2 0 0 0  400 300  550 300 N
+P 2 0 0 0  400 0  550 0 N
+T 0 100 -350 50 0 0 0 R2  Normal 0
+T 0 350 50 50 0 0 0 R1,C1  Normal 0
+T 0 400 350 50 0 0 0 D2  Normal 0
+T 0 -450 250 50 0 0 0 S2  Normal 0
+T 0 -350 -50 50 0 0 0 ON/OFF  Normal 0
+X R1C1 6 750 0 200 L 50 50 1 1 I
+X D2_1 3 750 200 200 L 50 50 1 1 P
+X D2_2 2 750 300 200 L 50 50 1 1 P
+X ON 5 -750 -100 200 R 50 50 1 1 I
+X S2 4 -750 200 200 R 50 50 1 1 I
+X R2 1 0 -650 200 U 50 50 1 1 W
+ENDDRAW
+ENDDEF
+#
+#End Library

_______________________________________________
Gta03 mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta03
Werner Almesberger

Re: Symbol for SI1040X (U7610,U7609)

Reply Threaded More More options
Print post
Permalink
?lvaro Lopes wrote:
> This one was quite fun to make :)

Nice ! :) It's in SVN.

Two suggestions for improvements:

- label also pin 2 with D2

- maybe put pin 2 on top, 3 below

- if I understand things correctly, confusingly named ON/OFF is
  really ON/nOFF, so you could add the "n". Since the label is
  text, we could also use an overbar (i.e., ON/~nOFF), but we'd
  lose it again when/if we can express out-of-the-way pin names
  directly in KiCad.

> Please review the pin types. Since this one is used for power,
> maybe having outputs as power out won't be such a bad idea.

And the input as Power In. Yes, why not. This seems to be indeed
mainly a power switch, not only in our use.

I've now updated the expanded view as well. I have yet to review
them properly. I'm also trying to get you checking access.

Thanks,
- Werner

_______________________________________________
Gta03 mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta03
AlvieBoy

Re: Symbol for SI1040X (U7610,U7609)

Reply Threaded More More options
Print post
Permalink
Werner Almesberger wrote:
 > - label also pin 2 with D2

I did not because original drawing in GTA02 and in datasheet only label the uppermost pin. :) Which is understandable, because it's redundant information. It's
mainly there for power purposes.

> - if I understand things correctly, confusingly named ON/OFF is
>   really ON/nOFF, so you could add the "n". Since the label is
>   text, we could also use an overbar (i.e., ON/~nOFF), but we'd
>   lose it again when/if we can express out-of-the-way pin names
>   directly in KiCad.

Again for the same reason. I also did not like to name it that way. I do think "ON" would suffice though. :) Otherwise we'll start to change "EN[able]" pins to
"EN[able]/nDIS[able]" :) Some manufacturers seem to label pins in a very weird way - why the heck they name "S2" the input anyway? I got so confused that I had
to read datasheet three times so to be sure I was not missing anything.

>> Please review the pin types. Since this one is used for power,
>> maybe having outputs as power out won't be such a bad idea.
>
> And the input as Power In. Yes, why not. This seems to be indeed
> mainly a power switch, not only in our use.

Yes. I'll update. That will make DRC happy.

Álvaro

_______________________________________________
Gta03 mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta03
Werner Almesberger

Re: Symbol for SI1040X (U7610,U7609)

Reply Threaded More More options
Print post
Permalink
?lvaro Lopes wrote:
> I did not because original drawing in GTA02 and in datasheet only label
> the uppermost pin. :) Which is understandable, because it's redundant
> information. It's mainly there for power purposes.

Yeah, it's redundant and one can actually see that it is. Still,
I think it's better to name all pins. Otherwise, someone might
think the name was simply forgotten. (And equivalent pins don't
always have the same name, e.g., VSYS1 and VSYS2 on the PMU.)

> Again for the same reason. I also did not like to name it that way.
> I do think "ON" would suffice though. :)

Yeah, very good point. Let's keep it simple.

I wonder how they ended up with something as absurd as ON/OFF.
Almost seems as if they moved it from document processing system
to another and lost an overbar in the transition.

> Some manufacturers seem to label pins in a very weird way -

Oh yes, they do ...

> why the heck they name "S2" the input anyway?

"Source of FET #2" ? ;-)

> Yes. I'll update. That will make DRC happy.

Thanks !

- Werner

_______________________________________________
Gta03 mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta03
AlvieBoy

Re: Symbol for SI1040X (U7610,U7609)

Reply Threaded More More options
Print post
Permalink
Werner Almesberger wrote:
> Oh yes, they do ...
>
>> why the heck they name "S2" the input anyway?
>
> "Source of FET #2" ? ;-)

I could accept that if we had "Source of FET #1" :)

Updated version in attach. I also changed "R2" and "R6" pins to passive, "S2" to power in and both "D2" to power out.

Álvaro

--- /dev/null 2009-05-23 16:00:15.360008016 +0100
+++ components/si1040x.lib 2009-05-23 17:45:24.391100463 +0100
@@ -0,0 +1,94 @@
+EESchema-LIBRARY Version 2.3  Date: Sat 23 May 2009 17:45:24 WEST
+#
+# SI1040X
+#
+DEF SI1040X U 0 40 Y N 1 F N
+F0 "U" -450 550 60 H V C CNN
+F1 "SI1040X" -350 -550 60 H V C CNN
+DRAW
+C -200 -100 5 0 1 0 F
+C -20 -240 5 0 1 0 F
+C -20 -200 5 0 1 0 F
+C -20 -40 5 0 1 0 F
+C -20 0 5 0 1 0 F
+C -20 70 5 0 1 0 F
+C 20 200 5 0 1 0 F
+C -20 200 5 0 1 0 F
+C 220 200 5 0 1 0 F
+P 3 0 1 0  180 200  220 200  220 200 F
+P 2 0 1 0  -20 200  -220 200 F
+P 3 0 1 0  -80 -100  -170 -100  -170 -100 F
+P 5 0 1 0  0 -110  20 -90  40 -110  0 -110  0 -110 F
+P 4 0 1 0  -60 -100  -40 -80  -40 -120  -60 -100 F
+P 4 0 1 0  70 240  90 260  90 220  70 240 F
+P 4 0 1 0  60 180  100 180  80 200  60 180 F
+C 180 200 5 0 1 0 F
+P 2 0 0 0  0 -350  0 -450 N
+P 2 0 0 0  400 200  550 200 N
+S -550 450 550 -450 0 0 0 N
+P 2 0 0 0  -450 200  -550 200 N
+P 2 0 0 0  -350 -100  -450 -100 N
+P 2 0 1 0  -200 -100  -350 -100 N
+P 4 0 1 0  400 0  160 0  160 70  -20 70 N
+P 3 0 1 0  220 200  220 300  400 300 N
+P 4 0 1 0  0 140  -20 140  -20 50  -20 50 N
+P 4 0 1 0  -20 200  -20 240  70 240  70 240 N
+P 2 0 1 0  120 160  160 160 N
+P 2 0 1 0  140 160  140 200 N
+P 2 0 1 0  0 160  40 160 N
+P 4 0 1 0  -160 -240  -200 -240  -200 -100  -170 -100 N
+P 2 0 1 0  -140 -240  -160 -240 N
+P 3 0 1 0  -80 -240  -140 -240  -140 -240 N
+P 2 0 1 0  -60 -240  -80 -240 N
+P 2 0 1 0  -60 -220  -70 -210 N
+P 3 0 1 0  -20 -240  -60 -240  -60 -240 N
+P 2 0 1 0  0 -90  40 -90 N
+P 3 0 1 0  20 -110  20 -200  -20 -200 N
+P 2 0 1 0  -20 -40  -20 0 N
+P 4 0 1 0  -40 -100  -20 -100  -20 -40  -60 -40 N
+P 2 0 1 0  -60 -60  -60 -20 N
+P 2 0 1 0  -80 -180  -80 -20 N
+P 2 0 1 0  -60 -140  -60 -180 N
+P 2 0 1 0  -60 -120  -60 -80 N
+P 3 0 1 0  -60 -160  -20 -160  -20 -200 N
+P 3 0 1 0  -20 0  20 0  20 -80 N
+P 2 0 1 0  20 -80  20 -90 N
+P 3 0 1 0  -20 -200  -20 -220  -20 -240 N
+P 2 0 1 0  -60 -220  -60 -260 N
+P 2 0 1 0  -60 -260  -50 -270 N
+P 4 0 1 0  -80 -220  -60 -240  -80 -260  -80 -220 N
+P 5 0 1 0  -140 -220  -140 -260  -160 -240  -140 -220  -140 -220 N
+P 5 0 1 0  -150 -210  -160 -220  -160 -260  -170 -270  -170 -270 N
+P 2 0 1 0  60 160  100 160 N
+P 2 0 1 0  20 160  20 200 N
+P 2 0 1 0  80 180  80 160 N
+P 2 0 1 0  80 200  -20 200 N
+P 2 0 1 0  140 200  180 200 N
+P 2 0 1 0  70 220  70 260 N
+P 3 0 1 0  180 200  180 240  90 240 N
+P 2 0 1 0  160 140  0 140 N
+P 2 0 1 0  -20 50  -20 30 N
+P 2 0 1 0  400 200  220 200 N
+P 2 0 1 0  -20 30  -20 0 N
+P 2 0 1 0  -220 200  -350 200 N
+P 3 0 1 0  -20 -240  0 -240  0 -350 N
+P 2 0 0 0  -350 200  -450 200 N
+P 2 0 0 0  -450 -100  -550 -100 N
+P 2 0 0 0  400 300  550 300 N
+P 2 0 0 0  400 0  550 0 N
+T 0 400 250 50 0 0 0 D2  Normal 0
+T 0 100 -350 50 0 0 0 R2  Normal 0
+T 0 350 50 50 0 0 0 R1,C1  Normal 0
+T 0 400 350 50 0 0 0 D2  Normal 0
+T 0 -450 250 50 0 0 0 S2  Normal 0
+T 0 -450 -50 50 0 0 0 ON  Normal 0
+X R1C1 6 750 0 200 L 50 50 1 1 P
+X D2_1 3 750 200 200 L 50 50 1 1 w
+X D2_2 2 750 300 200 L 50 50 1 1 w
+X ON 5 -750 -100 200 R 50 50 1 1 I
+X S2 4 -750 200 200 R 50 50 1 1 W
+X R2 1 0 -650 200 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library

_______________________________________________
Gta03 mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta03
Werner Almesberger

Re: Symbol for SI1040X (U7610,U7609)

Reply Threaded More More options
Print post
Permalink
?lvaro Lopes wrote:
> I could accept that if we had "Source of FET #1" :)

Why make it obvious if you can create a work of art whose true
meaning will be hotly debated for years ?

> Updated version in attach. I also changed "R2" and "R6" pins to
> passive, "S2" to power in and both "D2" to power out.

Wonderful, thanks a lot !

The spacing of the component name doesn't look too good in
http://people.openmoko.org/werner/gta02-core/gta02-core-expanded-all.ps.gz
but that's only because of my script that prepends an X.

By the way, if you use IRC, you may want to join the channel
#gta02-core on irc.freenode.net. It's usually quicker to
discuss small issues there than by mail.

- Werner

_______________________________________________
Gta03 mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta03