Skip to main content
Visitor II
March 21, 2021
Question

What is the maximum range of SPI communication protocol ?

  • March 21, 2021
  • 3 replies
  • 1519 views

Hi,

I want to use accelerometer using stm32f4 mcu with SPI protocol.

The range is between 1 and 2 meters. Is this work good ?

Thanks...

    This topic has been closed for replies.

    3 replies

    Super User
    March 22, 2021

    SPI over 2 meters? No way, without extender

    -- pa

    ST Employee
    March 22, 2021

    Technically you may do that but it will not be a trivial task.

    The maximum possible length of SPI line at a specific clock frequency is limited by the phase delay between CLK and MISO seen by the master.

    Line driver may be required. Typical issues of a long transmission need to be taken care: impedance matching, inductive noise, etc.

    Explorer
    March 22, 2021

    As mentioned, for high speed, you would need impedance-matched lines and transceivers.

    However, most accelerometers have a relatively low bandwidth, I guess 1ksps or less would do for your purpose.

    You can reduce the SPI clock frequency, to ease the line requirement.

    About 100 ... 200kHz should suffice.