Connect with us

Related to SPI interface ....

Discussion in 'General Electronics Discussion' started by KRK, Jun 28, 2017.

Scroll to continue with content
  1. KRK

    KRK

    27
    0
    Jun 20, 2017
    What is the maximum no. of devices connected to SPI? What is the maximum bus capacitance of SPI?
     
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    11,642
    2,690
    Nov 17, 2011
    There is afaik no defined upper limit on the number of devices connected to an SPI bus.

    The max. bus capacitance depends on the driver strength of the components used and the clock frequency.
    The higher the clock frequency, the less time is available for charging or discharging the bus capacitance, therefore a smaller capacitance is allowed.
    The higher the driver strength, the faster the bus capacitance is charged or discharged, therefore a higher bus cpacitance is allowed.
    As far as I know these limits are not defined per standard. You'll have to look up the parameters in the datasheets of the components used.
     
    KRK and OBW0549 like this.
  3. KRK

    KRK

    27
    0
    Jun 20, 2017
    When connecting the I2C/SPI for multiple devices we may route parallel the signals to multiple devices, will the parallel stub affects the data quality?
     
  4. Harald Kapp

    Harald Kapp Moderator Moderator

    11,642
    2,690
    Nov 17, 2011
    Depending on your clock rate, rise times and fall times of the signal as well on the length of the stubs and the characteristic impedance: yes or no.
    You'll have to apply transmission line theory or at least youÄll have to consider whether it is applicable with respect to the physical parameters of your circuit. At clock frequencies of a few kHz and slow rise/fall times there is usually no issue with refelxions and such.
    At clock frequencies in the MHz range and fast signals, this becomes an issue and matched impedances are required to minimize detrimental effects. It may be better to use a bus going from device to device and attach each device with a short stub than to rout the SPI bus in parallel to different devices. In most cases this will save PCB real estate, too.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-