Supporting SD card SPI on FX3S

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

cross mob
NaMo_1534561
Level 5
Level 5
Distributor - Macnica (Japan)
100 replies posted 100 sign-ins 50 replies posted

Our customers are considering booting an FPGA using FX3S.

In order to download FPGA configuration data from the SD card, the FX3S requires an SD card I / F and SPI(master).

Looking at the FX3S data sheet, it appears that we need to use S1-Port to configure the SD SPI.

In that case, is it necessary to select CYUSB3035 which has 2 Strage ports?

Best Regards,

Naoaki Morimoto

0 Likes
1 Solution

Hi Morimoto-san,

Thank you for waiting and thank you for clarify the situation.

As a conclusion, you are possible to use CYUSB3031/3033 on this situation.

As you know, CYUSB3031/3033 has only 1 S-Port. S0-Port is available whereas S1-Port is not available.

But, Serial Peripherals(UART/SPI/I2S) is available on CYUSB3031/3033.

https://www.cypress.com/part/cyusb3031-bzxc

It means that irrespective of whether S1-Port is available or not, Low Speed Peripherals (GPIO [53] - [57]) can use (VIO4 Power Domain is available).

Comments:

On scenario 1, it can achieve without any changes as big picture.

On scenario 2, because S1-Port is not available, SD card cannot connect to S1-Port SDIOs. Kindly connect to S0-Port SDIOs instead.

Also, SPI block is not in the S1-Port block. These are two independent blocks.

pastedImage_0.png

Best regards,

Hirotaka Takayama

View solution in original post

0 Likes
4 Replies
HirotakaT_91
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

The customer would like to boot FPGA configuration data from SD card, right?

In general, SD comes with two kinds of interface, either SPI or Storage (S0 or S1) port.

The FX3S (3035) supports the SD cards over the storage interface.

It has two storage ports. The customer can use either S0 port or S1 port. If needed, you can use both storage ports (RAID 1 and RAID 0 - applications).

So the customer can use either S0 or S1 port his purpose.

Kindly let me know if it does not meet your question.

Best regards,

Hirotaka Takayama

0 Likes
NaMo_1534561
Level 5
Level 5
Distributor - Macnica (Japan)
100 replies posted 100 sign-ins 50 replies posted

Takayama-san,

Thank you for your answer.

Customer is considering the two options of booting FPGA.

1) boot FPGA configuration data via USB I/F

    [PC or CPU board] --USB-- [FX3S] --SPI-- [FPGA]

They refer the AN84868 - Configuring_an_FPGA_over_USB_Using_Cypress_EZ-USB_FX3.

2) boot FPGA configuration data from SD card

    [SD card] --SDIO-- [FX3S] --SPI-- [FPGA]

Does it need to use S1-Port if SD + SPI are required?

If so, is it necessary to select CYUSB3035 instead of CYUSB3033?

キャプチャ.PNG

Best Regards,

Naoaki Morimoto

0 Likes

Hi Morimoto-san,

Thank you for waiting and thank you for clarify the situation.

As a conclusion, you are possible to use CYUSB3031/3033 on this situation.

As you know, CYUSB3031/3033 has only 1 S-Port. S0-Port is available whereas S1-Port is not available.

But, Serial Peripherals(UART/SPI/I2S) is available on CYUSB3031/3033.

https://www.cypress.com/part/cyusb3031-bzxc

It means that irrespective of whether S1-Port is available or not, Low Speed Peripherals (GPIO [53] - [57]) can use (VIO4 Power Domain is available).

Comments:

On scenario 1, it can achieve without any changes as big picture.

On scenario 2, because S1-Port is not available, SD card cannot connect to S1-Port SDIOs. Kindly connect to S0-Port SDIOs instead.

Also, SPI block is not in the S1-Port block. These are two independent blocks.

pastedImage_0.png

Best regards,

Hirotaka Takayama

0 Likes
NaMo_1534561
Level 5
Level 5
Distributor - Macnica (Japan)
100 replies posted 100 sign-ins 50 replies posted

Hello Takayama-san,

Thank you for your answer.

I misunderstood the port where SPI can be assigned.

SPI can use GPIO[53] - [57] whether S1-Port is available or not, so I can suggest CYUSB3031 or CYUSB3033.

Best Regards,

Naoaki Morimoto

0 Likes