SPI Hardware & PCB Design - Phil's Lab

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 161

  • @PhilsLab
    @PhilsLab  8 месяцев назад +35

    - Given your feedback (with which I agree), future videos will continue using MOSI/MISO. Regarding COPI/CIPO vs MOSI/MISO vs SDO/SDI, I typically am used to (and I believe most people are) MOSI/MISO naming conventions. While researching and looking for content for this video, I came across COPI/CIPO, which is apparently the preferred naming convention (OSHWA, for example). Wasn't sure what to use for this video, and have read your comments (some for, some against). I should have gone into more detail on the naming conventions in the video - sorry about that!
    - Correction: daisy-chain (single NCS, series SDO/SDI from controller through peripherals) and multi-subnode (multiple NCSs). More info here: www.analog.com/en/resources/analog-dialogue/articles/introduction-to-spi-interface.html
    - Embedded World '24 - make sure to stop by the Fedevel booth 5-316, 9-11th April in Nürnberg. Robert Feranec and I are looking forward to seeing you there! (Also, make sure to grab a free Phil's Lab PCB coaster while you're there! :))
    - PCB Arts Meet-Up: www.eventbrite.de/e/pcb-arts-tech-meetup-tickets-826749609337

    • @rallymax2
      @rallymax2 8 месяцев назад +5

      Things are changing to be more thoughtful about the use of the offensive words master and slave. Thus the change in terminology in recent years. Especially after the Floyd killing in the USA and more awareness of systemic racism in our culture and language. Same goes for the head branch in version control changing from master to main.

    • @n3r0z3r0
      @n3r0z3r0 8 месяцев назад +5

      @@rallymax2 Does changing of the name changes meaning? The entire world trying to battle evil by banning word "evil", which itself is a pretty good indicator for the direction world is heading.

    • @ouroboros.education
      @ouroboros.education 8 месяцев назад +2

      ​@@rallymax2 The point here is: Changing the names from MISO/MOSI to CIPO/COPI (the OSHWA changed this too, now is POCI and PICO, even worse to "convert", because one of the words can be "offensively" is Polish), will do not solve any racism or similar problem.
      Master and Slave will has different meanings depending on the context. In our case, electric engineering, represents an hierarchy between devices in a communication role.
      And this changing, will cause real impacts, but negatively, because, a many of documentations, books, and etc, uses the traditional naming, so, this will cause many confusions into old and new engineers, causing mistakes and errors on projects, because the confusion between the naming's, and trying to "convert" MISO to COPI, and etc.
      In the case of git, changing from "master" to "main", was good, makes more sense.
      But, in the SPI? Just some people judge "Offensively", man, come on, this will not solve any problem, I admit, the people that decide to change this, has good intention, but, in Brazil we have a speak for this: "Hell is full of good intentions".

    • @stevenwatson1547
      @stevenwatson1547 8 месяцев назад

      Also, at 6:23, your slide shows both sensor 1 & 2 as peripheral 1. Not a big deal, I figured if we're mentioning corrections...

    • @PabloB740
      @PabloB740 6 месяцев назад +2

      Good. Master and Slave are universally understood, across languages and countries.

  • @NewedEngine
    @NewedEngine 8 месяцев назад +10

    Thank you so much for providing high quality content that is thoroughly detailed for free. Your videos have helped me out a ton in learning electronics and pcb design :).

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      I'm glad to hear that, thank you!

  • @Sanchees3
    @Sanchees3 8 месяцев назад +13

    Finally overcame my burn out I commented on back on your DSP guitar pedal video, now I’m leading the design of a Flight Controller board for a 1U CubeSat at my school that is using SPI for some of its peripherals. Another perfectly timed upload !
    Thanks for consistently uploading, always look forward to your notifications (:

    • @PhilsLab
      @PhilsLab  8 месяцев назад +2

      Awesome, I remember your comment - glad to hear that you have recovered from that. And congratulations on leading your design team, that sounds like a very cool project!

  • @FortuneMineMe
    @FortuneMineMe 8 месяцев назад +16

    i am not an electronic, but i love listening to Phil

    • @PhilsLab
      @PhilsLab  8 месяцев назад +2

      Thank you :)

  • @FranzSarmiento17
    @FranzSarmiento17 7 месяцев назад +2

    Thank you so much for this. Currently designing a board that talks to ~12 SPI devices, and researching on this topic has been a headache. But I'm glad that I'm on the right track.

  • @n3r0z3r0
    @n3r0z3r0 8 месяцев назад +30

    The entire my life I had a single most important question, - WHY everyone spends so much time to invent new names for pins for standard interface, - sck-di-do-cs / scl-mosi-miso-nss/, ... and now THIS, - CLK-COPI-CIPO-NCS? Just why?

    • @msmith2961
      @msmith2961 8 месяцев назад +24

      Because snowflakes. Apparently there were people who didn't like the terms 'slave' and 'master', even though the context was correct 🤷‍♂️

  • @blackxiivexil8255
    @blackxiivexil8255 8 месяцев назад +1

    Again a really nice Video - Thanks!
    Meself was playing around with SPI a few weeks ago. The term "mid-speed" is a high-speed for me since i was always using I2C. I got my 20MHz MCU (Atmega4809) to run 10MHz SPI clock and could feed a little 160x120 RGB display with it. For Beginners: I wired it up by glueing my SPI-Flash (Display Data for the RGB-LCD) to the board and connecting it with enamelled copper wire. Works fine even on that speed. Don't be afraid to use it!
    Thanks for teaching and encouraging the community to use this Bus

  • @TYGAMatt
    @TYGAMatt 8 месяцев назад +2

    Perfect timing Phil. Currently designing a PCB with four SPI devices. Didn't think about pullup resistors on the CS lines, but will do now. Thank you for sharing your extensive knowledge. 😊

    • @PhilsLab
      @PhilsLab  8 месяцев назад +2

      Awesome, thanks, Matt - glad it's helpful!

    • @TYGAMatt
      @TYGAMatt 8 месяцев назад +1

      @@PhilsLab Phil, most of your stuff is way over my head. I'm just a self taught hobbyist who reads a lot of datasheets, but it's gems like this that put the icing on the cake.
      Keep up the good work.
      Cheers.
      Matt.

    • @TYGAMatt
      @TYGAMatt 8 месяцев назад

      @@PhilsLab sorry to trouble you. In my PCB, without a bit of a reshuffle of components I'm struggling to get the pullup of one of the CS lines close to the peripheral. It's simple if close to the MCU pin. Is this a problem? If you say I should do a redesign then so be it but just wanted your opinion.
      No rush.
      Cheers.
      Matt

    • @michaelcummings7246
      @michaelcummings7246 8 месяцев назад

      ​@@TYGAMattclose to the peripheral is best but it shouldn't matter except if you are really push a very long cs line on a large pcb where it might cause minor problems.

    • @PhilsLab
      @PhilsLab  7 месяцев назад +1

      As Michael already commented, the CS line can be pretty much anywhere (within reason). I like to pop them next to the peripherals, as to me that is part of that group.

  • @therealjpster
    @therealjpster 5 месяцев назад +2

    I read the comments (oops) and I just wanted to say I appreciate you using modern terminology in this video and avoiding outdated terms.

  • @lptf5441
    @lptf5441 8 месяцев назад +2

    Always leading the way Phil. Thank you for another truly excellent upload.

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Thanks a lot!

  • @yeahiiiable
    @yeahiiiable 7 месяцев назад +1

    Great video again! Would be amazing if you could do one on proper grounding of PCBs at some point. I am very much a beginner and proper ground planes, avoiding ground loops in digital circuits etc. are still driving me nuts.

  • @silvestrastancu1224
    @silvestrastancu1224 8 месяцев назад

    Phil you are doing a sensational job. Thank you very much for your effort. An important topic for me and I think for the followers would be CAN. Surely if you teach us this subject will be clear to all of us.

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Thank you, Silvestra! CAN is definitely on the list of videos to make this year.

  • @osamaalkassem
    @osamaalkassem 8 месяцев назад

    great and very useful video as always from the maestro of pcb Philp . thanks for your efforts.

  • @FixDaily
    @FixDaily 8 месяцев назад

    Your PCB design has improved a lot from long time ago. It would be nice to watch a video with some suggestions and thoughts on what you care about when placing SMD components. For example: component alignments, spacing, groups; tracing main voltages; separating analog from digital signals, add vias next to GND pads like capacitors' Pads; and so on. This kind of content is not easy to find online, at least in one video that resumes it.
    I have some basic knowledge but i see a lot of room to improvement.

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      Thank you! I have a video on PCB aesthetics which goes over some of the essentials. Otherwise, it's quite difficult to convey that without showing a full design walkthrough (of which I have a few on my channel).

  • @jeffreydijkstra3391
    @jeffreydijkstra3391 7 месяцев назад +1

    is there a tutorial or GitHub repo or something for the first drone pcb? I would really love to see it, as I'm trying to design my own :)

  • @stuartlea1
    @stuartlea1 7 месяцев назад +1

    Hi Phil, great video.....I'm curious, why do you use the Tag Connect connector with the feet? I know it allows you to debug easily, but I use the model without the feet and the associated retainer on the other side to achieve the same result. This way I don't have to have the 4 holes for the feet, just the 6 pads and the three locating pins.

    • @PhilsLab
      @PhilsLab  7 месяцев назад +2

      Thanks, Stuart. Often times the PCB is in an assembly/enclosure which doesn't permit access to the other side of the PCB or there isn't enough space to fit in the retainer. Also, I don't want to have to fiddle around with a retainer and find it far easier to rely on the legs. I've found the retainer can come loose fairly easily. Lastly, unless I'm super constrained with board space, I don't see a reason not to use the legged version.

  • @TheYokus
    @TheYokus 3 месяца назад

    Thanks for this video ! I'm becoming a member right now !

    • @PhilsLab
      @PhilsLab  3 месяца назад

      Thank you very much!

  • @markhofmeister702
    @markhofmeister702 8 месяцев назад +1

    Great video as always! I like the deep dives on serial protocols. I think one on CAN would be cool if that's one of your competencies.

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      Thanks a lot, Mark - CAN is on the list of videos to make.

  • @originalmianos
    @originalmianos 8 месяцев назад +1

    Great vid. It would have been good to cover the modes instead of skipping it. I have been tripped up when first working with SPI years ago. I heard some senior engineer on the amp hour got tripped up for weeks on some wrong mode.
    Of course the most basic logic analyser can be used to diagnose mode problems in minutes.

    • @PhilsLab
      @PhilsLab  8 месяцев назад +3

      Thanks! Yes, I'm definitely planning on covering that for the SPI driver video. There I'll also go over clock, data width, etc. settings.

  • @oliverer3
    @oliverer3 8 месяцев назад

    Great video as always!
    If you intend to do a video on the firmware end may I suggest you include a bit about using a microcontroller as an SPI peripheral?
    I've had a difficult time finding good material on how to do this properly but your content is always top notch.

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Thank you! I haven't really had a need for a MCU as a SPI peripheral, but maybe at some point in the future!

  • @AhmadAsmndr
    @AhmadAsmndr 4 месяца назад

    Thank you very much! Very simple and helpful.

  • @LilBigDude28
    @LilBigDude28 5 месяцев назад

    This channel is OP, thank you 🙏🏽

  • @retronexusnet
    @retronexusnet 8 месяцев назад

    The videos get better and better topic-wise

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Thank you!

  • @blenkiron1795
    @blenkiron1795 6 месяцев назад

    Great video as always. I would love a dedicated SPI firmware tutorial at some point! I have found that there is a bit more to it than I2C.

  • @pupzemly1
    @pupzemly1 8 месяцев назад +3

    Daisy Chain - multiple periphery in series, single NCS

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      You're right - I mixed up the terms.

    • @bobperet681
      @bobperet681 7 месяцев назад

      @@PhilsLab Might be nice to talk about daisy chaining MOSI on first chip to MISO on second chip. I find this is very useful when using motor controllers like Trinamic or STM (L6470). All in all, great video Phil!

  • @jt16omes
    @jt16omes 8 месяцев назад

    Great video! Hmm, I wanna spin up my own quadcopter fc when I get some free time, thanks for the inspiration

  • @SamBatti88
    @SamBatti88 Месяц назад

    Do you think it’s possible to design very small nfc antennas for very short reading distances of 1 or 2 millimeters ? I need to design many antennas and distance between antennas will be 25 millimeters. Antennas must not interfere with neighbors antenna.
    Thank you

  • @tadebaka
    @tadebaka 8 месяцев назад

    Promise (fingers crossed) I fast forwarded through the Bumble-B parts 😁. Great video as always!

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Haha I hope I didn't reveal too much :D

  • @kaustubhn7859
    @kaustubhn7859 5 месяцев назад

    where can i learn all these concepts be it communication protocols, pull up resistors, termination, impedance control etc....is there any recommended book?

  • @Tagzmon
    @Tagzmon 8 месяцев назад +1

    Love the content. Recently got your course on advanced hardware. Any future plans to go more into detail with the FPGA microblaze/zynq and doing software bring up?

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      Thanks for signing up to the course! Yeah, I have a few FPGA/Microblaze/Zynq tutorials coming up this year :)

    • @Tagzmon
      @Tagzmon 8 месяцев назад

      ​@@PhilsLab Best way to know if follow your RUclips page or other social media? I'm so down to take that course!

  • @gergelyhalasz9754
    @gergelyhalasz9754 8 месяцев назад +1

    I know that your KiCad 7 video has just come out few month ago, but KiCad 8 has so many cool improvements. Will you be doing a KiCad 8 tutorial soon?

    • @PhilsLab
      @PhilsLab  8 месяцев назад +5

      Yeah, I actually have been playing around with KiCad 8 for a bit! It'll either be an ESP32 design or an NXP RT MCU design. Probably won't be until at least June/July though I'm afraid.

    • @gergelyhalasz9754
      @gergelyhalasz9754 8 месяцев назад

      @@PhilsLab That's very close enough. 😁 I love your videos and the fact that you cover so many aspects of electrical/PCB design in detail!

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      Thank you very much!

    • @gergelyhalasz9754
      @gergelyhalasz9754 8 месяцев назад

      @@PhilsLab The NXP RT MCU is unknown to me. Although if not in the KiCad 8 video, perhaps you could show a design about it in a video. Unfortunately, I haven't seen all your videos yet, sorry if you've already done one about it, but I'll catch up on the rest in time.

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      I don't have a video on NXP MCUs yet, so that would be the first (if I end up going with that in the KiCad 8 vid). Wanted to show how to design around a number of different MCUs anyway (other than ESPs, STMs...).

  • @Vishwahslifestyle
    @Vishwahslifestyle 7 месяцев назад

    As a newbie i learnt and liked from phil's lab.but now i got to do project with handling 10.1 inch 1080*600 tft display,,so, from your designs, which can i able to select the Hw and modify according to my display and GUI needs??or should i go for dual core h745?

  • @damny0utoobe
    @damny0utoobe 8 месяцев назад +1

    Phil, Design idea: STM32 master talks to an FPGA over SPI. The STM32 should also be able to program the FPGA flash configuration.

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      I do have that config in some work designs, but I'm afraid I can't really make those public haha.

  • @essebrotmitwurst1698
    @essebrotmitwurst1698 7 месяцев назад

    Hi Phil, in your video about series termination you mention, that the input waveform will only be failry clean for the last load. In case of and SPI bus with multiple peripherals, especially when pathing through components, wouldn't this be in issue since only the last peripheral will receive a clean waveform and the other ones will receive only half the amplitude? At least thats how i inderstood it in you series termination video.

    • @PhilsLab
      @PhilsLab  7 месяцев назад +1

      That's correct - in the case of multiple loads, however, if loads are kept 'close' this isn't an issue. But if loads are further apart, the series 'termination' is there more to slow down the edges, which can help improve SI. In any case, the recommendation is to slow down edges (either via control in the controller, or via series resistors), keeping trace lengths short, and loads close together.

    • @essebrotmitwurst1698
      @essebrotmitwurst1698 7 месяцев назад

      @@PhilsLab I have no experience in designing PCBs but in my case I think I'll have fairly long traces since i need to connect 20 large sensor chips but then I'll implement these series resistors as you recommended.
      Thank you for the quick reply and have a nice day :)

  • @TheSwissGabber
    @TheSwissGabber 8 месяцев назад +6

    This push of replacing Master with Controller is a disservice to everybody especially newcommers: Most of the datasheets talk about Master / Slave. Paarts you used had SI (Slave In) and not CI. Not a good first contact with the topic. Not only are there new terms, some functions even have multiple names.
    I would recommend keeping the Master / Slave notion as the benefit (and motivation..) of the renaming is questionable at best. Some TI-Datasheets even mix the terms. Introducing artificial noise into a 40 year old standard.

    • @PhilsLab
      @PhilsLab  8 месяцев назад +2

      Agreed - I should've been clearer in the video about the various naming conventions. While researching, looking online for content for this video, I came across these new, suggested definitions (OSHWA, Texas Instruments, etc..). Last time I used MOSI/MISO in videos I got a few complaints about that as well.

    • @SnakebitSTI
      @SnakebitSTI 6 месяцев назад

      The terms "master" and "slave" are used inconsistently in electronics, sometimes referring to controllers and peripherals, sometimes referring to addresses without hierarchical distinction. "Controller" and "peripheral" breaks with convention, but the convention in question was ambiguous to begin with. Like, who looks at a circuit diagram for the first time and thinks "which of those chips is the master and which the slaves"?
      They didn't name it the "Serial Slave Interface", because the meaning would have been less clear. Either way is unfriendly to newcomers now, but the controller/peripheral nomenclature would at least become friendly to newcomers over time as documentation is updated.
      And frankly, if having two names for the same thing during a transition period is too big an obstacle for newcomers to overcome, they won't be able to navigate USB cables let alone signal protocols, let alone all the different ways to indicate inverting and pins on ICs.

  • @ami6packs
    @ami6packs 8 месяцев назад

    And I love listening to your wisdom. :)

  • @osamaalkassem
    @osamaalkassem 8 месяцев назад

    great videos as always .thanks for every word

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Thank you!

  • @lozano-dev
    @lozano-dev 7 месяцев назад

    Hey Phil, what do you use to make the block diagrams for the slides?

  • @lsill2530
    @lsill2530 8 месяцев назад

    I would like to see small projects that realise sensor fusion applications and explain them to beginners. At least if it's something you're interested in :)

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      I have a whole sensor fusion series on the channel, in case you are interested!

  • @michaelwittmann3176
    @michaelwittmann3176 4 месяца назад

    Very informative thanks for the video sir :)

  • @escott6509
    @escott6509 8 месяцев назад

    Great video as usual, keep up the good work. 👍

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      Thank you!

  • @fedimakni1200
    @fedimakni1200 8 месяцев назад

    To avoid short circuit when the SPI lines leave the board, how much resistance in series do we need to add to each line? Thanks.

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      They are there to limit the short-circuit current, so Ohm's law with your IO voltage and max. current drive of the outputs. Keep in mind this'll slow edges down though.

  • @alaeddinekh3716
    @alaeddinekh3716 8 месяцев назад

    reeally like your videos Phil! how about a video explaining the CAN communicstion hardware and design along with some sensors..

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Thanks! CAN is definitely on the list.

  • @platin2148
    @platin2148 6 месяцев назад

    Is there a reason why one would have a pull up for CS if there is already a pull up?

  • @rushijariwala1840
    @rushijariwala1840 8 месяцев назад

    I am using a 120MHz microcontroller and it can toggle GPIOs at max 50MHz.
    If I clock the SPI at 10MHz, will the rise time and fall time correspond to 100MHz (10x)?
    Does fall time and rise time change with the configured clock rate of the SPI? Or is it fixed for a particular micro-controller?

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      1/10th of clock period is just a very rough rule of thumb, it can easily be faster than that. Depends on controller and peripheral that you use - I'd suggest checking the IBIS files.

  • @ami6packs
    @ami6packs 8 месяцев назад +1

    Please make a video on CAN bus, especially with stm32f103 and tja1050.
    Thanks

    • @PhilsLab
      @PhilsLab  8 месяцев назад +3

      CAN is on the list :)

    • @ami6packs
      @ami6packs 8 месяцев назад

      @@PhilsLab great. Thank you.

  • @ZozobraDoom
    @ZozobraDoom 8 месяцев назад

    Another great video! Your channel has been a godsend for the tasks I've been given at work to develop some sensors. It would re really great to hear your thoughts on how to handle high speed ADC. I have some projects where sampling in the region of 3-10 Msamples/s with the least fuss as possible would be really helpful, but the literature I've seen on this hasn't been particularly illuminating on how best achieve this. Is this a task best suited to FPGA or would an STM32H7 have enough grunt with the inbuild ADCs?

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Thank you, glad to hear that! Depends on what you want to then do with those samples, what effective bit depth you require, etc.. Some H7s can apparently handle several 3.6 MSPS channels (at "16" bits).

    • @ZozobraDoom
      @ZozobraDoom 8 месяцев назад

      @@PhilsLab thanks for the reply! 10 or 12-bit would probably be adequate for my needs. The goal is to detect a pulse a few usec in duration and then trigger a secondary analysis system within a few usec if the pulse height is greater than a certain threshold which captures using the same ADC before resting the acquisition system.
      Digging around the H7 series capabilities it looks like interleaving the ADCs together can increase the sample rate well into the upper range I'm shooting for, but when I read up on how to achieve this practically it looks like it falls short in reality. I will be starting some tests in a few weeks with a nucelo board, however people have complained that the ADCs on the nucelo boards aren't great because of the board layout etc, so I may have to roll my own.

  • @perceptron9834
    @perceptron9834 8 месяцев назад

    how can I measure ringing and reflections on signal lines and how to measure how good is my RF impedance matching ?

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Low-inductance probe connection to an oscilloscope and measure on the relevant RF lines (e.g. at the receiving end).

  • @doronlola1763
    @doronlola1763 8 месяцев назад

    Thanks as always Phil. Next video UART?

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      Thanks for watching! Definitely at some point.

  • @MaiKhurais
    @MaiKhurais 8 месяцев назад

    THANK U Fill for the great video
    I wonder if you present an altium design cource?

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      Thanks for watching! That is on the list of courses to make.

    • @MaiKhurais
      @MaiKhurais 8 месяцев назад

      @@PhilsLab so excited!

  • @a.ijuhasz135
    @a.ijuhasz135 8 месяцев назад +2

    The renaming of the pins is still confusing for me

  • @bob_mosavo
    @bob_mosavo 8 месяцев назад

    Thanks, Phil 👍

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      Thanks for watching :)

  • @TheEngineeringExperienceYT
    @TheEngineeringExperienceYT 8 месяцев назад

    Nice video!

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      Thank you!

  • @perceptron9834
    @perceptron9834 8 месяцев назад

    another great tutorial :)

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Thanks a lot! :)

  • @TriodeTetrode
    @TriodeTetrode 8 месяцев назад

    Hey Phil! I'm intrested in your micro quad copter project. Do you mind make a video about it or share a project? I'm in the process of designing one myself, but it's my first one. Thought about using new U5 MCU as well. Which remote and motors are you using? How big is your micro quad copter?

    • @PhilsLab
      @PhilsLab  8 месяцев назад +2

      Hey, Thanks! Yeah, I plan on making a few videos on the aspects of the hardware and firmware design. I found a frame kit on Amazon (with motors, and battery) and designed a PCB around that. PCB is ~35x35mm. Motors are those micro coreless 1S ones. Remote I'm making my own with a TI CC2500 2.4GHz transceiver.

    • @TriodeTetrode
      @TriodeTetrode 8 месяцев назад

      @@PhilsLab Thanks for answering. Do you mind sharing frame amazon link? Also I'm wondering about your USB-C. Are you using 16 pin USB-C(USB 2.0)?

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      This is the one I went with: www.amazon.de/gp/product/B08SWKGF33/ref=ppx_yo_dt_b_asin_title_o02_s01?ie=UTF8&psc=1
      The USB-C connector is a GCT USB4105-GF-A-060

    • @TriodeTetrode
      @TriodeTetrode 8 месяцев назад

      @@PhilsLab Thanks a lot. I just recently ordered exactly this USB-C because I would like to move from micro/mini USB to USB-C. But I don't need the USB 3.0 speeds and 24 pins is a lot harder to solder. 16 pins seems exactly perfect. I really like how beautiful your schematics and layout looks. Wish I could make same ;) I'm hoping for more Altium videos ;)

    • @TriodeTetrode
      @TriodeTetrode 8 месяцев назад

      @@PhilsLab One more question Phil if you don't mind. What made you decide to use power layer as 3rd layer? Not enough space? Did you use whole layer as a power layer or routed power and rest of it GND?

  • @antonioe.2396
    @antonioe.2396 8 месяцев назад

    It is not so clear to me, why is it good practice to put placeholder resistors at output drivers?

    • @danedwards_ee
      @danedwards_ee 4 месяца назад

      In case you need to add them

  • @youtubeviewer7077
    @youtubeviewer7077 8 месяцев назад

    Fantastic!

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Thank you!

  • @kaving6451
    @kaving6451 8 месяцев назад

    Hi your videos are great i learned a lot from them and started to watch them regularly from #1 can you please do one bldc motor controller similar to that of odrive moetus or something that woul be really helpful

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Thank you! I recently came across an awesome series of videos by TI on motor control. Part 1 is here: ruclips.net/video/fpTvZlnrsP0/видео.html

  • @schtalefisch
    @schtalefisch 8 месяцев назад +2

    I think you probably should elaborate a bit on why you're using COPI & CIPO as opposed to the more ubiquitous (and frankly standard) MOSI & MISO. Also NCS is very non standard. Anyone who's learning this for the first time has enough acronyms to deal with.

    • @msmith2961
      @msmith2961 8 месяцев назад

      Snowflake friendly terms apparently 🙄

  • @iancooper418
    @iancooper418 8 месяцев назад

    I really wanted to go to Embedded World but have to go to Saudi Arabia instead, arrive back in Munich the day after it finish's. Not happy.

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Ah that's a shame, Ian - maybe next year?

    • @iancooper418
      @iancooper418 8 месяцев назад

      @@PhilsLab I had planned a week at our factory and was going to "disappear" for a day but i am only there to do a FAT test and then fly straight out. As you say See you next year.

  • @msmith2961
    @msmith2961 8 месяцев назад +1

    Wait, are the 'copi/cipo' politically corrected terms for 'mosi/miso'?
    Never seen an spi board with those abbreviations.

  • @MyMcMichael
    @MyMcMichael 8 месяцев назад +4

    Why not MISO/ MOSI? Never heard of copi ant the other thing

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      That's what I was used to as well - when double-checking and gathering info for this video, I came across these definitions that are apparently more 'up-to-date' (along with serial data in, serial data out (SDI, SDO)).

    • @tamas-ruszka
      @tamas-ruszka 8 месяцев назад +8

      COPI and CIPO are the politically correct way, because saying slave might offend your temperature sensor IC.

    • @superjimnz
      @superjimnz 8 месяцев назад +2

      Yeah, I don't think it will stick. Master and slave are the correct terms, but certain elements are trying to make those terms "problematic". Latest I've heard is that "field-work" is an unacceptable term as it evokes slaves working in fields; this is the level to which we have descended. These are the same fools who tried to change grease nipples and manifolds in cars 🤦‍♂

    • @666aron
      @666aron 8 месяцев назад +2

      Because the woke have arrived in this field too. If I hurt the feelings of the ICs, I might think of changing the naming. Until the ICs are not complaining, I’m stibking to MISO/MOSI.

  • @arp_catchall
    @arp_catchall 8 месяцев назад +1

    MOSI, MISO? whats with the COPI CIPO?

  • @Dhanushyeh
    @Dhanushyeh 8 месяцев назад

    Bro I'm electronic and communication student how student I improve my core skill

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      Pick a project idea that interests you and build it from scratch, start to finish - block diagram, hardware, firmware, .. etc. This is the number one way (in my eyes) of improving.

    • @jordibatlledelallave1930
      @jordibatlledelallave1930 8 месяцев назад

      @@PhilsLabany ideas for a project? Is there any web where you could find projects to join or collaborate?

    • @PhilsLab
      @PhilsLab  8 месяцев назад +1

      For me it's always been based on what I'm interested in - then I'm more likely to have a use for the final design, and finish it. If you're into audio, there is a lot you could build (DIY synth, DSP FX processor, etc..), otherwise, a micro quadcopter is pretty cool and touches on many embedded system concepts. Regarding where to find open-source/collaborative projects, I'd try looking through the embedded/electronics sub-reddits.

    • @jordibatlledelallave1930
      @jordibatlledelallave1930 8 месяцев назад

      @@PhilsLabThanks! i’m very intersted in taking part or learning in firmware/embedded software projects in several fields such as motor control, battery management systems, etc. Any clue on what could be a good oportunity to start from scratch?

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      I'm biased, but I'd go with a micro quadcopter :) Contains a bit of everything - motor control, battery management, DSP, control, etc etc

  • @antonioe.2396
    @antonioe.2396 8 месяцев назад +3

    I'm just a student and I'm new to this, so I'm not "used to" anything. COPI and CIPO are pretty clear, in fact even more accurate, and I think it's for the better using the new convention. There's people still hurting because of slavery and that's why they are asking to change MISO/MOSI.
    As always, excellent video Phil.

  • @tamaseduard5145
    @tamaseduard5145 8 месяцев назад

    👍🙏❤️

  • @ethanmatthews7998
    @ethanmatthews7998 7 месяцев назад +1

    😝 "Promosm"

  • @sanjikaneki6226
    @sanjikaneki6226 8 месяцев назад +2

    MISO MOSI CS/SS * there fixed it
    yea even if i know most of what u said those odd names u used make me confused what is what

  • @JonahTsai
    @JonahTsai 8 месяцев назад +5

    I have always known them as MISO and MOSI pins for the last few decades. What happened? They got to you too?

    • @PhilsLab
      @PhilsLab  8 месяцев назад +2

      Same here. These seem to be the new conventions though, along with SDO/SDI (serial data out, serial data in).

    • @piranha1337
      @piranha1337 8 месяцев назад +1

      @@PhilsLab Since some people have problems with MISO, MOSI, SS, I really like phils COPI, CIPO because the SDO and SDI was not clear enough as a replacement in my opinion.

    • @drojf
      @drojf 8 месяцев назад +2

      ​@@piranha1337I don't get why they didn't just call it "manager" and "subordinate", then keep the acronym the same as MOSI/MISO

    • @Sanchogus
      @Sanchogus 7 месяцев назад

      ​@@drojf I don't get why most people didn't say something "we won't change anything in those namings", instead they reinvent the bicycle. :)

  • @xani666
    @xani666 8 месяцев назад +8

    It's Master Input Slave Output, not some damn CIPO, not even datasheet you've used as example uses that terminology

  • @Gengh13
    @Gengh13 8 месяцев назад +2

    I see you've already addressed it but please don't use Marxist language like CIPO or that other BS, stick to standard terms that have been used for decades like MISO and MOSI, it makes it easier for newbies to search and have access to all the documentation and app notes generated in the past decades.
    This is not a political channel but new terms like that only lead to confusion, in more political subjects it is used so that no one has an accurate definition and makes communication harder, that's the goal despite whatever story about virtue signaling they tell you.

    • @Sanchogus
      @Sanchogus 7 месяцев назад

      Why most west people think that communism ideas were like LGBTKIA+? :)

  • @argentinomacrifuevidaltamb3772
    @argentinomacrifuevidaltamb3772 8 месяцев назад

    Extraordinario video. Muchas gracias

    • @PhilsLab
      @PhilsLab  8 месяцев назад

      Thank you!