K64 SPI 1 Baudrate through MCUConfig Tool

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

K64 SPI 1 Baudrate through MCUConfig Tool

跳至解决方案
1,020 次查看
ahmedhrabi
Contributor IV

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. 

标记 (3)
1 解答
894 次查看
ahmedhrabi
Contributor IV

The selected Ctar was wrong. Resolved problem 

在原帖中查看解决方案

1 回复
895 次查看
ahmedhrabi
Contributor IV

The selected Ctar was wrong. Resolved problem