Cypress技术论坛
直播中

陈林

7年用户 258经验值
私信 关注
[问答]

20719 SPI主时钟配置问题

嗨队,
如何配置SPI时钟SCLK = 50000赫兹速度为主人(clkspeed参数在函数wiced_hal_pspi_init())当cyw20719使用一个24 MHz的晶体振荡器(晶振)?
我们需要SCLK = 50kHz与特定的压力传感器的通信。在现有的FW(WICED 6.2)设置SPI时钟小于187 kHz的主人是不可能的(有限的FW)。
谢谢,
鲁斯兰

以上来自于百度翻译


     以下为原文
  Hi Team,

How to configure the SPI clock speed SCLK=50000 Hz for a master (clkSpeed parameter in the function wiced_hal_pspi_init()) when the CYW20719 uses a 24 MHz crystal oscillator (XTAL)?
We need SCLK=50 kHz for communication with a specific pressure sensor. In the existing FW (WICED 6.2) is not possible to set the SPI clock less than 187 kHz for a master (limited by FW).

Thanks,
Ruslan

回帖(3)

魏茂娜

2018-9-5 15:49:22
嗨,Rulsan,
你是正确的,你不能配置SPI时钟为50KHz。你可以设置的最小值是187kHz。
谢谢,
安阇那

以上来自于百度翻译


     以下为原文
  Hi Rulsan,
 
You are correct , you can't configure the SPI clock for 50kHz. The minimum you can set is 187kHz.
 
Thanks,
Anjana
举报

陈林

2018-9-5 16:08:32
引用: leyun 发表于 2018-9-5 09:12
嗨,Rulsan,
你是正确的,你不能配置SPI时钟为50KHz。你可以设置的最小值是187kHz。
谢谢,

嗨,Anjana,
如何使SPI与内部振荡器同步。我们能吗?
谢谢,
鲁斯兰

以上来自于百度翻译


     以下为原文
  Hi Anjana,
 
What about synchronize the SPI with an internal oscillator. Can we?
 
Thanks,
Ruslan
举报

李兆水

2018-9-5 16:14:24
引用: cmh22 发表于 2018-9-5 09:31
嗨,Anjana,
如何使SPI与内部振荡器同步。我们能吗?
谢谢,

不幸的是,这是不可能的。

以上来自于百度翻译


     以下为原文
  Unfortunately, that would not be possible.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分