cancel
Showing results for 
Search instead for 
Did you mean: 

Question about the SPI communication clock

pass3master
Senior

Question about the SPI communication clock

Is it possible to output the SPI clock all the time, not just when reading and writing data?

1 ACCEPTED SOLUTION

Accepted Solutions

No.

This is fundamental to the way SPI works - the Master only generates clocks during a transfer.

https://en.wikipedia.org/wiki/Serial_Peripheral_Interface

 

Why do you feel a need to do this?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

View solution in original post

3 REPLIES 3

No.

This is fundamental to the way SPI works - the Master only generates clocks during a transfer.

https://en.wikipedia.org/wiki/Serial_Peripheral_Interface

 

Why do you feel a need to do this?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

@pass3master if that's answered your question, please mark the solution:

https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256

 

It seems you have already started a follow-on thread on this:

https://community.st.com/t5/stm32-mcus-products/how-to-perform-spi-communication-within-a-board-master-and-slave/td-p/736869

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Sorry for the late reply. Your answer solved the issue so I will close it.