I2C and SPI on a PCB Explained!

I2C and SPI on a PCB Explained!

Altium Academy

1 год назад

141,139 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

M Ghorbani
M Ghorbani - 03.08.2023 23:28

Very useful info. please make more videos on series and parallel termination resistor reasons and how to route them. for example, using series termination on EXT SDRAM CLK or Parallel Termination ON Diff Pair CLKs Cases. In my case, we have a graphical Circuit with EXT SDRAM as FrameBuffer and MIPI-DSI as LCD Interface but the Data gets Corrupted. using termination can help? How Much Length match will be fine for EXT SDRAM Signals? It's On Two Layer Board With STM32F7 On Top and EXT SDRAM On the Bottom side beneath the Microcontroller and MIPI DSI Lanes as close as possible to the Micro Pins (Around 23 mm Away). All SDRAM Signals Are Between 18 to 37 mm Long Traces, and Delays On ACC, BL0, and BL1 Groups are less than 100ps. What Will be the reasons for Corrupted Data, Data Gets to the LCD But It Gets Corruption in Nearby pixels. Using 4 Layer PCB Can Solve the Problem?

Ответить
L p
L p - 30.07.2023 09:38

In SPI need to do a length matching .If we are usung multiple slaves .

Ответить
Khang Lam
Khang Lam - 07.07.2023 03:40

Awesome
Video!
Wanted to know how to test these peripherals In a software testing role

Ответить
Bill
Bill - 06.07.2023 17:14

For connecting 5V, 3.3V and 1.8V I2C devices to 5V MCU, via I2C voltage level translators, is it better to use these translators between 5V <-> 3.3V and 5V <-> 1.8V, or 5V <-> 3.3V and 3.3V <-> 1.8V ?

Ответить
Skylär Astaröt
Skylär Astaröt - 30.06.2023 06:54

How working the signal I3S and Slimbus?

Ответить
mahdi zadeali
mahdi zadeali - 08.06.2023 08:25

good, thanks

Ответить
AAA AAA
AAA AAA - 05.06.2023 23:19

Hello! I send a data packet "slave func data srs16", but the result is this signal "00 slave func data srs16". Why do two zeros appear? ModbusRTU

Ответить
Amy Zhu
Amy Zhu - 02.06.2023 14:04

Hi Zach, i'm studying on I2C electrical specification recently.
and i have a question on the validation item--> setup time for re-start condition.
i'm wondering why it's more important to define setup time for re-start condition than setup time for START condition?
i think it's neccessary to define setup time for start condition since there's always a START on every transmitting procedure.
but the re-start condition isn't that frequently appeared.
do you have any idea on this?
appreciate if you reply, thanks

Ответить
Lionel Walder
Lionel Walder - 20.04.2023 01:15

Merci beaucoup, ça me démystifie ces 2 protocoles dont l'I2C que je prévois de faire un PCB

Ответить
hobi bilgisi
hobi bilgisi - 16.04.2023 14:08

thanks

Ответить
Ryan
Ryan - 27.03.2023 20:27

Wait, so how does the series termination resistor limit rise times? I thought it was more to limit signal reflections. To my knowledge using a series resistor would certainly limit the current, but I don't see how it could have a capacitive effect with respect to the rise time. Is there anything I'm missing or over-simplifying here?

Ответить
鄭峻杰
鄭峻杰 - 09.03.2023 16:25

Hi Zack, I watched this video again today and I had one question. When should we terminate a load like 50 ohm near receiver side if the datasheet doesn't point out input impedance inside receiver? From the video, it looks like there's only one termination used for driver side.

Ответить
IlGhostlI
IlGhostlI - 08.03.2023 17:07

That is actually a better definition using chip select instead of slave select, just from a memory point of view.

Ответить
Google User
Google User - 03.03.2023 19:35

You are awesome! 👏

Ответить
Eduardo Hernando Torres
Eduardo Hernando Torres - 28.01.2023 14:35

Great video as always with Zachariah! Years of using I2C and SPI Buses just following the guidelines (and it always worked) but I had never stopped to think that the limitations were related to the OpenDrain and pushpull topollogies of each one.
I love these videos because they make you actually think and understand what you are doing.

Ответить
Chad Elliott
Chad Elliott - 06.11.2022 23:07

looks like ryan from the office :p

Ответить
Chad Elliott
Chad Elliott - 06.11.2022 22:38

thanks bud, dunno what this is but just stoned letting it absorb into my subconscious at its free will

Ответить
RedRacoonKing
RedRacoonKing - 02.11.2022 07:29

Very useful info for my undergrad senior project! Thanks, Zack!

Ответить
d ramen
d ramen - 30.10.2022 22:04

