AnsweredAssumed Answered

Using QSPI in K81

Question asked by Alyson Rosa on Jun 23, 2017
Latest reply on Aug 18, 2017 by Jorge Antonio Alcala Vazquez

Hi, 

 

I'm trying to use QSPI in K81 (TWR_K81F150M). And importing the example "qspi_polling_transfer", without modifying any code, it always fail, printing "The data is wrong".

Same occurs with example "qspi_edma_transfer".

 

Checking the memory monitor, in each write, the first 2 bytes is always "CCCC". For example, writing

uint32_t data[4] containing numbers 1, 2, 3, 4 in memory 0x6800 0000 will lead to:

 

memory addr  -   values

0x6800 0000  - CCCC0000 00010000 00020000

0x6800 000C  -  00030000  00040000 00000000

 

where, I think, it should be:

0x6800 0000  - 00000001 00000002 00000003

0x6800 000C  -  00000004  00000000 00000000

 

Any idea?

Thanks !

Outcomes