Which start address should have a bootable 32Mbit SPI flash?
Hi Alex Kovtun ,
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
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?
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!
-----------------------------------------------------------------------------------------------------------------------
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?
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.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
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.