cancel
Showing results for 
Search instead for 
Did you mean: 

SPI read/write time calculation

NDicostanzo
Associate II

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

2 REPLIES 2

Um, "1 bit per clock".  

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
Up vote any posts that you find helpful, it shows what's working..