Quad SPI and QSPI_SRE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Quad SPI and QSPI_SRE

Jump to solution
2,013 Views
harry_choi
Contributor III

Hello Community,

I would like to use Quad SPI but I have some question about it.

Per SoC datasheet, I have to set QSPI_SRE[2:0]=110b to use Quad SPI but the value comes from BOOT_CFG3[7:5].

If we didn't fuse the BOOT_CFG3[7:5] before, then the value will be always '000'.

In this case, how I can boot from Quad SPI?

Will bootrom set 110b to the QSPI_SRE during initialization of QSPI controller?

Thanks,

Harry

0 Kudos
Reply
1 Solution
1,970 Views
Bulat
NXP Employee
NXP Employee

Value SRE=000 is required for high QSPI frequencies (166MHz and 200MHz), but yes, it will be functional at lower frequencies as well.


FUSE_SEL should be set to initialize QSPI pads (including SRE) from BOOT_CFG3 register.

Regards,

Bulat

 

View solution in original post

0 Kudos
Reply
3 Replies
1,989 Views
Bulat
NXP Employee
NXP Employee

It is BootROM who configures the QSPI pads to SRE value of '000' which means maximum slew rate. The idea is to be able to meet the max QSPI freq requirements that can be up to 200MHz. No problem with boot from Quad SPI with this setting.

Although not required, but customer can modify pad these settings through the BOOT_CFG3 fuses.

Regards,

Bulat

 

0 Kudos
Reply
1,984 Views
harry_choi
Contributor III

Dear Bulat,

Thanks for your replay.

I saw that QSPI_SRE should be 110b for Quad Flash in S32G SoC datasheet, but do you mean that I can ignore it and QSPI_SRE=000b will support Quad Flash(not Octa Flash)?

One more question, if I set SRE in BOOT_CFG3 without  setting FUSE_SEL in BOOT_CFG2, then does the BootROM configures QSPI_SRE with default value('000b') or from SRE in BOOT_CFG3?

Best Regards,

Harry

0 Kudos
Reply
1,971 Views
Bulat
NXP Employee
NXP Employee

Value SRE=000 is required for high QSPI frequencies (166MHz and 200MHz), but yes, it will be functional at lower frequencies as well.


FUSE_SEL should be set to initialize QSPI pads (including SRE) from BOOT_CFG3 register.

Regards,

Bulat

 

0 Kudos
Reply