FX3S Code Example

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

cross mob
TeMa_2997106
Level 6
Level 6
Distributor - TED (Japan)
10 likes received 10 solutions authored 250 replies posted

I found a code example to implement "USB to SD" and "USB to eMMC".

https://www.cypress.com/documentation/code-examples/ez-usb-fx3s-sdmmc-backed-mass-storage-class-exam...

Does this code work on the demo board?

If yes, which board?

I would like to confirm the throughput including the overhead during PC communication.

(If you have any information, please provide it.)

Thanks

0 Likes
1 Solution
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

Please find the latest version of the code in FX3 SDK (in the following path):

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\msc_examples\cyfx3s_msc

You can use FX3S DVK which is mentioned in the below link for testing:

https://www.cypress.com/products/ez-usb-fx3s

We have seen sustainable throughput of 43MBps(Read) and 40MBps(Write) when SD 3.0 cards are used on USB 3.0

(8-bit SD bus width and 52MHz DDR clock are used)

Regards,

Hemanth

Hemanth

View solution in original post

7 Replies
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

Please find the latest version of the code in FX3 SDK (in the following path):

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\msc_examples\cyfx3s_msc

You can use FX3S DVK which is mentioned in the below link for testing:

https://www.cypress.com/products/ez-usb-fx3s

We have seen sustainable throughput of 43MBps(Read) and 40MBps(Write) when SD 3.0 cards are used on USB 3.0

(8-bit SD bus width and 52MHz DDR clock are used)

Regards,

Hemanth

Hemanth
TeMa_2997106
Level 6
Level 6
Distributor - TED (Japan)
10 likes received 10 solutions authored 250 replies posted

Hemanth-san,

Thank you for your quick response.

I understand on which board this code should do.

Do you know the throughput of eMMC?

I also want to know eMMC.

Thanks,

Tetsuo

0 Likes
TeMa_2997106
Level 6
Level 6
Distributor - TED (Japan)
10 likes received 10 solutions authored 250 replies posted

It is a additional question.

Is it possible to set SD I / F to 4bit?

If possible, I would like to know the throughput of 4bit.

I think it can be confirmed by getting the board.

But I want some data on what I want to do before purchasing.

Or, should I contact Pactron Inc. directly?

Unfortunately, I can't find the FX3S board on Pactron's web site ...

System Engineering Solutions http://pactroninc.in/SystemEngineeringSolutions.htm

Thanks,

Tetsuo

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Do you know the throughput of eMMC?

I also want to know eMMC.

>> With SanDisk SD1N5C4 eMMC 4.41 device in an 8 bit wide bus and 52MHz DDR clock, we have seen 44MBps read and 49MBps write. But it varies from part to part. It is recommended for you to test to get sustainable speeds.

Is it possible to set SD I / F to 4bit?

If possible, I would like to know the throughput of 4bit.

>> Yes it is possible to set 4 bit bus width. We do not have throughput values for the same.

Unfortunately, I can't find the FX3S board on Pactron's web site ...

>> In the kits section of the link https://www.cypress.com/products/ez-usb-fx3s under FX3S DVK you can get the contact email IDs of Pactron. Please contact the same to obtain the kits.

Regarding the throughput values mentioned for SD 3.0, Sandisk Extreme Pro SD cards were used.

And regarding the firmware example mentioned:

The example when used as is can enumerate two SD cards connected to two S-ports of FX3S as 4 logical units - each SD card is partitioned into 2 logical units using CyU3PSibPartitionStorage() API - please refer to FX3 API Guide for more details on this API - This API only needs to used only when there is no need for the storage device to be read through another SD host controller.

Regards,

Hemanth

Hemanth
TeMa_2997106
Level 6
Level 6
Distributor - TED (Japan)
10 likes received 10 solutions authored 250 replies posted

Hemanth-san,

Thank you for your support again.

I will try to contact Pactron.

I want to check one.

As for throughput, is it the bandwidth of data on FX3S?

Or is it the amount of data actually transferred?

Thanks,

Tetsuo

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Tetsuo,

The values I mentioned corresponds to actual data transferred.

Regards,

Hemanth

Hemanth
0 Likes
TeMa_2997106
Level 6
Level 6
Distributor - TED (Japan)
10 likes received 10 solutions authored 250 replies posted

Hemanth-san,

Thank you for your support.

This case is in direct contact with Pactron.

I'm asking them about their board.

Thanks,

Tetsuo

0 Likes