This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Baud rate for SPI

Hi,

I have a question regarding the frequency of the SPI peripheral of the nrf52.

According to the Product Specification v1.4, the minimum value for the frequency is 125kbps, setting the register to 0x02000000

We have made a test with lower values and the spi peripheral seems to work fine.

Would it be possible to have your feedback about using lower values, not reported in the Product Specification document ?

Would it be possible to know the function f for f(clock_frequency) = Register Value, if exists ?

Thanks in advance for the support.

Kind regards

Riccardo

Parents Reply
  • Hi Dmitry,

    Once more thing.

    I noticed that the Frequency register of the SPI is shared with TWI (I2C) one. But the values reported in the Product Specification v1.4 (see the image below) are different from the ones I obtained from the formula in the post. Are they computed with a different formula or am I doing something wrong ?

    Values obtained through the formula in the post

    Could you kindly give your feedback on those values please ?

    Thanks in advance !

    KR

    Riccardo

Children
Related