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
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
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
hello @danielmartynek
any updates please !!
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
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.
Sorry, one more question.
Which version of the SDK / S32DS do you use?
Thanks,
Daniel
SDK- V3.0.0
S32DS- V2.2
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
Hello @danielmartynek
Yes, I can with me logic analyser is available. Can you please guide me on what exactly I need to look into.
Hi,
This is the function:
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
2x RDSR
Regards,
Daniel
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.
Hello NXP
any update please
thanks in advance