QSPI FLASH Init time out

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

QSPI FLASH Init time out

1,742 Views
Saitej
Contributor IV

Hello 

Am using NXPS32K148 Q176 EVB, and trying to run qspi_external_flash_s32k148 example project after depopulating R272,R260,R208,R210,R212,R250 & populating R271,R254,R209,R211,R213,R244.

Now am seeing FLASH_MX25L6433F_DRV_Init function status is TIME_OUT,

please help me on how to verify my corrections are correct and why am seeing TIME_OUT 

0 Kudos
12 Replies

1,715 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

Do you have the problem with the unmodified qspi_external_flash_s32k14 example?
Or do you have you own code?

Is the external flash powered (P3V3_SW)?
Do you supply the board with 12V?
In which position is J18?

 

Thank you,

BR, Daniel

0 Kudos

1,708 Views
Saitej
Contributor IV

Hello @danielmartynek 

Am using qspi_external_flash_s32k14 example with out any modifications in it.

Is the external flash powered (P3V3_SW)? - Yes am able to see 3.3V between PIN 4 & 8 of U508
Do you supply the board with 12V? - It is powered with USB cable
In which position is J18?- J18 jumper is placed in between 2 & 3

0 Kudos

1,687 Views
Saitej
Contributor IV

hello @danielmartynek 

any updates please !!

0 Kudos

1,683 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

Can you please find out which function returns the TIMEOUT status?

The FLASH_MX25L6433F_DRV_InitDevice() function calls several functions that can return the error code.

Also, please double check all the resistors that you replaced.

 

Regards,

Daniel

0 Kudos

1,659 Views
Saitej
Contributor IV

Hello @danielmartynek 

Thanks for the response,

Yes, cross verified all the resistors are in place as guided, Here am seeing STATUS_TIMEOUT from "FLASH_MX25L6433F_DRV_WriteEnable" function.

0 Kudos

1,656 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Sorry, one more question.

Which version of the SDK / S32DS do you use?

 

Thanks,

Daniel

0 Kudos

1,650 Views
Saitej
Contributor IV

SDK- V3.0.0

S32DS- V2.2

0 Kudos

1,633 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

I get the same error in S32DS2.2 with SDK 3.0.0 on an EVB with the original ENET routing.

There must be a hardware issue. Can you scope the bus on the U508 pins?

 

Regards,

Daniel

0 Kudos

1,629 Views
Saitej
Contributor IV

Hello @danielmartynek 

Yes, I can with me logic analyser is available. Can you please guide me on what exactly I need to look into. 

0 Kudos

1,624 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

This is the function:

danielmartynek_0-1613487786817.png

It sends WREN twice and reads RDSR twice.

The STATUS variable is either overwritter to STATUS_SUCCESS if WEL is set by the WREN command or there is another error reported by the QSPI driver.

I reckon the issue is that WEL does not get set and the STATUS variable stays in the default STATUS_TIMEOUT.

You should see this on the bus:

2x WREN

danielmartynek_1-1613488007206.png

2x RDSR

danielmartynek_2-1613488056272.png

Regards,

Daniel

 

0 Kudos

1,628 Views
Saitej
Contributor IV

Hello @danielmartynek 

Am using example project without any modifications to it.

Is the external flash powered (P3V3_SW)? - Yes am able to see 3.3V in between pin 4 and pin 8 of IC U508

Do you supply the board with 12V?- No it is powered with USB.
In which position is J18?- J18 is placed in between Pin 2 & 3.

0 Kudos

1,733 Views
Saitej
Contributor IV

Hello NXP

any update please 

thanks in advance 

0 Kudos