From a9acafed534b7cc840e4164f0f8a313439841499 Mon Sep 17 00:00:00 2001 From: William Miceli Date: Tue, 2 Feb 2021 00:51:13 -0500 Subject: [PATCH] Doing a simulation to cover my own butt --- .../LTSpice Schematic - MCP2515 RESET Pin.asc | 36 ++++++++++++++++++ .../LTSpice Schematic - MCP2515 RESET Pin.log | 21 ++++++++++ ...Spice Schematic - MCP2515 RESET Pin.op.raw | Bin 0 -> 1026 bytes .../LTSpice Schematic - MCP2515 RESET Pin.raw | Bin 0 -> 1942 bytes 4 files changed, 57 insertions(+) create mode 100644 Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.asc create mode 100644 Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.log create mode 100644 Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.op.raw create mode 100644 Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.raw diff --git a/Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.asc b/Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.asc new file mode 100644 index 0000000..f358541 --- /dev/null +++ b/Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.asc @@ -0,0 +1,36 @@ +Version 4 +SHEET 1 1388 680 +WIRE 192 0 -48 0 +WIRE 192 64 192 0 +WIRE -48 176 -48 0 +WIRE 192 208 192 144 +WIRE 288 208 192 208 +WIRE 400 208 368 208 +WIRE 192 288 192 208 +WIRE -48 368 -48 256 +WIRE 192 368 192 352 +WIRE 192 368 -48 368 +WIRE 192 400 192 368 +FLAG 192 400 0 +FLAG 400 208 #RESET +IOPIN 400 208 In +SYMBOL res 176 48 R0 +SYMATTR InstName R1 +SYMATTR Value 100 +SYMBOL cap 176 288 R0 +SYMATTR InstName C1 +SYMATTR Value 10µ +SYMBOL res 384 192 R90 +WINDOW 0 0 56 VBottom 2 +WINDOW 3 32 56 VTop 2 +SYMATTR InstName R2 +SYMATTR Value 1k +SYMBOL voltage -48 160 R0 +WINDOW 123 0 0 Left 0 +WINDOW 39 0 0 Left 0 +SYMATTR InstName V1 +SYMATTR Value 5 +TEXT -1112 224 Left 2 ;Constraints:\nVoltage source that MCP2515 accepts is 5 V.\nThe minimum operating voltage is 2.7 V.\nTo ensure this happens with a comfortable margin, we will design #RESET\nto remain below 2.7 V for at least 10 microseconds. +TEXT -1112 -40 Left 2 ;Problem:\n(Taken from MCP2515 Datasheet [Page 57])\nIt is important to provide a RESET signal after power-up to ensure that the logic\nand registers are in their default state. A hardware Reset can be achieved\nautomatically by placing an RC on the #RESET pin (See Figure 9-1).\nThe values must be such that the device is held in Reset for a minimum of\n2 microseconds after V_DD reaches the operating voltage, as indicated\nin the electrical specification (t_RL). +TEXT -1112 424 Left 2 !.tran 0 0.001 0 startup +TEXT 424 0 Left 2 ;Result:\nThis way over-satisfies the requirements, but will stay with this since the parts are\nprobably cheapest, just lying around somewhere in these values. diff --git a/Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.log b/Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.log new file mode 100644 index 0000000..f29932b --- /dev/null +++ b/Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.log @@ -0,0 +1,21 @@ +Circuit: * C:\SunseekerTelemetry\Simulations\MCP2515 - CANbus RESET Pin Configuration\LTSpice Schematic - MCP2515 RESET Pin.asc + +.OP point found by inspection. + +Date: Tue Feb 02 00:12:38 2021 +Total elapsed time: 0.025 seconds. + +tnom = 27 +temp = 27 +method = modified trap +totiter = 2090 +traniter = 2090 +tranpoints = 1046 +accept = 1046 +rejected = 0 +matrix size = 4 +fillins = 0 +solver = Normal +Matrix Compiler1: 100 bytes object code size 0.1/0.0/[0.0] +Matrix Compiler2: 248 bytes object code size 0.1/0.0/[0.0] + diff --git a/Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.op.raw b/Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.op.raw new file mode 100644 index 0000000000000000000000000000000000000000..8fbe173ef314a6fb0fd8183fe8a1033dfa0eb72d GIT binary patch literal 1026 zcma))-Ae*N6vfZ0`&TUV(g%sFS>aomf?z2s(t{9wC*^LeAK-uA@6Ik}X_>=}J2U6r zbI-Zc(M(IdYpjxdoiodP_0-l%p%$Ev^~Q|VVKv;Gxn#d_s2Tee=Y7s*id;-jk7Q{o zuc88`uS=KrPEQ(uUa)Ja0!M|cKFAqy#%%Euc2iLCPR^d{Alv%jZV126_fW5{nuK}C znX&w2-sj1ZcR{qL2gi^o@4#qztE>b5b5w6@4mSe6ODgD=lf1hLh;E`fLUl+M^ThmX zP@#F1)D)t_)J0C;l9;M>$3fC3iki`@`yM z;N*l1)-7YRk%PrF{WZqANbfz@kvZ!6s2sU0b*IJZj>%_l!uk+Wzqv8xRV00kaU$9} zVSV*o4;MQwM-@hx75Wjuy2Zt;ntWBBV7-~CrT_pU?MpA8-J HbnN#DOx literal 0 HcmV?d00001 diff --git a/Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.raw b/Simulations/MCP2515 - CANbus RESET Pin Configuration/LTSpice Schematic - MCP2515 RESET Pin.raw new file mode 100644 index 0000000000000000000000000000000000000000..23f67f8dfd039436853e59549800b61349882116 GIT binary patch literal 1942 zcma))eQZ-z7{(6?sFY39h>#eTbj}#ZWVYQ3OLu#F_tn_RJ{)sVSDpJPTM@dg?N|!S zR1za5CPXF)@dIa6WC>YFR1)A;HaDaEVM6#rg+!&7S*T1DvJ4_dJaTXBcAl_05Oc?;tFBhhxt~_ zg;clf38)%GsaH z*id;lM*SE?R0n*u7#Cu`NoGQLw!s(7>?>K~sE3n1jAhnr*meD%w_#Cr$g&kK-XXK| zZ$}nZ`hWkRD#)x`t6_^Wy+hX6QzSAfAroC%6ohv0z9(zqZRA8F1p*h!zq@KL6%&@<3 zyGA0fd>|ewFc(Ksqt9EX^yDt9ae6XeBL|*7As#9)wIAw2XL2s-$$N8+@}KK8GWpO~ z;-La_VD)I;-RpnSlPB%Q*i2j_YW|{lMCUJ>ra$ZZz{VLp`IKSgP7i6sZ_bH_3e3g9 zZ3hpRU)GZgbw=0tQH?yNFZZx^DoAJ_f7x)Q_7^?*MvGDU>K7WhZQY&Xp@PJ~%mdl( z=2<=I?ly8Nr!`VBzg9d{ka%X_XH(-JT|s{ajq2Dk53!uh6%Q38u8pL|ems%Vdp$23 z`%SBd1P&L7hYAvhCT)jSjs2$gX74jb7Vh(ql3gzGP(dQqHMRGX-{*9thK+Z79`%rG z6V>9Of<)CLYwRyJ=bfgfc=&!VIoanF4;3ViTlao*b(Pag&p`eGFNs)l#6ty%e4}PV z^W`#$^Wp4rgWS_QD}AN{v%mlA@Ts%a66dZihe5JlIxZe6Fpm|yb1B|aBXP=GHG}x# zN5n$~=GEDv!gY7lOPsPjK7(j`-V_fNm@P+-j2CC6J#P*B4DxJq+Cv4VHCMY((w6o# et@RruyZE5Qp#pxZ=V~&ZU$IWAi_#t{F#iNmL+UdC literal 0 HcmV?d00001