SPI Baud Rate Settings

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SPI Baud Rate Settings

ソリューションへジャンプ
5,422件の閲覧回数
rayhall
Contributor V

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.

ラベル(1)
0 件の賞賛
返信
1 解決策
1,740件の閲覧回数
iggi
NXP Employee
NXP Employee

Use the excel sheet attached. Baud rate changes according to the value of the bus clock.

Regards,

Ivan

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,741件の閲覧回数
iggi
NXP Employee
NXP Employee

Use the excel sheet attached. Baud rate changes according to the value of the bus clock.

Regards,

Ivan

0 件の賞賛
返信
1,740件の閲覧回数
rayhall
Contributor V

Thank you Ivan,

Ray.

0 件の賞賛
返信