How Does SPI Determine the Starting Point of Data Transmission?

  • Thread starter Thread starter themagiciant95
  • Start date Start date
  • Tags Tags
    Interface Serial
Click For 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: 856
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: 508
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 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

Replies
2
Views
5K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
936
  • · Replies 19 ·
Replies
19
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K