Skip to main content
Associate II
January 8, 2024
Question

SPI read/write time calculation

  • January 8, 2024
  • 2 replies
  • 1651 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

David Littell
Senior II
January 8, 2024

Um, "1 bit per clock".  ;)

Tesla DeLorean
Guru
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.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..