Why didn't you show it on an PCB??

Ответить
hari haran
hari haran - 26.10.2022 17:45

It can't get anymore simple than this. Thank you soo much howtobasic!

Ответить
mahesh palika
mahesh palika - 24.10.2022 22:35

How to validate the spi flash memories.

What are the things we have to consider.

Ответить
k kugathasan
k kugathasan - 24.10.2022 18:39

So thankful for this

Ответить
Balaji Viswanathan
Balaji Viswanathan - 23.10.2022 05:56

like+sub, gj

Ответить
LBGST zockt
LBGST zockt - 16.10.2022 06:05

The fact that all this knowledge is available for free here is amazing, thanks to Altium for making these videos and thank you Zach for explaining so well!

Ответить
shafi.j
shafi.j - 15.10.2022 10:10

Old electronics servicing peoples like me 40 years before studied person will not not these communication but we are trying to work in this your videos is very useful 👍

Ответить
Ibrahim
Ibrahim - 14.10.2022 17:24

Execuse me sir, here by rise time do you mean the time required for the signal to go high from low?

Ответить
Jan Lenz
Jan Lenz - 07.10.2022 17:45

EYE - squared - C !

Ответить
Van Lav
Van Lav - 07.10.2022 12:30

Thank you very much for this awesome educative video. I have one more question, I've seen in some SPI designs that engineers use pull-down resistors(about 1k) between SCK and GND, is this impedance really necessary?

Ответить
Jasin
Jasin - 06.10.2022 10:31

Amazing

Ответить
Spencer Hanson
Spencer Hanson - 05.10.2022 18:44

I appreciate SO much that you say what abbreviations are! If anyone disagrees, find an abbreviated diagram of the coagulation cascade, Kreb Cycle, or any other biological diagram. If you understood those without prior knowledge of what those abbreviations stood for, I'll tone down my excitement. 😄

Ответить
Antonín Černý
Antonín Černý - 04.10.2022 00:53

Nice video!

Ответить
Dexter
Dexter - 02.10.2022 17:42

Trace impedance, are they the same as those squiggly lines you see on the pcb?

Ответить
Paweł Baran
Paweł Baran - 02.10.2022 12:39

Great, Thank you :)

Ответить
moses1202
moses1202 - 01.10.2022 14:15

It surprised me a non-asian person pronounce I-two-C. I thought it was a mistake asian people made. Here we call it I-two-C or I-tsuu-C and some people in Taiwan call it I-su-kwe-C.

Ответить
TOLIKCHE
TOLIKCHE - 01.10.2022 11:42

Thanks for the video) Can you talk more about SPI bus tips and tricks like optimal level shifting technics or pull-up/down resistors.

Ответить
Kaneeskan Senthuran
Kaneeskan Senthuran - 30.09.2022 03:10

ay quá chừng luôn

Ответить
ThermalWorld_
ThermalWorld_ - 29.09.2022 16:40

Excellent 😁

Ответить
M Smith
M Smith - 28.09.2022 16:05

First time I heard i²c called i2c.

Ответить
W18
W18 - 28.09.2022 15:21

I have seen such resistors with an SPI memory design, and that stayed looping in my mind looking to what the use of such small resistors and why not something high like driving a diode (At level of 100's or K's).
Thank you very much for educative video is comes on time for me. BTW, I like your PCB series, it is hard to find such resources and learn about hidden tricks.

Ответить
Mustafa YETİŞ
Mustafa YETİŞ - 28.09.2022 12:34

I love this channel because it teaches how to fish instead of giving fish. Thanks my best HW teacher Zach Peterson :)

Ответить
Guambra Michelin
Guambra Michelin - 28.09.2022 00:11

Thank you for the video!
I am actually designing a project which interconnects two PCBs and a use a flat cable between the 2 for I2C. Furthermore, the 2nd pcb is quite long (about 30cm). Are there any further considerations I should take into account for this PCB routing?
Thank you in advance! 😄 keep it up I am learning tons!

Ответить
Michael Lenczewski
Michael Lenczewski - 27.09.2022 21:07

It's not master or slave anymore
It's main and secondary.
God kills a kitten every time you're not woke.

Ответить
Christopher Leadholm
Christopher Leadholm - 27.09.2022 18:56

Thank you for this. Confirmed a few things I had already thought. Awesome.

Ответить
manyirons
manyirons - 27.09.2022 15:47

Clear, informative, and exactly my speed. Thank you!

Ответить
Helmut Zollner
Helmut Zollner - 27.09.2022 12:54

Very interesting. Thank you.

Ответить
gazzacroy
gazzacroy - 27.09.2022 12:09

really good video cool stuff, very helpful :)

Ответить