CYUSBS234 linux driver support

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

cross mob
Augustine_Yeh
Level 4
Level 4
Distributor - Zenitron(GC)
100 sign-ins 5 likes given 50 sign-ins

Hi Cypress

We probed the SPI clock rate only 100KHz. We use a Linux base OS, Could you provide a CYUSBS234 of HW configure or SW setting for controlled SPI frequency ( Improve the clock rate for 3Mhz)? Thank !!

0 Likes
1 Solution
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

You can change the frequency of SPI master communication using the USB Serial configuration utility using windows.

Please refer to section "3.3.5 SPI Configuration" from the CYUSBS234 Kit User Guide.

Also, if you are using the USB Serial linux SDK, you can refer to the Test_Utility.c application where you can configure the frequency of spi communication using the _CY_SPI_CONFIG structure.

Best Regards,

Yatheesh

View solution in original post

0 Likes
4 Replies
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

You can change the frequency of SPI master communication using the USB Serial configuration utility using windows.

Please refer to section "3.3.5 SPI Configuration" from the CYUSBS234 Kit User Guide.

Also, if you are using the USB Serial linux SDK, you can refer to the Test_Utility.c application where you can configure the frequency of spi communication using the _CY_SPI_CONFIG structure.

Best Regards,

Yatheesh

0 Likes
Augustine_Yeh
Level 4
Level 4
Distributor - Zenitron(GC)
100 sign-ins 5 likes given 50 sign-ins

Hi Yatheesh

How do modify the default CY_DEVICE_TYPE to CY_TYPE_SPI in Linux environment ?

0 Likes

Hello,

Currently we do not have any configuration utility for Linux.

You should use the configuration utility provided for windows and then functionally use it in Linux.

Best Regards,

Yatheesh

0 Likes
Augustine_Yeh
Level 4
Level 4
Distributor - Zenitron(GC)
100 sign-ins 5 likes given 50 sign-ins

Hi Yatheesh

  Our system is a linux base embedded system, I can’t rework all the samples for Windows configuration. Would you help to check if you have a API user guide does that means 65211 can be programed by linux?

0 Likes