Using QSPI in K81

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using QSPI in K81

769件の閲覧回数
alysonrosa
Contributor I

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 :smileygrin:!

0 件の賞賛
3 返答(返信)

525件の閲覧回数
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Alyson Rosa,

I have tested this code example in my side (using MCUXpresso IDE and SDK 2.2) and I couldn't see any problem in its functionality. The board doesn't require any special setting in its jumpers but just to discard, please verify this. Also, K81 doesn't have SDK downloable package, so are you using a K80 package?

Best Regards

Jorge Alcala

0 件の賞賛

525件の閲覧回数
alysonrosa
Contributor I

Hello Jorge,

Can you share the code? Or at least the LookUp Table (LUT) for this flash?

I'm using SDK from K82 package.

0 件の賞賛

525件の閲覧回数
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Alyson Rosa

Sorry for the late reply, I am using the same code example and SDK package as you, qspi_edma_transfer and K82 SDK 2.2.

Regards

Jorge Alcala

0 件の賞賛