In SPI i am able to reach a max baud rate of 2mbps

cancel
Showing results for 
Search instead for 
Did you mean: 

In SPI i am able to reach a max baud rate of 2mbps

70 Views
Contributor II

I am facing a issue in baud rate calculation for SPI in MPC5748G. I am able to reach a max of 2mbps speed. 

0 Kudos
1 Reply

62 Views
NXP TechSupport
NXP TechSupport

Hi,

as mentioned in the datasheet, these are the max supported speeds:

lukaszadrapa_0-1605768290792.png

 DSPI is clocked by F40 or F80 (40 or 80MHz):

lukaszadrapa_1-1605768340416.png

 Baud rate is calculated as:

lukaszadrapa_2-1605768402389.png

Min baud rate prescaler is 2:

lukaszadrapa_3-1605768454202.png

Min baud rate scaler is 2:

lukaszadrapa_4-1605768493761.png

If DBR (Double Baud Rate) is 1:

SCK baud rate = (80MHz / 2) * ((1+1)/2) = 40MHz

... which is also maximum for DSPI2, DSPI3, SPI1 and SPI2 as mentioned in the datasheet.

Regards,

Lukas

 

 

 

 

 

0 Kudos