How Does SPI Determine the Starting Point of Data Transmission?

  • Thread starter Thread starter themagiciant95
  • Start date Start date
  • Tags Tags
    Interface Serial
AI Thread Summary
SPI determines the starting point of data transmission through the synchronization of the clock signal with the MOSI and MISO lines, which have default states that can lead to misinterpretation if not managed correctly. The clock signal is only active when there is data to transmit, ensuring that the master and slave are aligned in their communication. While the SPI diagram does not explicitly show a common ground, it is implicitly understood to be present for proper operation. Understanding the role of the common ground is essential for effective communication between devices. Overall, the synchronization of signals and the implicit common ground are crucial for accurate data transmission in SPI.
themagiciant95
Messages
56
Reaction score
5
I have a SPI with a master and a slave:
52ddb2dcce395fed638b4567.png
How the system knows what's the starting point of the data sent ? It's ok that we have the clock, but both MOSI and MISO have a default state on "1", that may be sampled as data sent
 

Attachments

  • 52ddb2dcce395fed638b4567.png
    52ddb2dcce395fed638b4567.png
    9.2 KB · Views: 835
Engineering news on Phys.org
Thanks. When i studied the UART protocol i read that it need a common ground:

file.png


In the SPI diagram it doesn't appear. Why ? Probably i don't clearly understand what a commond groud is... :(
 

Attachments

  • file.png
    file.png
    5.5 KB · Views: 493
themagiciant95 said:
In the SPI diagram it doesn't appear. Why ?

It is just implicit. They didn't bother to put it in the diagram, but it's there.
 
  • Like
Likes themagiciant95
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top