2018-03-11 12:33 PM
Hi, I want to setup my STM32F767 QUAD SPI peripheral to access an external NOR FLASH chip in memory mapped mode.
I can see from the STM32F76xxx reference manual how to set the QUADSPI->CCR register to set the FLASH memory command and frame format to configure it in memory mapped mode. Besides setting the CCR register, is there anything else I need to do, apart from the Timeout counter etc., to setup to operate it in memory mapped mode?
But I have not found anywhere in either the datasheet or the reference manual that defines which internal memory addresses are used to map the QUAD SPI peripheral to when it is operated in the memory mapped mode for reading from the FLASH chip.Does anyone know this?Thanks.2018-03-11 03:02 PM
Examples I've seen all decode at 0x90000000
2018-03-11 04:49 PM
Clive One wrote:
Examples I've seen all decode at 0x90000000
Indeed.
Might've been mentioned in RM, too...
JW
2018-03-11 05:26 PM
My copy of RM0410 (Rev 3, Nov 2017, STM32F76xxx and STM32F77xxx) was less than illuminating on the topic. Closest to a mention was 0x90000000-0x9FFFFFFF was Bank 4 Reserved on the FMC
http://www.st.com/en/microcontrollers/stm32f767zi.html
2018-03-11 05:30 PM
I didn't find it (directly) in RM either - the screenshot is from the DS...
Jan
2018-03-11 05:33 PM
Yes I've now found some examples using address
0x90000000, and even found the following in the stm32f765xx.h device file
♯ define QSPI_BASE 0x90000000U /*!< Base address of : QSPI memories accessible over AXI */
However, there is no mention of this address in the reference manual RM04010 document.That manual does have the 'Table 1. STM32F76xxx and STM32F77xxx register boundary addresses', but that table, in that particular document, excludes the QSPI_BASE address. Obviously an omission on ST's part as some other reference manuals for other devices do include it.
But now looking at the datasheet, which usually is not very detailed, again, I do see the above Table 14.So problem, solved.Thanks folks.
2018-03-11 05:41 PM
Yes, see it there, well that's just more depressing. Can we get an 'About the documentation' sub-forum?
2018-03-13 09:37 AM
Hi,
Thank you for highlighting this issue
.This is noted and will be fixed in coming release of the reference manual.-Nesrine-