cancel
Showing results for 
Search instead for 
Did you mean: 

Unexpected data whith QSPI on STM32L431

A.R.C
Associate II

Hi,

I am experiencing some strange behavior when using the QSPI module to communicate with an Adesto Flash chip.

I am using the newest version of the ST HAL driver library.

  1. During the Dummy Cycles Phase, the SI pin is transmitting data. This is data is ignored by the Flash chip so this is not a problem but it is still unwanted.
  2. Even if the data size is set correctly in the QSPI module (DLR Register = 1) an additional byte is received by the QSPI module.

0690X000006BujMQAS.png

Anyone has an idea what causes this behavior?

2 REPLIES 2
A.R.C
Associate II

Ok,

I could solve one of the problems by myself.

I had the Adress Mode always set to QSPI_ADDRESS_1_LINE.

This way the QSPI created an adress field even when sending messages which does not require address informations.

Problem was solved after setting the mode to QSPI_ADDRESS_NONE.

Thanks for coming back with the result. Please mark as resolved.

JW