Writing and Reading to qspi flash MICRON_1024U doesn't work

Hi everybody, I am using an A10SoCDevKit. I need to write simple data to QSPI flash like 0x12345678 and read it back but I’m reading irrelevant data. Some cases I’m reading 0x78123456.

uint32_t data[32] = 0x12345678;
uint32_t rdata[32];
alt_qspi_enable(); //MICRON_1024U
alt_qspi_init(); //ALT_E_SUCCESS

Is there any one who had this problem before? or any idea about this? Thanks