cpu.sch 60 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE eagle SYSTEM "eagle.dtd">
  3. <eagle version="7.2.0">
  4. <drawing>
  5. <settings>
  6. <setting alwaysvectorfont="no"/>
  7. <setting verticaltext="up"/>
  8. </settings>
  9. <grid distance="50" unitdist="mil" unit="mil" style="lines" multiple="1" display="yes" altdistance="0.01" altunitdist="inch" altunit="inch"/>
  10. <layers>
  11. <layer number="1" name="Top" color="4" fill="1" visible="no" active="no"/>
  12. <layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/>
  13. <layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/>
  14. <layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/>
  15. <layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/>
  16. <layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/>
  17. <layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/>
  18. <layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/>
  19. <layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/>
  20. <layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/>
  21. <layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/>
  22. <layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/>
  23. <layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/>
  24. <layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/>
  25. <layer number="15" name="Route15" color="4" fill="6" visible="no" active="no"/>
  26. <layer number="16" name="Bottom" color="1" fill="1" visible="no" active="no"/>
  27. <layer number="17" name="Pads" color="2" fill="1" visible="no" active="no"/>
  28. <layer number="18" name="Vias" color="2" fill="1" visible="no" active="no"/>
  29. <layer number="19" name="Unrouted" color="6" fill="1" visible="no" active="no"/>
  30. <layer number="20" name="Dimension" color="15" fill="1" visible="no" active="no"/>
  31. <layer number="21" name="tPlace" color="7" fill="1" visible="no" active="no"/>
  32. <layer number="22" name="bPlace" color="7" fill="1" visible="no" active="no"/>
  33. <layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="no"/>
  34. <layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="no"/>
  35. <layer number="25" name="tNames" color="7" fill="1" visible="no" active="no"/>
  36. <layer number="26" name="bNames" color="7" fill="1" visible="no" active="no"/>
  37. <layer number="27" name="tValues" color="7" fill="1" visible="no" active="no"/>
  38. <layer number="28" name="bValues" color="7" fill="1" visible="no" active="no"/>
  39. <layer number="29" name="tStop" color="7" fill="3" visible="no" active="no"/>
  40. <layer number="30" name="bStop" color="7" fill="6" visible="no" active="no"/>
  41. <layer number="31" name="tCream" color="7" fill="4" visible="no" active="no"/>
  42. <layer number="32" name="bCream" color="7" fill="5" visible="no" active="no"/>
  43. <layer number="33" name="tFinish" color="6" fill="3" visible="no" active="no"/>
  44. <layer number="34" name="bFinish" color="6" fill="6" visible="no" active="no"/>
  45. <layer number="35" name="tGlue" color="7" fill="4" visible="no" active="no"/>
  46. <layer number="36" name="bGlue" color="7" fill="5" visible="no" active="no"/>
  47. <layer number="37" name="tTest" color="7" fill="1" visible="no" active="no"/>
  48. <layer number="38" name="bTest" color="7" fill="1" visible="no" active="no"/>
  49. <layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="no"/>
  50. <layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="no"/>
  51. <layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="no"/>
  52. <layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="no"/>
  53. <layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="no"/>
  54. <layer number="44" name="Drills" color="7" fill="1" visible="no" active="no"/>
  55. <layer number="45" name="Holes" color="7" fill="1" visible="no" active="no"/>
  56. <layer number="46" name="Milling" color="3" fill="1" visible="no" active="no"/>
  57. <layer number="47" name="Measures" color="7" fill="1" visible="no" active="no"/>
  58. <layer number="48" name="Document" color="7" fill="1" visible="no" active="no"/>
  59. <layer number="49" name="Reference" color="7" fill="1" visible="no" active="no"/>
  60. <layer number="50" name="dxf" color="7" fill="1" visible="no" active="no"/>
  61. <layer number="51" name="tDocu" color="7" fill="1" visible="no" active="no"/>
  62. <layer number="52" name="bDocu" color="7" fill="1" visible="no" active="no"/>
  63. <layer number="90" name="Modules" color="5" fill="1" visible="yes" active="yes"/>
  64. <layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/>
  65. <layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/>
  66. <layer number="93" name="Pins" color="2" fill="1" visible="no" active="yes"/>
  67. <layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/>
  68. <layer number="95" name="Names" color="7" fill="1" visible="yes" active="yes"/>
  69. <layer number="96" name="Values" color="7" fill="1" visible="yes" active="yes"/>
  70. <layer number="97" name="Info" color="7" fill="1" visible="yes" active="yes"/>
  71. <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/>
  72. <layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/>
  73. <layer number="101" name="Patch_Top" color="12" fill="4" visible="yes" active="yes"/>
  74. <layer number="116" name="Patch_BOT" color="9" fill="4" visible="yes" active="yes"/>
  75. <layer number="200" name="200bmp" color="1" fill="10" visible="no" active="no"/>
  76. <layer number="250" name="Descript" color="3" fill="1" visible="no" active="no"/>
  77. <layer number="251" name="SMDround" color="12" fill="11" visible="no" active="no"/>
  78. <layer number="254" name="cooling" color="7" fill="1" visible="yes" active="yes"/>
  79. </layers>
  80. <schematic xreflabel="%F%N/%S.%C%R" xrefpart="/%S.%C%R">
  81. <libraries>
  82. <library name="stm32">
  83. <description>ST Cortex-M3 STM32F101/103 processor family in LQFP100, 64, 48 and VFQPFN36 pin versions</description>
  84. <packages>
  85. <package name="TQFP48">
  86. <wire x1="-3.375" y1="3.1" x2="-3.1" y2="3.375" width="0.254" layer="21"/>
  87. <wire x1="-3.1" y1="3.375" x2="3.1" y2="3.375" width="0.254" layer="21"/>
  88. <wire x1="3.1" y1="3.375" x2="3.375" y2="3.1" width="0.254" layer="21"/>
  89. <wire x1="3.375" y1="3.1" x2="3.375" y2="-3.1" width="0.254" layer="21"/>
  90. <wire x1="3.375" y1="-3.1" x2="3.1" y2="-3.375" width="0.254" layer="21"/>
  91. <wire x1="3.1" y1="-3.375" x2="-3.1" y2="-3.375" width="0.254" layer="21"/>
  92. <wire x1="-3.1" y1="-3.375" x2="-3.375" y2="-3.1" width="0.254" layer="21"/>
  93. <wire x1="-3.375" y1="-3.1" x2="-3.375" y2="3.1" width="0.254" layer="21"/>
  94. <circle x="-2" y="-2" radius="0.6" width="0.254" layer="21"/>
  95. <smd name="1" x="-2.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  96. <smd name="2" x="-2.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  97. <smd name="3" x="-1.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  98. <smd name="4" x="-1.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  99. <smd name="5" x="-0.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  100. <smd name="6" x="-0.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  101. <smd name="7" x="0.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  102. <smd name="8" x="0.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  103. <smd name="9" x="1.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  104. <smd name="10" x="1.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  105. <smd name="11" x="2.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  106. <smd name="12" x="2.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  107. <smd name="13" x="4.5" y="-2.75" dx="1" dy="0.2" layer="1"/>
  108. <smd name="14" x="4.5" y="-2.25" dx="1" dy="0.2" layer="1"/>
  109. <smd name="15" x="4.5" y="-1.75" dx="1" dy="0.2" layer="1"/>
  110. <smd name="16" x="4.5" y="-1.25" dx="1" dy="0.2" layer="1"/>
  111. <smd name="17" x="4.5" y="-0.75" dx="1" dy="0.2" layer="1"/>
  112. <smd name="18" x="4.5" y="-0.25" dx="1" dy="0.2" layer="1"/>
  113. <smd name="19" x="4.5" y="0.25" dx="1" dy="0.2" layer="1"/>
  114. <smd name="20" x="4.5" y="0.75" dx="1" dy="0.2" layer="1"/>
  115. <smd name="21" x="4.5" y="1.25" dx="1" dy="0.2" layer="1"/>
  116. <smd name="22" x="4.5" y="1.75" dx="1" dy="0.2" layer="1"/>
  117. <smd name="23" x="4.5" y="2.25" dx="1" dy="0.2" layer="1"/>
  118. <smd name="24" x="4.5" y="2.75" dx="1" dy="0.2" layer="1"/>
  119. <smd name="25" x="2.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  120. <smd name="26" x="2.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  121. <smd name="27" x="1.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  122. <smd name="28" x="1.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  123. <smd name="29" x="0.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  124. <smd name="30" x="0.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  125. <smd name="31" x="-0.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  126. <smd name="32" x="-0.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  127. <smd name="33" x="-1.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  128. <smd name="34" x="-1.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  129. <smd name="35" x="-2.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  130. <smd name="36" x="-2.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  131. <smd name="37" x="-4.5" y="2.75" dx="1" dy="0.2" layer="1"/>
  132. <smd name="38" x="-4.5" y="2.25" dx="1" dy="0.2" layer="1"/>
  133. <smd name="39" x="-4.5" y="1.75" dx="1" dy="0.2" layer="1"/>
  134. <smd name="40" x="-4.5" y="1.25" dx="1" dy="0.2" layer="1"/>
  135. <smd name="41" x="-4.5" y="0.75" dx="1" dy="0.2" layer="1"/>
  136. <smd name="42" x="-4.5" y="0.25" dx="1" dy="0.2" layer="1"/>
  137. <smd name="43" x="-4.5" y="-0.25" dx="1" dy="0.2" layer="1"/>
  138. <smd name="44" x="-4.5" y="-0.75" dx="1" dy="0.2" layer="1"/>
  139. <smd name="45" x="-4.5" y="-1.25" dx="1" dy="0.2" layer="1"/>
  140. <smd name="46" x="-4.5" y="-1.75" dx="1" dy="0.2" layer="1"/>
  141. <smd name="47" x="-4.5" y="-2.25" dx="1" dy="0.2" layer="1"/>
  142. <smd name="48" x="-4.5" y="-2.75" dx="1" dy="0.2" layer="1"/>
  143. <text x="-2.54" y="1.27" size="1.27" layer="25">&gt;NAME</text>
  144. <text x="-2.54" y="-1.27" size="1.27" layer="27">&gt;VALUE</text>
  145. <rectangle x1="-2.85" y1="-4.5" x2="-2.65" y2="-3.45" layer="51"/>
  146. <rectangle x1="-2.35" y1="-4.5" x2="-2.15" y2="-3.45" layer="51"/>
  147. <rectangle x1="-1.85" y1="-4.5" x2="-1.65" y2="-3.45" layer="51"/>
  148. <rectangle x1="-1.35" y1="-4.5" x2="-1.15" y2="-3.45" layer="51"/>
  149. <rectangle x1="-0.85" y1="-4.5" x2="-0.65" y2="-3.45" layer="51"/>
  150. <rectangle x1="-0.35" y1="-4.5" x2="-0.15" y2="-3.45" layer="51"/>
  151. <rectangle x1="0.15" y1="-4.5" x2="0.35" y2="-3.45" layer="51"/>
  152. <rectangle x1="0.65" y1="-4.5" x2="0.85" y2="-3.45" layer="51"/>
  153. <rectangle x1="1.15" y1="-4.5" x2="1.35" y2="-3.45" layer="51"/>
  154. <rectangle x1="1.65" y1="-4.5" x2="1.85" y2="-3.45" layer="51"/>
  155. <rectangle x1="2.15" y1="-4.5" x2="2.35" y2="-3.45" layer="51"/>
  156. <rectangle x1="2.65" y1="-4.5" x2="2.85" y2="-3.45" layer="51"/>
  157. <rectangle x1="3.45" y1="-2.85" x2="4.5" y2="-2.65" layer="51"/>
  158. <rectangle x1="3.45" y1="-2.35" x2="4.5" y2="-2.15" layer="51"/>
  159. <rectangle x1="3.45" y1="-1.85" x2="4.5" y2="-1.65" layer="51"/>
  160. <rectangle x1="3.45" y1="-1.35" x2="4.5" y2="-1.15" layer="51"/>
  161. <rectangle x1="3.45" y1="-0.85" x2="4.5" y2="-0.65" layer="51"/>
  162. <rectangle x1="3.45" y1="-0.35" x2="4.5" y2="-0.15" layer="51"/>
  163. <rectangle x1="3.45" y1="0.15" x2="4.5" y2="0.35" layer="51"/>
  164. <rectangle x1="3.45" y1="0.65" x2="4.5" y2="0.85" layer="51"/>
  165. <rectangle x1="3.45" y1="1.15" x2="4.5" y2="1.35" layer="51"/>
  166. <rectangle x1="3.45" y1="1.65" x2="4.5" y2="1.85" layer="51"/>
  167. <rectangle x1="3.45" y1="2.15" x2="4.5" y2="2.35" layer="51"/>
  168. <rectangle x1="3.45" y1="2.65" x2="4.5" y2="2.85" layer="51"/>
  169. <rectangle x1="2.65" y1="3.45" x2="2.85" y2="4.5" layer="51"/>
  170. <rectangle x1="2.15" y1="3.45" x2="2.35" y2="4.5" layer="51"/>
  171. <rectangle x1="1.65" y1="3.45" x2="1.85" y2="4.5" layer="51"/>
  172. <rectangle x1="1.15" y1="3.45" x2="1.35" y2="4.5" layer="51"/>
  173. <rectangle x1="0.65" y1="3.45" x2="0.85" y2="4.5" layer="51"/>
  174. <rectangle x1="0.15" y1="3.45" x2="0.35" y2="4.5" layer="51"/>
  175. <rectangle x1="-0.35" y1="3.45" x2="-0.15" y2="4.5" layer="51"/>
  176. <rectangle x1="-0.85" y1="3.45" x2="-0.65" y2="4.5" layer="51"/>
  177. <rectangle x1="-1.35" y1="3.45" x2="-1.15" y2="4.5" layer="51"/>
  178. <rectangle x1="-1.85" y1="3.45" x2="-1.65" y2="4.5" layer="51"/>
  179. <rectangle x1="-2.35" y1="3.45" x2="-2.15" y2="4.5" layer="51"/>
  180. <rectangle x1="-2.85" y1="3.45" x2="-2.65" y2="4.5" layer="51"/>
  181. <rectangle x1="-4.5" y1="2.65" x2="-3.45" y2="2.85" layer="51"/>
  182. <rectangle x1="-4.5" y1="2.15" x2="-3.45" y2="2.35" layer="51"/>
  183. <rectangle x1="-4.5" y1="1.65" x2="-3.45" y2="1.85" layer="51"/>
  184. <rectangle x1="-4.5" y1="1.15" x2="-3.45" y2="1.35" layer="51"/>
  185. <rectangle x1="-4.5" y1="0.65" x2="-3.45" y2="0.85" layer="51"/>
  186. <rectangle x1="-4.5" y1="0.15" x2="-3.45" y2="0.35" layer="51"/>
  187. <rectangle x1="-4.5" y1="-0.35" x2="-3.45" y2="-0.15" layer="51"/>
  188. <rectangle x1="-4.5" y1="-0.85" x2="-3.45" y2="-0.65" layer="51"/>
  189. <rectangle x1="-4.5" y1="-1.35" x2="-3.45" y2="-1.15" layer="51"/>
  190. <rectangle x1="-4.5" y1="-1.85" x2="-3.45" y2="-1.65" layer="51"/>
  191. <rectangle x1="-4.5" y1="-2.35" x2="-3.45" y2="-2.15" layer="51"/>
  192. <rectangle x1="-4.5" y1="-2.85" x2="-3.45" y2="-2.65" layer="51"/>
  193. </package>
  194. </packages>
  195. <symbols>
  196. <symbol name="PORT_A_L">
  197. <wire x1="7.62" y1="10.16" x2="-2.54" y2="10.16" width="0.254" layer="94"/>
  198. <wire x1="-2.54" y1="10.16" x2="-2.54" y2="-12.7" width="0.254" layer="94"/>
  199. <wire x1="-2.54" y1="-12.7" x2="7.62" y2="-12.7" width="0.254" layer="94"/>
  200. <text x="-2.54" y="10.16" size="1.27" layer="95">&gt;NAME</text>
  201. <pin name="PA0" x="-7.62" y="7.62" length="middle"/>
  202. <pin name="PA1" x="-7.62" y="5.08" length="middle"/>
  203. <pin name="PA2" x="-7.62" y="2.54" length="middle"/>
  204. <pin name="PA3" x="-7.62" y="0" length="middle"/>
  205. <pin name="PA4" x="-7.62" y="-2.54" length="middle"/>
  206. <pin name="PA5" x="-7.62" y="-5.08" length="middle"/>
  207. <pin name="PA6" x="-7.62" y="-7.62" length="middle"/>
  208. <pin name="PA7" x="-7.62" y="-10.16" length="middle"/>
  209. </symbol>
  210. <symbol name="PORT_A_H">
  211. <wire x1="7.62" y1="12.7" x2="-2.54" y2="12.7" width="0.254" layer="94"/>
  212. <wire x1="-2.54" y1="12.7" x2="-2.54" y2="-10.16" width="0.254" layer="94"/>
  213. <wire x1="-2.54" y1="-10.16" x2="7.62" y2="-10.16" width="0.254" layer="94"/>
  214. <text x="-2.54" y="12.7" size="1.27" layer="95">&gt;NAME</text>
  215. <pin name="PA8" x="-7.62" y="10.16" length="middle"/>
  216. <pin name="PA9" x="-7.62" y="7.62" length="middle"/>
  217. <pin name="PA10" x="-7.62" y="5.08" length="middle"/>
  218. <pin name="PA11" x="-7.62" y="2.54" length="middle"/>
  219. <pin name="PA12" x="-7.62" y="0" length="middle"/>
  220. <pin name="PA13" x="-7.62" y="-2.54" length="middle"/>
  221. <pin name="PA14" x="-7.62" y="-5.08" length="middle"/>
  222. <pin name="PA15" x="-7.62" y="-7.62" length="middle"/>
  223. </symbol>
  224. <symbol name="PORT_B_L">
  225. <wire x1="-5.08" y1="12.7" x2="5.08" y2="12.7" width="0.254" layer="94"/>
  226. <wire x1="5.08" y1="12.7" x2="5.08" y2="-10.16" width="0.254" layer="94"/>
  227. <wire x1="5.08" y1="-10.16" x2="-5.08" y2="-10.16" width="0.254" layer="94"/>
  228. <text x="-5.08" y="12.7" size="1.27" layer="95">&gt;NAME</text>
  229. <pin name="PB0" x="10.16" y="10.16" length="middle" rot="R180"/>
  230. <pin name="PB1" x="10.16" y="7.62" length="middle" rot="R180"/>
  231. <pin name="PB2" x="10.16" y="5.08" length="middle" rot="R180"/>
  232. <pin name="PB3" x="10.16" y="2.54" length="middle" rot="R180"/>
  233. <pin name="PB4" x="10.16" y="0" length="middle" rot="R180"/>
  234. <pin name="PB5" x="10.16" y="-2.54" length="middle" rot="R180"/>
  235. <pin name="PB6" x="10.16" y="-5.08" length="middle" rot="R180"/>
  236. <pin name="PB7" x="10.16" y="-7.62" length="middle" rot="R180"/>
  237. </symbol>
  238. <symbol name="PORT_B_H">
  239. <wire x1="-5.08" y1="10.16" x2="5.08" y2="10.16" width="0.254" layer="94"/>
  240. <wire x1="5.08" y1="10.16" x2="5.08" y2="-12.7" width="0.254" layer="94"/>
  241. <wire x1="5.08" y1="-12.7" x2="-5.08" y2="-12.7" width="0.254" layer="94"/>
  242. <text x="-5.08" y="10.16" size="1.27" layer="95">&gt;NAME</text>
  243. <pin name="PB8" x="10.16" y="7.62" length="middle" rot="R180"/>
  244. <pin name="PB9" x="10.16" y="5.08" length="middle" rot="R180"/>
  245. <pin name="PB10" x="10.16" y="2.54" length="middle" rot="R180"/>
  246. <pin name="PB11" x="10.16" y="0" length="middle" rot="R180"/>
  247. <pin name="PB12" x="10.16" y="-2.54" length="middle" rot="R180"/>
  248. <pin name="PB13" x="10.16" y="-5.08" length="middle" rot="R180"/>
  249. <pin name="PB14" x="10.16" y="-7.62" length="middle" rot="R180"/>
  250. <pin name="PB15" x="10.16" y="-10.16" length="middle" rot="R180"/>
  251. </symbol>
  252. <symbol name="VCC_VDD_S">
  253. <wire x1="5.08" y1="17.78" x2="-5.08" y2="17.78" width="0.254" layer="94"/>
  254. <wire x1="-5.08" y1="-17.78" x2="5.08" y2="-17.78" width="0.254" layer="94"/>
  255. <wire x1="-5.08" y1="17.78" x2="-5.08" y2="-17.78" width="0.254" layer="94"/>
  256. <text x="-5.08" y="17.78" size="1.27" layer="95">&gt;NAME</text>
  257. <pin name="VDD_1" x="-10.16" y="15.24" length="middle" direction="pwr"/>
  258. <pin name="VDD_2" x="-10.16" y="10.16" length="middle" direction="pwr"/>
  259. <pin name="VDD_3" x="-10.16" y="5.08" length="middle" direction="pwr"/>
  260. <pin name="VSS_1" x="-10.16" y="-5.08" length="middle" direction="pwr"/>
  261. <pin name="VSS_2" x="-10.16" y="-10.16" length="middle" direction="pwr"/>
  262. <pin name="VSS_3" x="-10.16" y="-15.24" length="middle" direction="pwr"/>
  263. </symbol>
  264. <symbol name="PORT_C_3">
  265. <wire x1="7.62" y1="5.08" x2="-2.54" y2="5.08" width="0.254" layer="94"/>
  266. <wire x1="-2.54" y1="5.08" x2="-2.54" y2="-5.08" width="0.254" layer="94"/>
  267. <wire x1="-2.54" y1="-5.08" x2="7.62" y2="-5.08" width="0.254" layer="94"/>
  268. <text x="-2.54" y="5.08" size="1.27" layer="95">&gt;NAME</text>
  269. <pin name="PC13" x="-7.62" y="2.54" length="middle"/>
  270. <pin name="PC14" x="-7.62" y="0" length="middle"/>
  271. <pin name="PC15" x="-7.62" y="-2.54" length="middle"/>
  272. </symbol>
  273. <symbol name="PORT_D_2">
  274. <wire x1="-7.62" y1="2.54" x2="2.54" y2="2.54" width="0.254" layer="94"/>
  275. <wire x1="2.54" y1="2.54" x2="2.54" y2="-5.08" width="0.254" layer="94"/>
  276. <wire x1="2.54" y1="-5.08" x2="-7.62" y2="-5.08" width="0.254" layer="94"/>
  277. <text x="-7.62" y="2.54" size="1.27" layer="95">&gt;NAME</text>
  278. <pin name="PD0/OSC&lt;=" x="7.62" y="0" length="middle" rot="R180"/>
  279. <pin name="PD1/OSC=&gt;" x="7.62" y="-2.54" length="middle" rot="R180"/>
  280. </symbol>
  281. <symbol name="BAT_AN_M">
  282. <wire x1="-5.08" y1="7.62" x2="5.08" y2="7.62" width="0.254" layer="94"/>
  283. <wire x1="5.08" y1="7.62" x2="5.08" y2="-7.62" width="0.254" layer="94"/>
  284. <wire x1="5.08" y1="-7.62" x2="-5.08" y2="-7.62" width="0.254" layer="94"/>
  285. <text x="-5.08" y="7.62" size="1.27" layer="95">&gt;NAME</text>
  286. <pin name="VBAT" x="10.16" y="5.08" length="middle" direction="pwr" rot="R180"/>
  287. <pin name="VSSA" x="10.16" y="0" length="middle" direction="pwr" rot="R180"/>
  288. <pin name="VDDA" x="10.16" y="-5.08" length="middle" direction="pwr" rot="R180"/>
  289. </symbol>
  290. <symbol name="BOOT_RST">
  291. <wire x1="-5.08" y1="5.08" x2="5.08" y2="5.08" width="0.254" layer="94"/>
  292. <wire x1="5.08" y1="5.08" x2="5.08" y2="-5.08" width="0.254" layer="94"/>
  293. <wire x1="5.08" y1="-5.08" x2="-5.08" y2="-5.08" width="0.254" layer="94"/>
  294. <text x="-5.08" y="-7.62" size="1.27" layer="95">&gt;VALUE</text>
  295. <text x="-5.08" y="5.08" size="1.27" layer="95">&gt;NAME</text>
  296. <pin name="NRST" x="10.16" y="2.54" length="middle" direction="in" function="dot" rot="R180"/>
  297. <pin name="BOOT0" x="10.16" y="-2.54" length="middle" direction="in" rot="R180"/>
  298. </symbol>
  299. </symbols>
  300. <devicesets>
  301. <deviceset name="STM32F10XCXT6" prefix="IC">
  302. <description>ST STM32F101/103 48pin LQFP</description>
  303. <gates>
  304. <gate name="PORTA_L" symbol="PORT_A_L" x="-12.7" y="38.1"/>
  305. <gate name="PORTA_H" symbol="PORT_A_H" x="-12.7" y="10.16"/>
  306. <gate name="PORTB_L" symbol="PORT_B_L" x="12.7" y="35.56"/>
  307. <gate name="PORTB_H" symbol="PORT_B_H" x="12.7" y="12.7"/>
  308. <gate name="POWER" symbol="VCC_VDD_S" x="-10.16" y="-20.32"/>
  309. <gate name="PORTC" symbol="PORT_C_3" x="-12.7" y="-45.72"/>
  310. <gate name="PORTD/OSC" symbol="PORT_D_2" x="15.24" y="-5.08"/>
  311. <gate name="AN_POWER" symbol="BAT_AN_M" x="12.7" y="-20.32"/>
  312. <gate name="RESET" symbol="BOOT_RST" x="12.7" y="-35.56"/>
  313. </gates>
  314. <devices>
  315. <device name="" package="TQFP48">
  316. <connects>
  317. <connect gate="AN_POWER" pin="VBAT" pad="1"/>
  318. <connect gate="AN_POWER" pin="VDDA" pad="9"/>
  319. <connect gate="AN_POWER" pin="VSSA" pad="8"/>
  320. <connect gate="PORTA_H" pin="PA10" pad="31"/>
  321. <connect gate="PORTA_H" pin="PA11" pad="32"/>
  322. <connect gate="PORTA_H" pin="PA12" pad="33"/>
  323. <connect gate="PORTA_H" pin="PA13" pad="34"/>
  324. <connect gate="PORTA_H" pin="PA14" pad="37"/>
  325. <connect gate="PORTA_H" pin="PA15" pad="38"/>
  326. <connect gate="PORTA_H" pin="PA8" pad="29"/>
  327. <connect gate="PORTA_H" pin="PA9" pad="30"/>
  328. <connect gate="PORTA_L" pin="PA0" pad="10"/>
  329. <connect gate="PORTA_L" pin="PA1" pad="11"/>
  330. <connect gate="PORTA_L" pin="PA2" pad="12"/>
  331. <connect gate="PORTA_L" pin="PA3" pad="13"/>
  332. <connect gate="PORTA_L" pin="PA4" pad="14"/>
  333. <connect gate="PORTA_L" pin="PA5" pad="15"/>
  334. <connect gate="PORTA_L" pin="PA6" pad="16"/>
  335. <connect gate="PORTA_L" pin="PA7" pad="17"/>
  336. <connect gate="PORTB_H" pin="PB10" pad="21"/>
  337. <connect gate="PORTB_H" pin="PB11" pad="22"/>
  338. <connect gate="PORTB_H" pin="PB12" pad="25"/>
  339. <connect gate="PORTB_H" pin="PB13" pad="26"/>
  340. <connect gate="PORTB_H" pin="PB14" pad="27"/>
  341. <connect gate="PORTB_H" pin="PB15" pad="28"/>
  342. <connect gate="PORTB_H" pin="PB8" pad="45"/>
  343. <connect gate="PORTB_H" pin="PB9" pad="46"/>
  344. <connect gate="PORTB_L" pin="PB0" pad="18"/>
  345. <connect gate="PORTB_L" pin="PB1" pad="19"/>
  346. <connect gate="PORTB_L" pin="PB2" pad="20"/>
  347. <connect gate="PORTB_L" pin="PB3" pad="39"/>
  348. <connect gate="PORTB_L" pin="PB4" pad="40"/>
  349. <connect gate="PORTB_L" pin="PB5" pad="41"/>
  350. <connect gate="PORTB_L" pin="PB6" pad="42"/>
  351. <connect gate="PORTB_L" pin="PB7" pad="43"/>
  352. <connect gate="PORTC" pin="PC13" pad="2"/>
  353. <connect gate="PORTC" pin="PC14" pad="3"/>
  354. <connect gate="PORTC" pin="PC15" pad="4"/>
  355. <connect gate="PORTD/OSC" pin="PD0/OSC&lt;=" pad="5"/>
  356. <connect gate="PORTD/OSC" pin="PD1/OSC=&gt;" pad="6"/>
  357. <connect gate="POWER" pin="VDD_1" pad="24"/>
  358. <connect gate="POWER" pin="VDD_2" pad="36"/>
  359. <connect gate="POWER" pin="VDD_3" pad="48"/>
  360. <connect gate="POWER" pin="VSS_1" pad="23"/>
  361. <connect gate="POWER" pin="VSS_2" pad="35"/>
  362. <connect gate="POWER" pin="VSS_3" pad="47"/>
  363. <connect gate="RESET" pin="BOOT0" pad="44"/>
  364. <connect gate="RESET" pin="NRST" pad="7"/>
  365. </connects>
  366. <technologies>
  367. <technology name=""/>
  368. </technologies>
  369. </device>
  370. </devices>
  371. </deviceset>
  372. </devicesets>
  373. </library>
  374. <library name="pinhead">
  375. <description>&lt;b&gt;Pin Header Connectors&lt;/b&gt;&lt;p&gt;
  376. &lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
  377. <packages>
  378. <package name="2X06">
  379. <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
  380. <wire x1="-7.62" y1="-1.905" x2="-6.985" y2="-2.54" width="0.1524" layer="21"/>
  381. <wire x1="-5.715" y1="-2.54" x2="-5.08" y2="-1.905" width="0.1524" layer="21"/>
  382. <wire x1="-5.08" y1="-1.905" x2="-4.445" y2="-2.54" width="0.1524" layer="21"/>
  383. <wire x1="-3.175" y1="-2.54" x2="-2.54" y2="-1.905" width="0.1524" layer="21"/>
  384. <wire x1="-2.54" y1="-1.905" x2="-1.905" y2="-2.54" width="0.1524" layer="21"/>
  385. <wire x1="-0.635" y1="-2.54" x2="0" y2="-1.905" width="0.1524" layer="21"/>
  386. <wire x1="0" y1="-1.905" x2="0.635" y2="-2.54" width="0.1524" layer="21"/>
  387. <wire x1="1.905" y1="-2.54" x2="2.54" y2="-1.905" width="0.1524" layer="21"/>
  388. <wire x1="2.54" y1="-1.905" x2="3.175" y2="-2.54" width="0.1524" layer="21"/>
  389. <wire x1="4.445" y1="-2.54" x2="5.08" y2="-1.905" width="0.1524" layer="21"/>
  390. <wire x1="-7.62" y1="-1.905" x2="-7.62" y2="1.905" width="0.1524" layer="21"/>
  391. <wire x1="-7.62" y1="1.905" x2="-6.985" y2="2.54" width="0.1524" layer="21"/>
  392. <wire x1="-6.985" y1="2.54" x2="-5.715" y2="2.54" width="0.1524" layer="21"/>
  393. <wire x1="-5.715" y1="2.54" x2="-5.08" y2="1.905" width="0.1524" layer="21"/>
  394. <wire x1="-5.08" y1="1.905" x2="-4.445" y2="2.54" width="0.1524" layer="21"/>
  395. <wire x1="-4.445" y1="2.54" x2="-3.175" y2="2.54" width="0.1524" layer="21"/>
  396. <wire x1="-3.175" y1="2.54" x2="-2.54" y2="1.905" width="0.1524" layer="21"/>
  397. <wire x1="-2.54" y1="1.905" x2="-1.905" y2="2.54" width="0.1524" layer="21"/>
  398. <wire x1="-1.905" y1="2.54" x2="-0.635" y2="2.54" width="0.1524" layer="21"/>
  399. <wire x1="-0.635" y1="2.54" x2="0" y2="1.905" width="0.1524" layer="21"/>
  400. <wire x1="0" y1="1.905" x2="0.635" y2="2.54" width="0.1524" layer="21"/>
  401. <wire x1="0.635" y1="2.54" x2="1.905" y2="2.54" width="0.1524" layer="21"/>
  402. <wire x1="1.905" y1="2.54" x2="2.54" y2="1.905" width="0.1524" layer="21"/>
  403. <wire x1="2.54" y1="1.905" x2="3.175" y2="2.54" width="0.1524" layer="21"/>
  404. <wire x1="3.175" y1="2.54" x2="4.445" y2="2.54" width="0.1524" layer="21"/>
  405. <wire x1="4.445" y1="2.54" x2="5.08" y2="1.905" width="0.1524" layer="21"/>
  406. <wire x1="-5.08" y1="1.905" x2="-5.08" y2="-1.905" width="0.1524" layer="21"/>
  407. <wire x1="-2.54" y1="1.905" x2="-2.54" y2="-1.905" width="0.1524" layer="21"/>
  408. <wire x1="0" y1="1.905" x2="0" y2="-1.905" width="0.1524" layer="21"/>
  409. <wire x1="2.54" y1="1.905" x2="2.54" y2="-1.905" width="0.1524" layer="21"/>
  410. <wire x1="5.08" y1="1.905" x2="5.08" y2="-1.905" width="0.1524" layer="21"/>
  411. <wire x1="3.175" y1="-2.54" x2="4.445" y2="-2.54" width="0.1524" layer="21"/>
  412. <wire x1="0.635" y1="-2.54" x2="1.905" y2="-2.54" width="0.1524" layer="21"/>
  413. <wire x1="-1.905" y1="-2.54" x2="-0.635" y2="-2.54" width="0.1524" layer="21"/>
  414. <wire x1="-4.445" y1="-2.54" x2="-3.175" y2="-2.54" width="0.1524" layer="21"/>
  415. <wire x1="-6.985" y1="-2.54" x2="-5.715" y2="-2.54" width="0.1524" layer="21"/>
  416. <wire x1="5.08" y1="-1.905" x2="5.715" y2="-2.54" width="0.1524" layer="21"/>
  417. <wire x1="6.985" y1="-2.54" x2="7.62" y2="-1.905" width="0.1524" layer="21"/>
  418. <wire x1="5.08" y1="1.905" x2="5.715" y2="2.54" width="0.1524" layer="21"/>
  419. <wire x1="5.715" y1="2.54" x2="6.985" y2="2.54" width="0.1524" layer="21"/>
  420. <wire x1="6.985" y1="2.54" x2="7.62" y2="1.905" width="0.1524" layer="21"/>
  421. <wire x1="7.62" y1="1.905" x2="7.62" y2="-1.905" width="0.1524" layer="21"/>
  422. <wire x1="5.715" y1="-2.54" x2="6.985" y2="-2.54" width="0.1524" layer="21"/>
  423. <pad name="1" x="-6.35" y="-1.27" drill="1.016" shape="octagon"/>
  424. <pad name="2" x="-6.35" y="1.27" drill="1.016" shape="octagon"/>
  425. <pad name="3" x="-3.81" y="-1.27" drill="1.016" shape="octagon"/>
  426. <pad name="4" x="-3.81" y="1.27" drill="1.016" shape="octagon"/>
  427. <pad name="5" x="-1.27" y="-1.27" drill="1.016" shape="octagon"/>
  428. <pad name="6" x="-1.27" y="1.27" drill="1.016" shape="octagon"/>
  429. <pad name="7" x="1.27" y="-1.27" drill="1.016" shape="octagon"/>
  430. <pad name="8" x="1.27" y="1.27" drill="1.016" shape="octagon"/>
  431. <pad name="9" x="3.81" y="-1.27" drill="1.016" shape="octagon"/>
  432. <pad name="10" x="3.81" y="1.27" drill="1.016" shape="octagon"/>
  433. <pad name="11" x="6.35" y="-1.27" drill="1.016" shape="octagon"/>
  434. <pad name="12" x="6.35" y="1.27" drill="1.016" shape="octagon"/>
  435. <text x="-7.62" y="3.175" size="1.27" layer="25" ratio="10">&gt;NAME</text>
  436. <text x="-7.62" y="-4.445" size="1.27" layer="27">&gt;VALUE</text>
  437. <rectangle x1="-6.604" y1="-1.524" x2="-6.096" y2="-1.016" layer="51"/>
  438. <rectangle x1="-6.604" y1="1.016" x2="-6.096" y2="1.524" layer="51"/>
  439. <rectangle x1="-4.064" y1="1.016" x2="-3.556" y2="1.524" layer="51"/>
  440. <rectangle x1="-4.064" y1="-1.524" x2="-3.556" y2="-1.016" layer="51"/>
  441. <rectangle x1="-1.524" y1="1.016" x2="-1.016" y2="1.524" layer="51"/>
  442. <rectangle x1="-1.524" y1="-1.524" x2="-1.016" y2="-1.016" layer="51"/>
  443. <rectangle x1="1.016" y1="1.016" x2="1.524" y2="1.524" layer="51"/>
  444. <rectangle x1="3.556" y1="1.016" x2="4.064" y2="1.524" layer="51"/>
  445. <rectangle x1="1.016" y1="-1.524" x2="1.524" y2="-1.016" layer="51"/>
  446. <rectangle x1="3.556" y1="-1.524" x2="4.064" y2="-1.016" layer="51"/>
  447. <rectangle x1="6.096" y1="1.016" x2="6.604" y2="1.524" layer="51"/>
  448. <rectangle x1="6.096" y1="-1.524" x2="6.604" y2="-1.016" layer="51"/>
  449. </package>
  450. <package name="2X06/90">
  451. <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
  452. <wire x1="-7.62" y1="-1.905" x2="-5.08" y2="-1.905" width="0.1524" layer="21"/>
  453. <wire x1="-5.08" y1="-1.905" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
  454. <wire x1="-5.08" y1="0.635" x2="-7.62" y2="0.635" width="0.1524" layer="21"/>
  455. <wire x1="-7.62" y1="0.635" x2="-7.62" y2="-1.905" width="0.1524" layer="21"/>
  456. <wire x1="-6.35" y1="6.985" x2="-6.35" y2="1.27" width="0.762" layer="21"/>
  457. <wire x1="-5.08" y1="-1.905" x2="-2.54" y2="-1.905" width="0.1524" layer="21"/>
  458. <wire x1="-2.54" y1="-1.905" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
  459. <wire x1="-2.54" y1="0.635" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
  460. <wire x1="-3.81" y1="6.985" x2="-3.81" y2="1.27" width="0.762" layer="21"/>
  461. <wire x1="-2.54" y1="-1.905" x2="0" y2="-1.905" width="0.1524" layer="21"/>
  462. <wire x1="0" y1="-1.905" x2="0" y2="0.635" width="0.1524" layer="21"/>
  463. <wire x1="0" y1="0.635" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
  464. <wire x1="-1.27" y1="6.985" x2="-1.27" y2="1.27" width="0.762" layer="21"/>
  465. <wire x1="0" y1="-1.905" x2="2.54" y2="-1.905" width="0.1524" layer="21"/>
  466. <wire x1="2.54" y1="-1.905" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
  467. <wire x1="2.54" y1="0.635" x2="0" y2="0.635" width="0.1524" layer="21"/>
  468. <wire x1="1.27" y1="6.985" x2="1.27" y2="1.27" width="0.762" layer="21"/>
  469. <wire x1="2.54" y1="-1.905" x2="5.08" y2="-1.905" width="0.1524" layer="21"/>
  470. <wire x1="5.08" y1="-1.905" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
  471. <wire x1="5.08" y1="0.635" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
  472. <wire x1="3.81" y1="6.985" x2="3.81" y2="1.27" width="0.762" layer="21"/>
  473. <wire x1="5.08" y1="-1.905" x2="7.62" y2="-1.905" width="0.1524" layer="21"/>
  474. <wire x1="7.62" y1="-1.905" x2="7.62" y2="0.635" width="0.1524" layer="21"/>
  475. <wire x1="7.62" y1="0.635" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
  476. <wire x1="6.35" y1="6.985" x2="6.35" y2="1.27" width="0.762" layer="21"/>
  477. <pad name="2" x="-6.35" y="-3.81" drill="1.016" shape="octagon"/>
  478. <pad name="4" x="-3.81" y="-3.81" drill="1.016" shape="octagon"/>
  479. <pad name="6" x="-1.27" y="-3.81" drill="1.016" shape="octagon"/>
  480. <pad name="8" x="1.27" y="-3.81" drill="1.016" shape="octagon"/>
  481. <pad name="10" x="3.81" y="-3.81" drill="1.016" shape="octagon"/>
  482. <pad name="12" x="6.35" y="-3.81" drill="1.016" shape="octagon"/>
  483. <pad name="1" x="-6.35" y="-6.35" drill="1.016" shape="octagon"/>
  484. <pad name="3" x="-3.81" y="-6.35" drill="1.016" shape="octagon"/>
  485. <pad name="5" x="-1.27" y="-6.35" drill="1.016" shape="octagon"/>
  486. <pad name="7" x="1.27" y="-6.35" drill="1.016" shape="octagon"/>
  487. <pad name="9" x="3.81" y="-6.35" drill="1.016" shape="octagon"/>
  488. <pad name="11" x="6.35" y="-6.35" drill="1.016" shape="octagon"/>
  489. <text x="-8.255" y="-3.81" size="1.27" layer="25" ratio="10" rot="R90">&gt;NAME</text>
  490. <text x="9.525" y="-3.81" size="1.27" layer="27" rot="R90">&gt;VALUE</text>
  491. <rectangle x1="-6.731" y1="0.635" x2="-5.969" y2="1.143" layer="21"/>
  492. <rectangle x1="-4.191" y1="0.635" x2="-3.429" y2="1.143" layer="21"/>
  493. <rectangle x1="-1.651" y1="0.635" x2="-0.889" y2="1.143" layer="21"/>
  494. <rectangle x1="0.889" y1="0.635" x2="1.651" y2="1.143" layer="21"/>
  495. <rectangle x1="3.429" y1="0.635" x2="4.191" y2="1.143" layer="21"/>
  496. <rectangle x1="5.969" y1="0.635" x2="6.731" y2="1.143" layer="21"/>
  497. <rectangle x1="-6.731" y1="-2.921" x2="-5.969" y2="-1.905" layer="21"/>
  498. <rectangle x1="-4.191" y1="-2.921" x2="-3.429" y2="-1.905" layer="21"/>
  499. <rectangle x1="-6.731" y1="-5.461" x2="-5.969" y2="-4.699" layer="21"/>
  500. <rectangle x1="-6.731" y1="-4.699" x2="-5.969" y2="-2.921" layer="51"/>
  501. <rectangle x1="-4.191" y1="-4.699" x2="-3.429" y2="-2.921" layer="51"/>
  502. <rectangle x1="-4.191" y1="-5.461" x2="-3.429" y2="-4.699" layer="21"/>
  503. <rectangle x1="-1.651" y1="-2.921" x2="-0.889" y2="-1.905" layer="21"/>
  504. <rectangle x1="0.889" y1="-2.921" x2="1.651" y2="-1.905" layer="21"/>
  505. <rectangle x1="-1.651" y1="-5.461" x2="-0.889" y2="-4.699" layer="21"/>
  506. <rectangle x1="-1.651" y1="-4.699" x2="-0.889" y2="-2.921" layer="51"/>
  507. <rectangle x1="0.889" y1="-4.699" x2="1.651" y2="-2.921" layer="51"/>
  508. <rectangle x1="0.889" y1="-5.461" x2="1.651" y2="-4.699" layer="21"/>
  509. <rectangle x1="3.429" y1="-2.921" x2="4.191" y2="-1.905" layer="21"/>
  510. <rectangle x1="5.969" y1="-2.921" x2="6.731" y2="-1.905" layer="21"/>
  511. <rectangle x1="3.429" y1="-5.461" x2="4.191" y2="-4.699" layer="21"/>
  512. <rectangle x1="3.429" y1="-4.699" x2="4.191" y2="-2.921" layer="51"/>
  513. <rectangle x1="5.969" y1="-4.699" x2="6.731" y2="-2.921" layer="51"/>
  514. <rectangle x1="5.969" y1="-5.461" x2="6.731" y2="-4.699" layer="21"/>
  515. </package>
  516. </packages>
  517. <symbols>
  518. <symbol name="PINH2X6">
  519. <wire x1="-6.35" y1="-10.16" x2="8.89" y2="-10.16" width="0.4064" layer="94"/>
  520. <wire x1="8.89" y1="-10.16" x2="8.89" y2="7.62" width="0.4064" layer="94"/>
  521. <wire x1="8.89" y1="7.62" x2="-6.35" y2="7.62" width="0.4064" layer="94"/>
  522. <wire x1="-6.35" y1="7.62" x2="-6.35" y2="-10.16" width="0.4064" layer="94"/>
  523. <text x="-6.35" y="8.255" size="1.778" layer="95">&gt;NAME</text>
  524. <text x="-6.35" y="-12.7" size="1.778" layer="96">&gt;VALUE</text>
  525. <pin name="1" x="-2.54" y="5.08" visible="pad" length="short" direction="pas" function="dot"/>
  526. <pin name="2" x="5.08" y="5.08" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  527. <pin name="3" x="-2.54" y="2.54" visible="pad" length="short" direction="pas" function="dot"/>
  528. <pin name="4" x="5.08" y="2.54" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  529. <pin name="5" x="-2.54" y="0" visible="pad" length="short" direction="pas" function="dot"/>
  530. <pin name="6" x="5.08" y="0" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  531. <pin name="7" x="-2.54" y="-2.54" visible="pad" length="short" direction="pas" function="dot"/>
  532. <pin name="8" x="5.08" y="-2.54" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  533. <pin name="9" x="-2.54" y="-5.08" visible="pad" length="short" direction="pas" function="dot"/>
  534. <pin name="10" x="5.08" y="-5.08" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  535. <pin name="11" x="-2.54" y="-7.62" visible="pad" length="short" direction="pas" function="dot"/>
  536. <pin name="12" x="5.08" y="-7.62" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  537. </symbol>
  538. </symbols>
  539. <devicesets>
  540. <deviceset name="PINHD-2X6" prefix="JP" uservalue="yes">
  541. <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
  542. <gates>
  543. <gate name="A" symbol="PINH2X6" x="0" y="0"/>
  544. </gates>
  545. <devices>
  546. <device name="" package="2X06">
  547. <connects>
  548. <connect gate="A" pin="1" pad="1"/>
  549. <connect gate="A" pin="10" pad="10"/>
  550. <connect gate="A" pin="11" pad="11"/>
  551. <connect gate="A" pin="12" pad="12"/>
  552. <connect gate="A" pin="2" pad="2"/>
  553. <connect gate="A" pin="3" pad="3"/>
  554. <connect gate="A" pin="4" pad="4"/>
  555. <connect gate="A" pin="5" pad="5"/>
  556. <connect gate="A" pin="6" pad="6"/>
  557. <connect gate="A" pin="7" pad="7"/>
  558. <connect gate="A" pin="8" pad="8"/>
  559. <connect gate="A" pin="9" pad="9"/>
  560. </connects>
  561. <technologies>
  562. <technology name=""/>
  563. </technologies>
  564. </device>
  565. <device name="/90" package="2X06/90">
  566. <connects>
  567. <connect gate="A" pin="1" pad="1"/>
  568. <connect gate="A" pin="10" pad="10"/>
  569. <connect gate="A" pin="11" pad="11"/>
  570. <connect gate="A" pin="12" pad="12"/>
  571. <connect gate="A" pin="2" pad="2"/>
  572. <connect gate="A" pin="3" pad="3"/>
  573. <connect gate="A" pin="4" pad="4"/>
  574. <connect gate="A" pin="5" pad="5"/>
  575. <connect gate="A" pin="6" pad="6"/>
  576. <connect gate="A" pin="7" pad="7"/>
  577. <connect gate="A" pin="8" pad="8"/>
  578. <connect gate="A" pin="9" pad="9"/>
  579. </connects>
  580. <technologies>
  581. <technology name=""/>
  582. </technologies>
  583. </device>
  584. </devices>
  585. </deviceset>
  586. </devicesets>
  587. </library>
  588. </libraries>
  589. <attributes>
  590. </attributes>
  591. <variantdefs>
  592. </variantdefs>
  593. <classes>
  594. <class number="0" name="default" width="0" drill="0">
  595. </class>
  596. </classes>
  597. <parts>
  598. <part name="IC1" library="stm32" deviceset="STM32F10XCXT6" device=""/>
  599. <part name="JP1" library="pinhead" deviceset="PINHD-2X6" device=""/>
  600. <part name="JP2" library="pinhead" deviceset="PINHD-2X6" device=""/>
  601. <part name="JP3" library="pinhead" deviceset="PINHD-2X6" device=""/>
  602. <part name="JP4" library="pinhead" deviceset="PINHD-2X6" device=""/>
  603. </parts>
  604. <sheets>
  605. <sheet>
  606. <plain>
  607. </plain>
  608. <instances>
  609. <instance part="IC1" gate="PORTA_L" x="25.4" y="97.79" rot="MR0"/>
  610. <instance part="IC1" gate="PORTA_H" x="25.4" y="10.16" rot="MR0"/>
  611. <instance part="IC1" gate="PORTB_L" x="22.86" y="66.04"/>
  612. <instance part="IC1" gate="PORTB_H" x="22.86" y="40.64"/>
  613. <instance part="IC1" gate="POWER" x="-11.43" y="101.6" rot="MR0"/>
  614. <instance part="IC1" gate="PORTC" x="25.4" y="153.67" rot="R180"/>
  615. <instance part="IC1" gate="PORTD/OSC" x="25.4" y="139.7"/>
  616. <instance part="IC1" gate="AN_POWER" x="22.86" y="170.18"/>
  617. <instance part="IC1" gate="RESET" x="22.86" y="123.19"/>
  618. <instance part="JP1" gate="A" x="114.3" y="167.64"/>
  619. <instance part="JP2" gate="A" x="114.3" y="120.65"/>
  620. <instance part="JP3" gate="A" x="114.3" y="73.66"/>
  621. <instance part="JP4" gate="A" x="134.62" y="21.59"/>
  622. </instances>
  623. <busses>
  624. </busses>
  625. <nets>
  626. <net name="N$1" class="0">
  627. <segment>
  628. <pinref part="IC1" gate="AN_POWER" pin="VBAT"/>
  629. <wire x1="33.02" y1="175.26" x2="105.41" y2="175.26" width="0.1524" layer="91"/>
  630. <wire x1="105.41" y1="175.26" x2="105.41" y2="172.72" width="0.1524" layer="91"/>
  631. <pinref part="JP1" gate="A" pin="1"/>
  632. <wire x1="105.41" y1="172.72" x2="111.76" y2="172.72" width="0.1524" layer="91"/>
  633. </segment>
  634. </net>
  635. <net name="N$2" class="0">
  636. <segment>
  637. <pinref part="IC1" gate="PORTC" pin="PC13"/>
  638. <wire x1="33.02" y1="151.13" x2="66.04" y2="151.13" width="0.1524" layer="91"/>
  639. <wire x1="66.04" y1="151.13" x2="66.04" y2="176.53" width="0.1524" layer="91"/>
  640. <wire x1="66.04" y1="176.53" x2="128.27" y2="176.53" width="0.1524" layer="91"/>
  641. <wire x1="128.27" y1="176.53" x2="128.27" y2="172.72" width="0.1524" layer="91"/>
  642. <pinref part="JP1" gate="A" pin="2"/>
  643. <wire x1="128.27" y1="172.72" x2="119.38" y2="172.72" width="0.1524" layer="91"/>
  644. </segment>
  645. </net>
  646. <net name="N$3" class="0">
  647. <segment>
  648. <pinref part="IC1" gate="PORTC" pin="PC14"/>
  649. <wire x1="33.02" y1="153.67" x2="64.77" y2="153.67" width="0.1524" layer="91"/>
  650. <wire x1="64.77" y1="153.67" x2="64.77" y2="170.18" width="0.1524" layer="91"/>
  651. <pinref part="JP1" gate="A" pin="3"/>
  652. <wire x1="64.77" y1="170.18" x2="111.76" y2="170.18" width="0.1524" layer="91"/>
  653. </segment>
  654. </net>
  655. <net name="N$4" class="0">
  656. <segment>
  657. <pinref part="IC1" gate="PORTC" pin="PC15"/>
  658. <wire x1="33.02" y1="156.21" x2="104.14" y2="156.21" width="0.1524" layer="91"/>
  659. <wire x1="104.14" y1="156.21" x2="104.14" y2="177.8" width="0.1524" layer="91"/>
  660. <wire x1="104.14" y1="177.8" x2="129.54" y2="177.8" width="0.1524" layer="91"/>
  661. <wire x1="129.54" y1="177.8" x2="129.54" y2="170.18" width="0.1524" layer="91"/>
  662. <pinref part="JP1" gate="A" pin="4"/>
  663. <wire x1="129.54" y1="170.18" x2="119.38" y2="170.18" width="0.1524" layer="91"/>
  664. </segment>
  665. </net>
  666. <net name="N$5" class="0">
  667. <segment>
  668. <pinref part="IC1" gate="PORTD/OSC" pin="PD0/OSC&lt;="/>
  669. <wire x1="33.02" y1="139.7" x2="67.31" y2="139.7" width="0.1524" layer="91"/>
  670. <wire x1="67.31" y1="139.7" x2="67.31" y2="167.64" width="0.1524" layer="91"/>
  671. <pinref part="JP1" gate="A" pin="5"/>
  672. <wire x1="67.31" y1="167.64" x2="111.76" y2="167.64" width="0.1524" layer="91"/>
  673. </segment>
  674. </net>
  675. <net name="N$6" class="0">
  676. <segment>
  677. <pinref part="IC1" gate="PORTD/OSC" pin="PD1/OSC=&gt;"/>
  678. <wire x1="33.02" y1="137.16" x2="72.39" y2="137.16" width="0.1524" layer="91"/>
  679. <wire x1="72.39" y1="137.16" x2="72.39" y2="179.07" width="0.1524" layer="91"/>
  680. <wire x1="72.39" y1="179.07" x2="130.81" y2="179.07" width="0.1524" layer="91"/>
  681. <wire x1="130.81" y1="179.07" x2="130.81" y2="167.64" width="0.1524" layer="91"/>
  682. <pinref part="JP1" gate="A" pin="6"/>
  683. <wire x1="130.81" y1="167.64" x2="119.38" y2="167.64" width="0.1524" layer="91"/>
  684. </segment>
  685. </net>
  686. <net name="N$7" class="0">
  687. <segment>
  688. <pinref part="IC1" gate="RESET" pin="NRST"/>
  689. <wire x1="33.02" y1="125.73" x2="68.58" y2="125.73" width="0.1524" layer="91"/>
  690. <wire x1="68.58" y1="125.73" x2="68.58" y2="165.1" width="0.1524" layer="91"/>
  691. <pinref part="JP1" gate="A" pin="7"/>
  692. <wire x1="68.58" y1="165.1" x2="111.76" y2="165.1" width="0.1524" layer="91"/>
  693. </segment>
  694. </net>
  695. <net name="N$10" class="0">
  696. <segment>
  697. <pinref part="IC1" gate="PORTA_L" pin="PA0"/>
  698. <wire x1="33.02" y1="105.41" x2="69.85" y2="105.41" width="0.1524" layer="91"/>
  699. <wire x1="69.85" y1="105.41" x2="69.85" y2="181.61" width="0.1524" layer="91"/>
  700. <wire x1="69.85" y1="181.61" x2="133.35" y2="181.61" width="0.1524" layer="91"/>
  701. <wire x1="133.35" y1="181.61" x2="133.35" y2="162.56" width="0.1524" layer="91"/>
  702. <pinref part="JP1" gate="A" pin="10"/>
  703. <wire x1="133.35" y1="162.56" x2="119.38" y2="162.56" width="0.1524" layer="91"/>
  704. </segment>
  705. </net>
  706. <net name="N$11" class="0">
  707. <segment>
  708. <pinref part="IC1" gate="PORTA_L" pin="PA1"/>
  709. <wire x1="33.02" y1="102.87" x2="71.12" y2="102.87" width="0.1524" layer="91"/>
  710. <wire x1="71.12" y1="102.87" x2="71.12" y2="160.02" width="0.1524" layer="91"/>
  711. <pinref part="JP1" gate="A" pin="11"/>
  712. <wire x1="71.12" y1="160.02" x2="111.76" y2="160.02" width="0.1524" layer="91"/>
  713. </segment>
  714. </net>
  715. <net name="N$12" class="0">
  716. <segment>
  717. <pinref part="IC1" gate="PORTA_L" pin="PA2"/>
  718. <wire x1="33.02" y1="100.33" x2="71.12" y2="100.33" width="0.1524" layer="91"/>
  719. <wire x1="71.12" y1="100.33" x2="71.12" y2="182.88" width="0.1524" layer="91"/>
  720. <wire x1="71.12" y1="182.88" x2="134.62" y2="182.88" width="0.1524" layer="91"/>
  721. <wire x1="134.62" y1="182.88" x2="134.62" y2="160.02" width="0.1524" layer="91"/>
  722. <pinref part="JP1" gate="A" pin="12"/>
  723. <wire x1="134.62" y1="160.02" x2="119.38" y2="160.02" width="0.1524" layer="91"/>
  724. </segment>
  725. </net>
  726. <net name="N$13" class="0">
  727. <segment>
  728. <pinref part="IC1" gate="PORTA_L" pin="PA3"/>
  729. <wire x1="33.02" y1="97.79" x2="72.39" y2="97.79" width="0.1524" layer="91"/>
  730. <wire x1="72.39" y1="97.79" x2="72.39" y2="125.73" width="0.1524" layer="91"/>
  731. <pinref part="JP2" gate="A" pin="1"/>
  732. <wire x1="72.39" y1="125.73" x2="111.76" y2="125.73" width="0.1524" layer="91"/>
  733. </segment>
  734. </net>
  735. <net name="N$14" class="0">
  736. <segment>
  737. <wire x1="73.66" y1="95.25" x2="73.66" y2="130.81" width="0.1524" layer="91"/>
  738. <wire x1="73.66" y1="130.81" x2="125.73" y2="130.81" width="0.1524" layer="91"/>
  739. <wire x1="125.73" y1="130.81" x2="125.73" y2="125.73" width="0.1524" layer="91"/>
  740. <pinref part="IC1" gate="PORTA_L" pin="PA4"/>
  741. <wire x1="33.02" y1="95.25" x2="73.66" y2="95.25" width="0.1524" layer="91"/>
  742. <pinref part="JP2" gate="A" pin="2"/>
  743. <wire x1="125.73" y1="125.73" x2="119.38" y2="125.73" width="0.1524" layer="91"/>
  744. </segment>
  745. </net>
  746. <net name="N$15" class="0">
  747. <segment>
  748. <pinref part="IC1" gate="PORTA_L" pin="PA5"/>
  749. <wire x1="33.02" y1="92.71" x2="74.93" y2="92.71" width="0.1524" layer="91"/>
  750. <wire x1="74.93" y1="92.71" x2="74.93" y2="123.19" width="0.1524" layer="91"/>
  751. <pinref part="JP2" gate="A" pin="3"/>
  752. <wire x1="74.93" y1="123.19" x2="111.76" y2="123.19" width="0.1524" layer="91"/>
  753. </segment>
  754. </net>
  755. <net name="N$16" class="0">
  756. <segment>
  757. <pinref part="IC1" gate="PORTA_L" pin="PA6"/>
  758. <wire x1="33.02" y1="90.17" x2="76.2" y2="90.17" width="0.1524" layer="91"/>
  759. <wire x1="76.2" y1="90.17" x2="76.2" y2="133.35" width="0.1524" layer="91"/>
  760. <wire x1="76.2" y1="133.35" x2="127" y2="133.35" width="0.1524" layer="91"/>
  761. <wire x1="127" y1="133.35" x2="127" y2="123.19" width="0.1524" layer="91"/>
  762. <pinref part="JP2" gate="A" pin="4"/>
  763. <wire x1="127" y1="123.19" x2="119.38" y2="123.19" width="0.1524" layer="91"/>
  764. </segment>
  765. </net>
  766. <net name="N$17" class="0">
  767. <segment>
  768. <pinref part="IC1" gate="PORTA_L" pin="PA7"/>
  769. <wire x1="33.02" y1="87.63" x2="77.47" y2="87.63" width="0.1524" layer="91"/>
  770. <wire x1="77.47" y1="87.63" x2="77.47" y2="120.65" width="0.1524" layer="91"/>
  771. <pinref part="JP2" gate="A" pin="5"/>
  772. <wire x1="77.47" y1="120.65" x2="111.76" y2="120.65" width="0.1524" layer="91"/>
  773. </segment>
  774. </net>
  775. <net name="N$18" class="0">
  776. <segment>
  777. <pinref part="IC1" gate="PORTB_L" pin="PB0"/>
  778. <wire x1="33.02" y1="76.2" x2="78.74" y2="76.2" width="0.1524" layer="91"/>
  779. <wire x1="78.74" y1="76.2" x2="78.74" y2="134.62" width="0.1524" layer="91"/>
  780. <wire x1="78.74" y1="134.62" x2="128.27" y2="134.62" width="0.1524" layer="91"/>
  781. <wire x1="128.27" y1="134.62" x2="128.27" y2="120.65" width="0.1524" layer="91"/>
  782. <pinref part="JP2" gate="A" pin="6"/>
  783. <wire x1="128.27" y1="120.65" x2="119.38" y2="120.65" width="0.1524" layer="91"/>
  784. </segment>
  785. </net>
  786. <net name="N$19" class="0">
  787. <segment>
  788. <pinref part="IC1" gate="PORTB_L" pin="PB1"/>
  789. <wire x1="33.02" y1="73.66" x2="80.01" y2="73.66" width="0.1524" layer="91"/>
  790. <wire x1="80.01" y1="73.66" x2="80.01" y2="118.11" width="0.1524" layer="91"/>
  791. <pinref part="JP2" gate="A" pin="7"/>
  792. <wire x1="80.01" y1="118.11" x2="111.76" y2="118.11" width="0.1524" layer="91"/>
  793. </segment>
  794. </net>
  795. <net name="N$20" class="0">
  796. <segment>
  797. <pinref part="IC1" gate="PORTB_L" pin="PB2"/>
  798. <wire x1="33.02" y1="71.12" x2="81.28" y2="71.12" width="0.1524" layer="91"/>
  799. <wire x1="81.28" y1="71.12" x2="81.28" y2="135.89" width="0.1524" layer="91"/>
  800. <wire x1="81.28" y1="135.89" x2="129.54" y2="135.89" width="0.1524" layer="91"/>
  801. <wire x1="129.54" y1="135.89" x2="129.54" y2="118.11" width="0.1524" layer="91"/>
  802. <pinref part="JP2" gate="A" pin="8"/>
  803. <wire x1="129.54" y1="118.11" x2="119.38" y2="118.11" width="0.1524" layer="91"/>
  804. </segment>
  805. </net>
  806. <net name="N$21" class="0">
  807. <segment>
  808. <pinref part="IC1" gate="PORTB_H" pin="PB10"/>
  809. <wire x1="33.02" y1="43.18" x2="82.55" y2="43.18" width="0.1524" layer="91"/>
  810. <wire x1="82.55" y1="43.18" x2="82.55" y2="115.57" width="0.1524" layer="91"/>
  811. <pinref part="JP2" gate="A" pin="9"/>
  812. <wire x1="82.55" y1="115.57" x2="111.76" y2="115.57" width="0.1524" layer="91"/>
  813. </segment>
  814. </net>
  815. <net name="N$22" class="0">
  816. <segment>
  817. <pinref part="IC1" gate="PORTB_H" pin="PB11"/>
  818. <wire x1="33.02" y1="40.64" x2="83.82" y2="40.64" width="0.1524" layer="91"/>
  819. <wire x1="83.82" y1="40.64" x2="83.82" y2="137.16" width="0.1524" layer="91"/>
  820. <wire x1="83.82" y1="137.16" x2="130.81" y2="137.16" width="0.1524" layer="91"/>
  821. <wire x1="130.81" y1="137.16" x2="130.81" y2="115.57" width="0.1524" layer="91"/>
  822. <pinref part="JP2" gate="A" pin="10"/>
  823. <wire x1="130.81" y1="115.57" x2="119.38" y2="115.57" width="0.1524" layer="91"/>
  824. </segment>
  825. </net>
  826. <net name="N$24" class="0">
  827. <segment>
  828. <pinref part="IC1" gate="POWER" pin="VDD_1"/>
  829. <wire x1="-1.27" y1="116.84" x2="3.81" y2="116.84" width="0.1524" layer="91"/>
  830. <wire x1="3.81" y1="116.84" x2="66.04" y2="116.84" width="0.1524" layer="91"/>
  831. <wire x1="66.04" y1="116.84" x2="66.04" y2="111.76" width="0.1524" layer="91"/>
  832. <wire x1="66.04" y1="111.76" x2="106.68" y2="111.76" width="0.1524" layer="91"/>
  833. <wire x1="106.68" y1="111.76" x2="106.68" y2="110.49" width="0.1524" layer="91"/>
  834. <wire x1="106.68" y1="110.49" x2="124.46" y2="110.49" width="0.1524" layer="91"/>
  835. <wire x1="124.46" y1="110.49" x2="124.46" y2="113.03" width="0.1524" layer="91"/>
  836. <pinref part="JP2" gate="A" pin="12"/>
  837. <wire x1="124.46" y1="113.03" x2="119.38" y2="113.03" width="0.1524" layer="91"/>
  838. <pinref part="IC1" gate="POWER" pin="VDD_2"/>
  839. <wire x1="-1.27" y1="111.76" x2="3.81" y2="111.76" width="0.1524" layer="91"/>
  840. <wire x1="3.81" y1="111.76" x2="12.7" y2="111.76" width="0.1524" layer="91"/>
  841. <wire x1="12.7" y1="111.76" x2="12.7" y2="81.28" width="0.1524" layer="91"/>
  842. <wire x1="12.7" y1="81.28" x2="76.2" y2="81.28" width="0.1524" layer="91"/>
  843. <wire x1="76.2" y1="81.28" x2="76.2" y2="63.5" width="0.1524" layer="91"/>
  844. <wire x1="76.2" y1="63.5" x2="97.79" y2="63.5" width="0.1524" layer="91"/>
  845. <wire x1="97.79" y1="63.5" x2="97.79" y2="90.17" width="0.1524" layer="91"/>
  846. <wire x1="97.79" y1="90.17" x2="130.81" y2="90.17" width="0.1524" layer="91"/>
  847. <wire x1="130.81" y1="90.17" x2="130.81" y2="66.04" width="0.1524" layer="91"/>
  848. <pinref part="JP3" gate="A" pin="12"/>
  849. <wire x1="130.81" y1="66.04" x2="119.38" y2="66.04" width="0.1524" layer="91"/>
  850. <wire x1="3.81" y1="116.84" x2="3.81" y2="111.76" width="0.1524" layer="91"/>
  851. <junction x="3.81" y="116.84"/>
  852. <junction x="3.81" y="111.76"/>
  853. <pinref part="IC1" gate="POWER" pin="VDD_3"/>
  854. <wire x1="-1.27" y1="106.68" x2="3.81" y2="106.68" width="0.1524" layer="91"/>
  855. <wire x1="3.81" y1="106.68" x2="10.16" y2="106.68" width="0.1524" layer="91"/>
  856. <wire x1="10.16" y1="106.68" x2="10.16" y2="52.07" width="0.1524" layer="91"/>
  857. <wire x1="10.16" y1="52.07" x2="152.4" y2="52.07" width="0.1524" layer="91"/>
  858. <wire x1="152.4" y1="52.07" x2="152.4" y2="13.97" width="0.1524" layer="91"/>
  859. <pinref part="JP4" gate="A" pin="12"/>
  860. <wire x1="152.4" y1="13.97" x2="139.7" y2="13.97" width="0.1524" layer="91"/>
  861. <wire x1="3.81" y1="111.76" x2="3.81" y2="106.68" width="0.1524" layer="91"/>
  862. <junction x="3.81" y="106.68"/>
  863. <wire x1="3.81" y1="116.84" x2="3.81" y2="161.29" width="0.1524" layer="91"/>
  864. <wire x1="3.81" y1="161.29" x2="39.37" y2="161.29" width="0.1524" layer="91"/>
  865. <pinref part="IC1" gate="AN_POWER" pin="VDDA"/>
  866. <wire x1="33.02" y1="165.1" x2="39.37" y2="165.1" width="0.1524" layer="91"/>
  867. <wire x1="40.64" y1="165.1" x2="63.5" y2="165.1" width="0.1524" layer="91"/>
  868. <wire x1="63.5" y1="165.1" x2="63.5" y2="162.56" width="0.1524" layer="91"/>
  869. <pinref part="JP1" gate="A" pin="9"/>
  870. <wire x1="63.5" y1="162.56" x2="111.76" y2="162.56" width="0.1524" layer="91"/>
  871. <wire x1="39.37" y1="161.29" x2="39.37" y2="165.1" width="0.1524" layer="91"/>
  872. <wire x1="39.37" y1="165.1" x2="40.64" y2="165.1" width="0.1524" layer="91"/>
  873. <junction x="39.37" y="165.1"/>
  874. </segment>
  875. </net>
  876. <net name="N$25" class="0">
  877. <segment>
  878. <pinref part="IC1" gate="PORTB_H" pin="PB12"/>
  879. <wire x1="33.02" y1="38.1" x2="85.09" y2="38.1" width="0.1524" layer="91"/>
  880. <wire x1="85.09" y1="38.1" x2="85.09" y2="78.74" width="0.1524" layer="91"/>
  881. <pinref part="JP3" gate="A" pin="1"/>
  882. <wire x1="85.09" y1="78.74" x2="111.76" y2="78.74" width="0.1524" layer="91"/>
  883. </segment>
  884. </net>
  885. <net name="N$26" class="0">
  886. <segment>
  887. <pinref part="IC1" gate="PORTB_H" pin="PB13"/>
  888. <wire x1="33.02" y1="35.56" x2="86.36" y2="35.56" width="0.1524" layer="91"/>
  889. <wire x1="86.36" y1="35.56" x2="86.36" y2="83.82" width="0.1524" layer="91"/>
  890. <wire x1="86.36" y1="83.82" x2="124.46" y2="83.82" width="0.1524" layer="91"/>
  891. <wire x1="124.46" y1="83.82" x2="124.46" y2="78.74" width="0.1524" layer="91"/>
  892. <pinref part="JP3" gate="A" pin="2"/>
  893. <wire x1="124.46" y1="78.74" x2="119.38" y2="78.74" width="0.1524" layer="91"/>
  894. </segment>
  895. </net>
  896. <net name="N$27" class="0">
  897. <segment>
  898. <pinref part="IC1" gate="PORTB_H" pin="PB14"/>
  899. <wire x1="33.02" y1="33.02" x2="87.63" y2="33.02" width="0.1524" layer="91"/>
  900. <wire x1="87.63" y1="33.02" x2="87.63" y2="76.2" width="0.1524" layer="91"/>
  901. <pinref part="JP3" gate="A" pin="3"/>
  902. <wire x1="87.63" y1="76.2" x2="111.76" y2="76.2" width="0.1524" layer="91"/>
  903. </segment>
  904. </net>
  905. <net name="N$28" class="0">
  906. <segment>
  907. <pinref part="IC1" gate="PORTB_H" pin="PB15"/>
  908. <wire x1="33.02" y1="30.48" x2="88.9" y2="30.48" width="0.1524" layer="91"/>
  909. <wire x1="88.9" y1="30.48" x2="88.9" y2="85.09" width="0.1524" layer="91"/>
  910. <wire x1="88.9" y1="85.09" x2="125.73" y2="85.09" width="0.1524" layer="91"/>
  911. <wire x1="125.73" y1="85.09" x2="125.73" y2="76.2" width="0.1524" layer="91"/>
  912. <pinref part="JP3" gate="A" pin="4"/>
  913. <wire x1="125.73" y1="76.2" x2="119.38" y2="76.2" width="0.1524" layer="91"/>
  914. </segment>
  915. </net>
  916. <net name="N$29" class="0">
  917. <segment>
  918. <wire x1="90.17" y1="20.32" x2="90.17" y2="73.66" width="0.1524" layer="91"/>
  919. <pinref part="JP3" gate="A" pin="5"/>
  920. <wire x1="90.17" y1="73.66" x2="111.76" y2="73.66" width="0.1524" layer="91"/>
  921. <pinref part="IC1" gate="PORTA_H" pin="PA8"/>
  922. <wire x1="33.02" y1="20.32" x2="90.17" y2="20.32" width="0.1524" layer="91"/>
  923. </segment>
  924. </net>
  925. <net name="N$30" class="0">
  926. <segment>
  927. <pinref part="IC1" gate="PORTA_H" pin="PA9"/>
  928. <wire x1="33.02" y1="17.78" x2="91.44" y2="17.78" width="0.1524" layer="91"/>
  929. <wire x1="91.44" y1="17.78" x2="91.44" y2="86.36" width="0.1524" layer="91"/>
  930. <wire x1="91.44" y1="86.36" x2="127" y2="86.36" width="0.1524" layer="91"/>
  931. <wire x1="127" y1="86.36" x2="127" y2="73.66" width="0.1524" layer="91"/>
  932. <pinref part="JP3" gate="A" pin="6"/>
  933. <wire x1="127" y1="73.66" x2="119.38" y2="73.66" width="0.1524" layer="91"/>
  934. </segment>
  935. </net>
  936. <net name="N$31" class="0">
  937. <segment>
  938. <pinref part="IC1" gate="PORTA_H" pin="PA10"/>
  939. <wire x1="33.02" y1="15.24" x2="92.71" y2="15.24" width="0.1524" layer="91"/>
  940. <wire x1="92.71" y1="15.24" x2="92.71" y2="71.12" width="0.1524" layer="91"/>
  941. <pinref part="JP3" gate="A" pin="7"/>
  942. <wire x1="92.71" y1="71.12" x2="111.76" y2="71.12" width="0.1524" layer="91"/>
  943. </segment>
  944. </net>
  945. <net name="N$32" class="0">
  946. <segment>
  947. <pinref part="IC1" gate="PORTA_H" pin="PA11"/>
  948. <wire x1="33.02" y1="12.7" x2="93.98" y2="12.7" width="0.1524" layer="91"/>
  949. <wire x1="93.98" y1="12.7" x2="93.98" y2="87.63" width="0.1524" layer="91"/>
  950. <wire x1="93.98" y1="87.63" x2="128.27" y2="87.63" width="0.1524" layer="91"/>
  951. <wire x1="128.27" y1="87.63" x2="128.27" y2="71.12" width="0.1524" layer="91"/>
  952. <pinref part="JP3" gate="A" pin="8"/>
  953. <wire x1="128.27" y1="71.12" x2="119.38" y2="71.12" width="0.1524" layer="91"/>
  954. </segment>
  955. </net>
  956. <net name="N$33" class="0">
  957. <segment>
  958. <pinref part="IC1" gate="PORTA_H" pin="PA12"/>
  959. <wire x1="33.02" y1="10.16" x2="95.25" y2="10.16" width="0.1524" layer="91"/>
  960. <wire x1="95.25" y1="10.16" x2="95.25" y2="68.58" width="0.1524" layer="91"/>
  961. <pinref part="JP3" gate="A" pin="9"/>
  962. <wire x1="95.25" y1="68.58" x2="111.76" y2="68.58" width="0.1524" layer="91"/>
  963. </segment>
  964. </net>
  965. <net name="N$34" class="0">
  966. <segment>
  967. <pinref part="IC1" gate="PORTA_H" pin="PA13"/>
  968. <wire x1="33.02" y1="7.62" x2="96.52" y2="7.62" width="0.1524" layer="91"/>
  969. <wire x1="96.52" y1="7.62" x2="96.52" y2="88.9" width="0.1524" layer="91"/>
  970. <wire x1="96.52" y1="88.9" x2="129.54" y2="88.9" width="0.1524" layer="91"/>
  971. <wire x1="129.54" y1="88.9" x2="129.54" y2="68.58" width="0.1524" layer="91"/>
  972. <pinref part="JP3" gate="A" pin="10"/>
  973. <wire x1="129.54" y1="68.58" x2="119.38" y2="68.58" width="0.1524" layer="91"/>
  974. </segment>
  975. </net>
  976. <net name="N$37" class="0">
  977. <segment>
  978. <pinref part="IC1" gate="PORTA_H" pin="PA14"/>
  979. <wire x1="33.02" y1="5.08" x2="97.79" y2="5.08" width="0.1524" layer="91"/>
  980. <wire x1="97.79" y1="5.08" x2="97.79" y2="26.67" width="0.1524" layer="91"/>
  981. <pinref part="JP4" gate="A" pin="1"/>
  982. <wire x1="97.79" y1="26.67" x2="132.08" y2="26.67" width="0.1524" layer="91"/>
  983. </segment>
  984. </net>
  985. <net name="N$38" class="0">
  986. <segment>
  987. <wire x1="33.02" y1="2.54" x2="99.06" y2="2.54" width="0.1524" layer="91"/>
  988. <wire x1="99.06" y1="2.54" x2="99.06" y2="31.75" width="0.1524" layer="91"/>
  989. <wire x1="99.06" y1="31.75" x2="146.05" y2="31.75" width="0.1524" layer="91"/>
  990. <wire x1="146.05" y1="31.75" x2="146.05" y2="26.67" width="0.1524" layer="91"/>
  991. <pinref part="JP4" gate="A" pin="2"/>
  992. <wire x1="146.05" y1="26.67" x2="139.7" y2="26.67" width="0.1524" layer="91"/>
  993. <pinref part="IC1" gate="PORTA_H" pin="PA15"/>
  994. </segment>
  995. </net>
  996. <net name="N$39" class="0">
  997. <segment>
  998. <pinref part="IC1" gate="PORTB_L" pin="PB3"/>
  999. <wire x1="33.02" y1="68.58" x2="74.93" y2="68.58" width="0.1524" layer="91"/>
  1000. <wire x1="74.93" y1="68.58" x2="74.93" y2="62.23" width="0.1524" layer="91"/>
  1001. <wire x1="74.93" y1="62.23" x2="127" y2="62.23" width="0.1524" layer="91"/>
  1002. <wire x1="127" y1="62.23" x2="127" y2="24.13" width="0.1524" layer="91"/>
  1003. <pinref part="JP4" gate="A" pin="3"/>
  1004. <wire x1="127" y1="24.13" x2="132.08" y2="24.13" width="0.1524" layer="91"/>
  1005. </segment>
  1006. </net>
  1007. <net name="N$40" class="0">
  1008. <segment>
  1009. <pinref part="IC1" gate="PORTB_L" pin="PB4"/>
  1010. <wire x1="33.02" y1="66.04" x2="73.66" y2="66.04" width="0.1524" layer="91"/>
  1011. <wire x1="73.66" y1="66.04" x2="73.66" y2="60.96" width="0.1524" layer="91"/>
  1012. <wire x1="73.66" y1="60.96" x2="147.32" y2="60.96" width="0.1524" layer="91"/>
  1013. <wire x1="147.32" y1="60.96" x2="147.32" y2="24.13" width="0.1524" layer="91"/>
  1014. <pinref part="JP4" gate="A" pin="4"/>
  1015. <wire x1="147.32" y1="24.13" x2="139.7" y2="24.13" width="0.1524" layer="91"/>
  1016. </segment>
  1017. </net>
  1018. <net name="N$41" class="0">
  1019. <segment>
  1020. <pinref part="IC1" gate="PORTB_L" pin="PB5"/>
  1021. <wire x1="33.02" y1="63.5" x2="72.39" y2="63.5" width="0.1524" layer="91"/>
  1022. <wire x1="72.39" y1="63.5" x2="72.39" y2="59.69" width="0.1524" layer="91"/>
  1023. <wire x1="72.39" y1="59.69" x2="125.73" y2="59.69" width="0.1524" layer="91"/>
  1024. <wire x1="125.73" y1="59.69" x2="125.73" y2="21.59" width="0.1524" layer="91"/>
  1025. <pinref part="JP4" gate="A" pin="5"/>
  1026. <wire x1="125.73" y1="21.59" x2="132.08" y2="21.59" width="0.1524" layer="91"/>
  1027. </segment>
  1028. </net>
  1029. <net name="N$42" class="0">
  1030. <segment>
  1031. <pinref part="IC1" gate="PORTB_L" pin="PB6"/>
  1032. <wire x1="33.02" y1="60.96" x2="71.12" y2="60.96" width="0.1524" layer="91"/>
  1033. <wire x1="71.12" y1="60.96" x2="71.12" y2="58.42" width="0.1524" layer="91"/>
  1034. <wire x1="71.12" y1="58.42" x2="148.59" y2="58.42" width="0.1524" layer="91"/>
  1035. <wire x1="148.59" y1="58.42" x2="148.59" y2="21.59" width="0.1524" layer="91"/>
  1036. <pinref part="JP4" gate="A" pin="6"/>
  1037. <wire x1="148.59" y1="21.59" x2="139.7" y2="21.59" width="0.1524" layer="91"/>
  1038. </segment>
  1039. </net>
  1040. <net name="N$43" class="0">
  1041. <segment>
  1042. <pinref part="IC1" gate="PORTB_L" pin="PB7"/>
  1043. <wire x1="33.02" y1="58.42" x2="69.85" y2="58.42" width="0.1524" layer="91"/>
  1044. <wire x1="69.85" y1="58.42" x2="69.85" y2="57.15" width="0.1524" layer="91"/>
  1045. <wire x1="69.85" y1="57.15" x2="124.46" y2="57.15" width="0.1524" layer="91"/>
  1046. <wire x1="124.46" y1="57.15" x2="124.46" y2="19.05" width="0.1524" layer="91"/>
  1047. <pinref part="JP4" gate="A" pin="7"/>
  1048. <wire x1="124.46" y1="19.05" x2="132.08" y2="19.05" width="0.1524" layer="91"/>
  1049. </segment>
  1050. </net>
  1051. <net name="N$44" class="0">
  1052. <segment>
  1053. <pinref part="IC1" gate="RESET" pin="BOOT0"/>
  1054. <wire x1="33.02" y1="120.65" x2="68.58" y2="120.65" width="0.1524" layer="91"/>
  1055. <wire x1="68.58" y1="120.65" x2="68.58" y2="55.88" width="0.1524" layer="91"/>
  1056. <wire x1="68.58" y1="55.88" x2="149.86" y2="55.88" width="0.1524" layer="91"/>
  1057. <wire x1="149.86" y1="55.88" x2="149.86" y2="19.05" width="0.1524" layer="91"/>
  1058. <pinref part="JP4" gate="A" pin="8"/>
  1059. <wire x1="149.86" y1="19.05" x2="139.7" y2="19.05" width="0.1524" layer="91"/>
  1060. </segment>
  1061. </net>
  1062. <net name="N$45" class="0">
  1063. <segment>
  1064. <pinref part="IC1" gate="PORTB_H" pin="PB8"/>
  1065. <wire x1="33.02" y1="48.26" x2="123.19" y2="48.26" width="0.1524" layer="91"/>
  1066. <wire x1="123.19" y1="48.26" x2="123.19" y2="16.51" width="0.1524" layer="91"/>
  1067. <pinref part="JP4" gate="A" pin="9"/>
  1068. <wire x1="123.19" y1="16.51" x2="132.08" y2="16.51" width="0.1524" layer="91"/>
  1069. </segment>
  1070. </net>
  1071. <net name="N$46" class="0">
  1072. <segment>
  1073. <wire x1="33.02" y1="45.72" x2="151.13" y2="45.72" width="0.1524" layer="91"/>
  1074. <wire x1="151.13" y1="45.72" x2="151.13" y2="16.51" width="0.1524" layer="91"/>
  1075. <pinref part="JP4" gate="A" pin="10"/>
  1076. <wire x1="151.13" y1="16.51" x2="139.7" y2="16.51" width="0.1524" layer="91"/>
  1077. <pinref part="IC1" gate="PORTB_H" pin="PB9"/>
  1078. </segment>
  1079. </net>
  1080. <net name="N$47" class="0">
  1081. <segment>
  1082. <pinref part="IC1" gate="POWER" pin="VSS_3"/>
  1083. <wire x1="-1.27" y1="86.36" x2="6.35" y2="86.36" width="0.1524" layer="91"/>
  1084. <wire x1="6.35" y1="86.36" x2="11.43" y2="86.36" width="0.1524" layer="91"/>
  1085. <wire x1="11.43" y1="86.36" x2="11.43" y2="54.61" width="0.1524" layer="91"/>
  1086. <wire x1="11.43" y1="54.61" x2="121.92" y2="54.61" width="0.1524" layer="91"/>
  1087. <wire x1="121.92" y1="54.61" x2="121.92" y2="13.97" width="0.1524" layer="91"/>
  1088. <pinref part="JP4" gate="A" pin="11"/>
  1089. <wire x1="121.92" y1="13.97" x2="132.08" y2="13.97" width="0.1524" layer="91"/>
  1090. <pinref part="IC1" gate="POWER" pin="VSS_2"/>
  1091. <wire x1="-1.27" y1="91.44" x2="6.35" y2="91.44" width="0.1524" layer="91"/>
  1092. <wire x1="6.35" y1="91.44" x2="13.97" y2="91.44" width="0.1524" layer="91"/>
  1093. <wire x1="13.97" y1="91.44" x2="13.97" y2="82.55" width="0.1524" layer="91"/>
  1094. <wire x1="13.97" y1="82.55" x2="77.47" y2="82.55" width="0.1524" layer="91"/>
  1095. <wire x1="77.47" y1="82.55" x2="77.47" y2="66.04" width="0.1524" layer="91"/>
  1096. <pinref part="JP3" gate="A" pin="11"/>
  1097. <wire x1="77.47" y1="66.04" x2="111.76" y2="66.04" width="0.1524" layer="91"/>
  1098. <wire x1="6.35" y1="86.36" x2="6.35" y2="91.44" width="0.1524" layer="91"/>
  1099. <junction x="6.35" y="86.36"/>
  1100. <pinref part="IC1" gate="POWER" pin="VSS_1"/>
  1101. <wire x1="-1.27" y1="96.52" x2="6.35" y2="96.52" width="0.1524" layer="91"/>
  1102. <wire x1="6.35" y1="96.52" x2="16.51" y2="96.52" width="0.1524" layer="91"/>
  1103. <wire x1="16.51" y1="96.52" x2="16.51" y2="113.03" width="0.1524" layer="91"/>
  1104. <pinref part="JP2" gate="A" pin="11"/>
  1105. <wire x1="16.51" y1="113.03" x2="111.76" y2="113.03" width="0.1524" layer="91"/>
  1106. <wire x1="6.35" y1="91.44" x2="6.35" y2="96.52" width="0.1524" layer="91"/>
  1107. <junction x="6.35" y="91.44"/>
  1108. <wire x1="6.35" y1="96.52" x2="6.35" y2="182.88" width="0.1524" layer="91"/>
  1109. <wire x1="6.35" y1="182.88" x2="35.56" y2="182.88" width="0.1524" layer="91"/>
  1110. <junction x="6.35" y="96.52"/>
  1111. <pinref part="IC1" gate="AN_POWER" pin="VSSA"/>
  1112. <wire x1="33.02" y1="170.18" x2="34.29" y2="170.18" width="0.1524" layer="91"/>
  1113. <wire x1="35.56" y1="170.18" x2="63.5" y2="170.18" width="0.1524" layer="91"/>
  1114. <wire x1="63.5" y1="170.18" x2="63.5" y2="180.34" width="0.1524" layer="91"/>
  1115. <wire x1="63.5" y1="180.34" x2="132.08" y2="180.34" width="0.1524" layer="91"/>
  1116. <wire x1="132.08" y1="180.34" x2="132.08" y2="165.1" width="0.1524" layer="91"/>
  1117. <pinref part="JP1" gate="A" pin="8"/>
  1118. <wire x1="132.08" y1="165.1" x2="119.38" y2="165.1" width="0.1524" layer="91"/>
  1119. <wire x1="35.56" y1="182.88" x2="35.56" y2="170.18" width="0.1524" layer="91"/>
  1120. <wire x1="35.56" y1="170.18" x2="34.29" y2="170.18" width="0.1524" layer="91"/>
  1121. <junction x="35.56" y="170.18"/>
  1122. </segment>
  1123. </net>
  1124. </nets>
  1125. </sheet>
  1126. </sheets>
  1127. </schematic>
  1128. </drawing>
  1129. </eagle>