7 Replies Latest reply on Jun 15, 2020 8:17 PM by TeMa_2997106

    FX3S Code Example

    TeMa_2997106

      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-example

       

      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

        • 1. Re: FX3S Code Example
          HemanthR_06

          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

          1 of 1 people found this helpful
          • 2. Re: FX3S Code Example
            TeMa_2997106

            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

            • 3. Re: FX3S Code Example
              TeMa_2997106

              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

              • 4. Re: FX3S Code Example
                HemanthR_06

                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

                1 of 1 people found this helpful
                • 5. Re: FX3S Code Example
                  TeMa_2997106

                  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

                  • 6. Re: FX3S Code Example
                    HemanthR_06

                    Hi Tetsuo,

                     

                    The values I mentioned corresponds to actual data transferred.

                     

                    Regards,

                    Hemanth

                    • 7. Re: FX3S Code Example
                      TeMa_2997106

                      Hemanth-san,

                       

                      Thank you for your support.

                       

                      This case is in direct contact with Pactron.

                      I'm asking them about their board.

                       

                      Thanks,

                      Tetsuo