K64 SPI 1 Baudrate through MCUConfig Tool

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K64 SPI 1 Baudrate through MCUConfig Tool

Jump to solution
525 Views
ahmedhrabi
Contributor III

Hi All, 

I'am working on the K64 with the MCUconfigTool. The bus Clock value is 50.381Mhz, and i'am using it to generate the SPI1 Clock. The Desired Baudrate of the SPI is 350000. 

Here's my McuConfigTool config : 

 

SPI1 SCK Pin : 

Capture spi 1 pin.PNG

SPI1 Periph config : 

Periph spi 1 config.PNG

With this configuration the measured generated clock of the SPI 1 (SCK) is always 12.59Mhz, even when i chaned the desired baudrate to other values i always get 12.59Mhz. 

PS : I have tried the same conf for the SPI 0 and it works correctly (The generated SCK is 350 000 Hz). 

Best Regards, 

Ahmed HRABI. 

1 Solution
399 Views
ahmedhrabi
Contributor III

The selected Ctar was wrong. Resolved problem 

View solution in original post

1 Reply
400 Views
ahmedhrabi
Contributor III

The selected Ctar was wrong. Resolved problem