Which start address should have a bootable 32Mbit SPI flash?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Which start address should have a bootable 32Mbit SPI flash?

2,705 次查看
alexkovtun
Contributor I

Which start address should have a bootable 32Mbit SPI flash?

标签 (1)
标记 (1)
0 项奖励
回复
7 回复数

2,564 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Alex Kovtun ,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I was wondering if you can tell me which chip you use.
Have a great day.
Ping

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

0 项奖励
回复

2,564 次查看
alexkovtun
Contributor I

And, tell me, the function described in the file from NXP lpc177x_8x_ssp.c 

uint16_t SSP_ReceiveData(LPC_SSP_TypeDef* SSPx)

Will it read the data in the size described in the settings SPI, or will it always return a 16-bit value?

0 项奖励
回复

2,564 次查看
alexkovtun
Contributor I

Sorry, lpc1788.

0 项奖励
回复

2,564 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Alex Kovtun ,

Thanks for your reply and let me clarify it.

The LPC1788 hasn't the SPIFI module which is different with the SSP interface, in a word, you can run the code in the external flash via the SSP interface.

About the uint16_t SSP_ReceiveData(LPC_SSP_TypeDef* SSPx), I was wondering if you can exemplify the completely codes.
Have a great day,
Ping

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

0 项奖励
回复

2,564 次查看
alexkovtun
Contributor I

uint16_t SSP_ReceiveData(LPC_SSP_TypeDef* SSPx)   {
return ((uint16_t) (SSP_DR_BITMASK(SSPx->DR)));   }

I created code to run from external SSP(SPI) flash.

SPIFI memory mapped access space 0x2800 0000 - 0x28FF FFFF (UM10470, page 15)

What memory access space should I specify for SSP?

0 项奖励
回复

2,564 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Alex Kovtun,

1) What memory access space should I specify for SSP?

No, because the SSP interface can't access or utilize the QSPI device, and for the LPC178x/7x series, the SPIFI is available on the LPC1773 device only, in another word, the LPC1788 hasn't this address range.

2017-03-31_11-03-35.jpg


Have a great day,
Ping

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

0 项奖励
回复

2,564 次查看
alexkovtun
Contributor I

We are talking about the SSP interface. The range for SPIFI is listed as an example!

I will repeat the question: what memory space can I use for SSP?

If you do not know, please do not answer.

0 项奖励
回复