20719 SPI Master Clock Configuration Problem

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
RuslanO_56
Employee
Employee
First question asked First reply posted Welcome!

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

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi Rulsan,

You are correct , you can't configure the SPI clock for 50kHz. The minimum you can set is 187kHz.

Thanks,

Anjana

View solution in original post

3 Replies
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi Rulsan,

You are correct , you can't configure the SPI clock for 50kHz. The minimum you can set is 187kHz.

Thanks,

Anjana

Hi Anjana,

What about synchronize the SPI with an internal oscillator. Can we?

Thanks,

Ruslan

0 Likes
Anonymous
Not applicable

Unfortunately, that would not be possible.

0 Likes