AnsweredAssumed Answered

SPI Baud Rate Settings

Question asked by Ray Hall on Jul 10, 2013
Latest reply on Jul 12, 2013 by Ray Hall

In the MC9S12XEP100RMV1.pdf data sheet it gives the formula to calculate the baud rate for SPI.

 

This is...

 

BaudRateDivisor = (SPPR + 1) * 2(SPR + 1)

Baud Rate = BusClock / BaudRateDivisor

 

You have to lookup a table to find the SPPR and SPR values. This table is based on a bus of 25 Mhz.

 

I am using 24 Mhz bus. Where do I find a table for this speed ?

 

Ray.

Outcomes