s32k148 EVB QSPI program error

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

s32k148 EVB QSPI program error

697 Views
FBS
Contributor II

Hello NXP community,

I have some problems with the QSPI programming functions provided by the 'FLASH_MX25L6433F_DRV' drivers. When I try to program from 1 to 192 Bytes or 256 Bytes to QSPI everything works fine, but when I try to program from any quantity of bytes between 193 to 255 Bytes with a single command the function returns an erroneous status that I don't know what it is due to.

I am using the S32K148 EVB evaluation board and the example project 'qspi_external_flash_s32k148'.

Any idea what causes this error?

0 Kudos
Reply
3 Replies

621 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Could you specify used RTD/SDK and S32DS versions?

0 Kudos
Reply

547 Views
FBS
Contributor II

Hello @davidtosenovjan ,

Any news about it?

0 Kudos
Reply

612 Views
FBS
Contributor II

Hello @davidtosenovjan ,

 

Sure

  • S32DS 3.4 version
  • S32k148_SDK 4.0.2 version

The specific function I am referring to is the following

/*!
* @brief Writes data in serial flash
*
* @param instance QuadSPI peripheral instance number
* @param address Start address of area to be programmed
* @param data Data to be programmed in flash
* @param size Size of data buffer
* @return Error or success status returned by API
*/
status_t FLASH_MX25L6433F_DRV_Program(uint32_t instance, uint32_t address, const uint8_t * data, uint32_t size);

0 Kudos
Reply