SPI Pull-up Resistors: Do You Need Them?
13:14
Dynamic Phase Matching Feature
0:21
12 сағат бұрын
True Donut Pad Shapes
0:25
Күн бұрын
Пікірлер
@DannyBokma
@DannyBokma 7 сағат бұрын
What facilities are available for wire bonding?
@BrooksLame
@BrooksLame 8 сағат бұрын
Uh, the title of this video is very misleading; this is 'Altium Improvements to SPICE Simulation in AD22' it is _NOT_ a tutorial on how to simply do SPICE simulation in Altium. The improvements look enticing, but the misleading title is an annoying hindrance causing search engines to lead here when they should connect elsewhere. Even the video description is incorrect: "Learn how to conduct a simple simulation in Altium Designer here." Nope, that is _not_ this video.
@UKsystems
@UKsystems 12 сағат бұрын
The issue here is your reviewing parts that answer schematic. This is the documentation for the product as well it goes into so it’s not really fair to compare this as part of the electronic design as other people will put the documentation separately.
@dookshi
@dookshi 13 сағат бұрын
I may be late to this particular party, but what I came to say relates to *everything* you do on this channel. To Altium, or to whomever buys you off, you must be worth your weight in diamonds! Also, please consider a small request, if possible. Please figure out what channel options need to be switched on or off, buttons pressed (or hammered through all 12 layers of this cursed platform) to make your valuable replies to viewers' comments under your videos public. We only see some comments got a reply, but unable to see what you wrote. Greetings from Croatia! Marko
@arijitpaik3370
@arijitpaik3370 13 сағат бұрын
How to free download altium software
@gokhandemirhan9067
@gokhandemirhan9067 13 сағат бұрын
At 0:29, you cleared the highlighting of net VCC3. How did you do that? In my designs, ALT+Left click cannot be undone in any way!
@aniruddhviswanathan
@aniruddhviswanathan 21 сағат бұрын
Can we use 2 gnd planes in the inner layers (4 layer pcb) ? One dedicated to PGND and the other one to AGND. Both of them are connected via a net tie.
@fpgaguy
@fpgaguy Күн бұрын
argument is a bit wrong the cs# is needed. during power up, and also power down typically the memory chips are fully powered on at 1.2-1.8 on their way up to to for example 3.3, during this time an SoC for example will have indeterminate state on the I/O, likely floating or small internal pu. it is during this time the cs# pullup will save your memory from an accidental write. It wont happen often, maybe once in a million cycles, but once you make many units you will notice this failure.
@dhanujajayasinghe1336
@dhanujajayasinghe1336 2 күн бұрын
This was very informative. Thank you.
@GobalKrishnanV
@GobalKrishnanV 2 күн бұрын
Nice - I am double - altium - designer, circuit studio, circuit maker, why 3 tools. ?????????????????? L&T spice for electronics and ansys is different from other simulator. did they use l&t or altium or proteus , lot doubt and confusion. 🥶🥶🥶🥶🥶🥶🥶😵‍💫😵‍💫😵‍💫😵‍💫😵‍💫😵‍💫
@roowatt
@roowatt 3 күн бұрын
As an ASIC engineer I can tell you that if your IC vendor tells you "pulls" are needed, then you should use them. With CMOS inputs you should not leave the pin state at an intermediate level, the pin should either be fully "on" or fully "off", otherwise you end up with potentially significant crossbar currents. The need for "pulls" really are for inputs or inouts (when they are in input mode). Typical ASIC IO libraries have a large selection of IO buffer types for the ASIC team to choose from (or of course they could use a custom IO design). As an ASIC designer I can choose to use input capable buffers that have "no pulls", "pull up" or "pull down" or in some libraries the ability to configure them. For designs reasons that are beyond this discussion the designer may choose to use an input buffer that has no "internal pulls", in this case the local PCB design is required to ensure that the input pins does not float and has a valid input level at all times. A PCB pull resistor does this. However, in the other case where the chip designers has used input buffers with pulls it is a little more complicated, many input buffers that include pulls have one important caveat. They are not to be used to replace the need for "board level" pull resistors. They internal pulls are very weak and intended to ensure the input buffer has a valid input level only when the pin is left disconnected. The behavioural simulation models often even include huge delays in modelling the pulls to avoid designers relying in them. IMHO it is why there seems to be "no consistency" in where SPI connections need pulls or not, in part is is because what other functionality is shared on those pins, can they be configured as inputs, might they be used for undisclosed test or "secret" functionality etc? If you want the definitive answer as to whether a pin requires a pull resistor, ask the chip vendor/designer and follow their advice because they actually know if and why they would be required.
@robegatt
@robegatt 2 күн бұрын
@@roowatt interesting... the internal pulls HAVE to be weak also because otherwise in a parallel connection you cannot go from strong to weak...only viceversa.
@KimJones-xd5bt
@KimJones-xd5bt 3 күн бұрын
TVS is important for protection from strong RF levels into the LNA, it will be damaged without
@Zachariah-Peterson
@Zachariah-Peterson 2 күн бұрын
That's not why we would include a TVS diode. A TVS diode is for protection from strong transients. The diode needs to be chosen properly based on the working voltage window and the capacitance of the diode. Normally lower capacitance is better, and a wider working voltage range means you can handle higher amplitude signals before harmonic generation and intermodulation (for FM signals) occur.
@avlmrsn
@avlmrsn 3 күн бұрын
Regarding AI trend, when can we expect something similar to Copilot in Altium, so that many routine tasks can be solved by a prompt rather than hours of manual drawing and setting up?
@Zachariah-Peterson
@Zachariah-Peterson 2 күн бұрын
It's in the works
@cstate30
@cstate30 2 күн бұрын
As a software person currently transitioning into EE/EcE... Copilot seems nice at first, and then you end up just doing it over manually. It's always ~almost~ good enough. In my experience anyways.. .
@scottpelletier1370
@scottpelletier1370 4 күн бұрын
Everyone knows you only need series ferrite beads for SPI bus signals.
@joeleonard4515
@joeleonard4515 2 күн бұрын
😂
@carlosfloresmartinez2684
@carlosfloresmartinez2684 4 күн бұрын
Arigatov❤
@michaelardai9703
@michaelardai9703 4 күн бұрын
Many micros boot with their GPIOs defaulting to inputs until the code has a chance to configure them. Therefore the pullup resistor ensures no spurious chip selects or clocks before the processor has a chance to start
@scottduckworth3299
@scottduckworth3299 4 күн бұрын
I have come to the conclusion that the pull-ups are mostly useful to have a well defined initial state for the SPI bus. This could also be useful for any other pins that are not SPI, but where you want a guaranteed initial state, e.g. one that controls a transistor base/gate or relay. Like you said, for most stateless ICs (like a sensor) this initial state doesn't matter. If the undefined state of the bus magically sends a valid but unknown SPI command, I'm probably just gonna send a reset command to the device during initialization. You didn't touch on the resistor seen between SI and SO signals. That could be useful when interfacing between 3-wire simplex and 4-wire duplex SPI interfaces, though I've never actually done that.
@robegatt
@robegatt 4 күн бұрын
Some spi connections support half duplex 3 wire, that's the way you connect them.
@thebrakshow7415
@thebrakshow7415 3 күн бұрын
This is exactly it. Even on the example Zach showed with the TPS65987DDk, a pullup on the MISO line (called SPI_POCI on TI chip) is needed to configure the part to automatically read in configuration data from SPI flash on boot vs another mode. It has nothing to do with the actual operation of SPI
@electronichome1153
@electronichome1153 4 күн бұрын
Zach, how to contact you by E-mail? I would like to attach some files and explanation of my problem with Altium? Thanks in advance!
@97mesut
@97mesut 4 күн бұрын
In my opinion, you need resistance for pullups when can do 10+ reps. My simulations for Zach's arms in AWR show that resistance does not work him anymore because he can do 100+ reps. If I add a short ended transmission line and set his pullup frequency right, it will have high reactive impedance and make his workouts challenging, allowing him to progress.
@robegatt
@robegatt 4 күн бұрын
Needs a better pdn.
@InTimeTraveller
@InTimeTraveller 4 күн бұрын
Too much effort for this joke bro.
@kanax2424
@kanax2424 4 күн бұрын
My board turned grey and i can't revert it back to normal. Anyone have an idea how to fix that?
@larsp.8905
@larsp.8905 4 күн бұрын
tried hitting shift + C ?
@kanax2424
@kanax2424 4 күн бұрын
@larsp.8905 no but i somehow managed to fix it by closing and opening altium like twice or so. But thank you anyway
@zeref783
@zeref783 4 күн бұрын
Delete and start over, designing is iterative
@kanax2424
@kanax2424 4 күн бұрын
@@zeref783 im not gonna start from scratch. And thats definitely not what i understand as iterative design😂
@myetis1990
@myetis1990 4 күн бұрын
thank you very much Zach, not only teaching smth fruitful but also opening my mind on thinking about circuits.
@petersage5157
@petersage5157 4 күн бұрын
Have you done any videos on ground reference resistors and bias resistors in analog circuits? I know how to do the maths for these, but today's digital kiddies might benefit from one of your deep dives on the subject.
@thegame4027
@thegame4027 4 күн бұрын
Most of the time just follow whatever your chip manufacturer suggests. Recently i worked with a PCIE to SPI bridge that required pull ups on some of the SPI lines and would just not work without it.
@petersage5157
@petersage5157 4 күн бұрын
Hopefully that is now the case for modern chips, but there are a lot of legacy datasheets that preach gospel that has been refuted experimentally.
@InTimeTraveller
@InTimeTraveller 4 күн бұрын
Why does the mfg say that it needs pull ups on SPI lines? Does it have an open drain output or sth?
@robegatt
@robegatt 4 күн бұрын
There was a point made about using the pull-ups in sd-cards or similar disconnectable devices... especially on miso and cs lines to avoid leaving them floating or subject to noise when connected.
@InTimeTraveller
@InTimeTraveller 4 күн бұрын
For CS it makes sense, but in MISO it really doesn't. As long as the CS is deasserted it really makes no difference what the MISO does or doesn't do.
@robegatt
@robegatt 4 күн бұрын
@InTimeTraveller it's good practice not to leave any inputs floating (miso floats when no slave is selected). Esd hazard, noise making input stage to switch at random, half-way voltage that means undetermined state which "half opens" the cmos, etc... (Microcontrollers manufacturers advise not to leave unused pins as high-z inputs, but to config them as low outputs for the same reasons). I think most modern spi chips have internal pullup/down on input pins, but I am not sure.
@InTimeTraveller
@InTimeTraveller 3 күн бұрын
@robegatt ESD is not going to be dissipated by a pull up/pull down resistor, you need TVS diodes for that or other specific ESD mitigation strategies. The rest is really unnecessary unless you have a safety critical system. In other words, all noise is gonna do is just have a random initial state of the system. It is therefore at best unnecessary for the vast majority of applications and at worst it increases BOM and layout size, and adds a constant power draw which may or may not be important depending on the application. Otherwise by the same logic you might as well add PU/PD resistors to all your IO lines and then suddenly the BOM is getting ridiculous.
@robegatt
@robegatt 3 күн бұрын
@InTimeTraveller No. The clamping of the ESD is usually done internally with diodes, the electrostatic charges couple with the gate capacitance and charge the gate at random, ALWAYS, not just at the beginning (where did you get this idea of noise only at the beginning anyway?!). If you have a pullupdown you have a reference voltage with known amount of charges. The floating input is like a small antenna and gets a continously changing state of the input buffer that generates noise on the power delivery network due to the switching. If the cmos gates are in linear zone both transistors are letting some current through dissipating unnecessary power. Why do you think microcontrollers ALWAYS have configurable pullups (and or pulldowns) on their gpio input stages ? just to avoid cluttering the layout and the bom. That is why I think modern spi interfaces have internal pullups.
@wilfredswinkels
@wilfredswinkels 4 күн бұрын
no there is no mis match. the induced noise cannot come later because it's from the same source. the noise is on the edge of the lower signal but should subtract in a similar way.
@Zachariah-Peterson
@Zachariah-Peterson 2 күн бұрын
Noise can absolutely come later and does not have to originate from the differential driver. Most common is from crosstalk or ISI. Another possibility is mode conversion, although we left it out of this video as it is a more advanced topic. With crosstalk into a differential pair, there is both a common mode and differential component due to the different magnitudes of the noise signal on each trace in the differential pair. And noise only subtracts if the noise is common-mode, differential mode noise does not subtract. In general, any noise signal can be decomposed into common mode and differential components.
@robertbox5399
@robertbox5399 4 күн бұрын
Will this demo go through all the bugs and work-arounds for them? This software should be free until they are fixed (crashing Altium, not updating the images, unable to handle multi-pin connections etc.).
@alexb.1149
@alexb.1149 4 күн бұрын
lol, the series begins with, a full circuit (including a rectifier) and "let's do it from scratch..." then half of the circuit just appears, but not gone into every component specification, a bit off explanation here and there, and at the very end the rectifier appears again out of nowhere 😅
@vmahran
@vmahran 5 күн бұрын
Thx for the info. How can we get a hold of the document?
@AllenJordan-NOAAFederal
@AllenJordan-NOAAFederal 5 күн бұрын
This was helpful, thank you. My license had switched to "viewer only" for some dumb reason.
@yeahBradley
@yeahBradley 5 күн бұрын
I regret not taking EE courses at university.
@alexanderquilty5705
@alexanderquilty5705 3 күн бұрын
They didn't even cover PCB Design in the slightest.
@codures
@codures 5 күн бұрын
Zach, maybe you should remind for the young channel followers the thumb rule for bga fan-out to number of layers 😉.
@Zachariah-Peterson
@Zachariah-Peterson 2 күн бұрын
You could also remind them....
@vickykhan6309
@vickykhan6309 5 күн бұрын
Sir as per table collapse bga we do reduction as per solder ball diameter.means pcb pads should be less than solder ball diameter. But in non collapse bga we increase the pcb pad size as per solder ball diameter. We used maximum material condition mmc.but you have mentioned reduction in both the tables . My question is in collapse bga 0.15mm with 15% reduction and in non collapse bga 0.15mm with 15% increase .is it correct
@Zachariah-Peterson
@Zachariah-Peterson 2 күн бұрын
Look at the ball table from the IPC standards, I included it in the video and there is a link to the blog with the tables in the video description.
@neilvanstone-reed6507
@neilvanstone-reed6507 5 күн бұрын
Interesting, but how do you create the components for harness's like a connector
@AltiumAcademy
@AltiumAcademy 6 күн бұрын
Send Zach your design here: www.linkedin.com/in/zachariah-peterson/
@carlos_andre_becker
@carlos_andre_becker 6 күн бұрын
Best classes I ever had!!! Congratultions!!! Zach. Very clear voice and rithm. Videos are full with very usefull information!
@ZoidZoidZoidberg
@ZoidZoidZoidberg 6 күн бұрын
Very well put
@doktortronikelektronikaszk4070
@doktortronikelektronikaszk4070 6 күн бұрын
Altium - thank you for joining!
@AltiumAcademy
@AltiumAcademy 6 күн бұрын
Watch the Full Interview Here: kzbin.info/www/bejne/j3-6g32Drt2gmpo
@GoodWill-s8j
@GoodWill-s8j 7 күн бұрын
"Any terms and conditions of Customer are excluded, irrespective of whether reference is made to them in offers, purchase orders, order confirmations or other documents regardless of whether Company has objected or not. Any prior agreements including but not limited to confidentiality agreements concluded between the Parties shall be in its entirety replaced by this Agreement retroactively as of the execution date that agreements." I think this gives them the right to scam their customers.
@Zachariah-Peterson
@Zachariah-Peterson 7 күн бұрын
LOL no, literally not what any of that means.
@GoodWill-s8j
@GoodWill-s8j 7 күн бұрын
@Zachariah-Peterson You can choose your favorite word instead of "scam." It doesn't change the situation. By the way, that was not the only scammy paragraph in their "Terms of Service."
@Zachariah-Peterson
@Zachariah-Peterson 7 күн бұрын
@@GoodWill-s8j let me break down the legalese for you: Sentence 1: When you agree to the terms and conditions, you're only agreeing to these terms and conditions, not whatever information the customer thought they heard in offers, purchase orders, order confirmations or other documents and arbitrarily decided were also terms and conditions. Sentence 1, but even clearer: The only terms and conditions you are agreeing to are the terms and conditions in this document. Sentence 2: These terms and conditions override other agreements we already made with you. Terms and conditions are voluntary and transparent. It's literally the opposite of a scam.
@robegatt
@robegatt 2 күн бұрын
@@GoodWill-s8j an agreement to change the agreement terms retroactively sounds like a BIG ass-covering strategy... 😁
@GoodWill-s8j
@GoodWill-s8j 7 күн бұрын
I couldn't find any information about Mitai's pricing.
@sachinshinde8604
@sachinshinde8604 9 күн бұрын
I did my first Altium PCB Layout by taking help of your video. I'm Regular OrCAD PCB Editor (Allegro) Tool User. Thanks for your video Phil.
@RacoonValleyInc
@RacoonValleyInc 9 күн бұрын
Could you please explain where exactly these pads type are used?
@kecsrobi6854
@kecsrobi6854 9 күн бұрын
how is the GB switch project progressing?
@Zachariah-Peterson
@Zachariah-Peterson 2 күн бұрын
It's in assembly now
@sanmeethundal3397
@sanmeethundal3397 9 күн бұрын
Thanks...just the right length and detail of the video!
@sk0pro853
@sk0pro853 9 күн бұрын
Kill me. I have as a homework assignment to design a PCB from scratch and I always lose my mind while doing the components footprints 😭😭😭
@payalpal4386
@payalpal4386 9 күн бұрын
After going through a turmoil of understanding the exact working principle of DCM operation of flyback converter, I ended up in this amazing explanation. Thank you for such a lucid yet simple explanation. How do we also calculate the core loss and can also verify the BH curve for the same ?
@MYDIYby
@MYDIYby 10 күн бұрын
Where can I buy the same T-shirt with the Altium logo? :)
@stian4277
@stian4277 10 күн бұрын
Interesting topic. One important thing missing here is io (connector) protection for over voltage events like surge, burst and esd. Zach mentiones io protection but that is not fully covered, but probably easy to implement with an AI rule.
@Zachariah-Peterson
@Zachariah-Peterson 2 күн бұрын
That is a good point, and I agree the tool will probably be able to handle it. The tool knows when certain components are part of a switching circuit or PWM driver circuit, so I would not be surprised that it could pick out I/O protection if present in the PCB. The sample design I provided did not include any chokes, TVS diodes, or similar components you might find for I/O protection, so I think that is why nothing was brought up about it in the tool. Also I think it was not mentioned in the project description, so the system did not look into the need for I/O protection. Maybe we will have to experiment with this in another video.
@dreamofmirrors
@dreamofmirrors 10 күн бұрын
Etch tolerance is very critical on these boards as the patch dimensions should be as close as possible to the intended size. Always ask you PCB vendor to send measurements of the finished etched antenna array. Stay away from Rogers 3003 as it is very difficult to work with. And watch for the unbalanced stackup RF material will create. ISOLA FR408HR offers decent performance. Ideally you would want to use a transceiver that has LiP (Launcher in Pad) which eliminate the need for on-board antenna array.
@criznach
@criznach 10 күн бұрын
I've heard you say this many times with little explanation. Would love to see a dedicated video of why and what to do instead.
@JhonConners
@JhonConners 9 күн бұрын
Theres a dedicated full length video on the channel about ferrites
@Zachariah-Peterson
@Zachariah-Peterson 2 күн бұрын
Here is a video all about the incorrect usage of ferrites. It is primarily focused on instances where the ferrite is intended to be used as a filtering element for a load that needs to source broadband signals (a.k.a., digital signals with fast edge rate). Link: kzbin.info/www/bejne/bqK5lpivYpaifJI Ferrites are fine when you are trying to prevent mid-range frequency noise from reaching a DC load or a low-frequency AC load. As long as there are smooth changes in the voltage (no fast edges) then the ferrite is not creating a risk of an underdamped oscillation and it can effectively block noise from reaching the load. However, if you're trying to do something like design a filter with a ferrite, you can technically do it but you might as well use an inductor.