Skip to main content
Explorer II
January 8, 2024
Question

SPI read/write time calculation

  • January 8, 2024
  • 2 replies
  • 1616 views

Hello everyone.

I'm interfacing my STM32F745IET6 (master) with an SPI device.

I'm using SPI1 interface running at 50 MHz, I was wondering if there's some "rule of thumb" to calculate time needed (in terms of clock cycles) to write n bits over the bus.

 

Thank you very much in advanced

Nick

    This topic has been closed for replies.

    2 replies

    Graduate II
    January 8, 2024

    Um, "1 bit per clock".  ;)

    Graduate II
    January 8, 2024

    Beyond the obvious one, no.

    Generally that sets a ceiling, where the data is continuously available, and DMA is servicing the input/output stream demands.