How to set AHB with FLEXSPI in i.MX RT1015 for NOR flash page program purpose ?

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

How to set AHB with FLEXSPI in i.MX RT1015 for NOR flash page program purpose ?

1,105件の閲覧回数
kamilm
Contributor II

Hi!

I have problem with page program NOR flash memory using FLEX SPI with AHB.

I want store data using direct write to mapped address:

for(int i = 0; i < 0x100; i++)
{
   *(uint8_t *)(FlexSPI_AMBA_BASE + i) = i;
}

However, Chip Select interrupts programming sequence. 

the manual says that: "For Flash reading/programming triggered by AHB command: Internal async FIFO for flash reading/programming should never be full/empty."

How to check TX FIFO status correctly ? 

Regards,

Kamil 

0 件の賞賛
返信
1 返信

998件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Kamil ,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) How to check TX FIFO status correctly?
-- Actually, only two interrupts can indicate the status of the async FIFO.

pastedImage_1.png
I was wondering if you can introduce hardware design about the external QSPI,
it close relates to AHB read and write operation.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信