2017-12-13 06:38 PM
Hi everybody!
I have a project which uses STM32F769 Discover board.
In my project, I want to record voice, save that voice data and then play that data after I press user button.
I also referred to demonstration example (on STM32Cube_FW_F7_V1.8.0) and found that, in that demonstration example, the recorded data is saved on USB.
Could you please tell a suggestion to save that voice data without using USB if my voice data is less than 1MB.
Thank you for your attention.
#audio-playback #stm32cubef7 #stm32f7-discovery #audio-recording2017-12-14 10:18 AM
Short term, the SDRAM
You could then write into QuadSPI FLASH, or to a MicroSD card
2017-12-14 10:18 AM
the board also has an sd card slot
2017-12-14 06:18 PM
Could you tell me more detail about saving on SDRAM or QSPI memory, I try to save voice data to QSPI at address of 0x3F60000 but not successful.
2017-12-14 10:44 PM
The SDRAM when configured presents at 0xC0000000, and can be read and written like internal RAM, only slower.
The QSPI memory is going to require more involvement to write
STM32Cube_FW_F7_V1.8.0\Projects\STM32F769I-Discovery\Examples\BSP\Src\qspi.c
BSP_QSPI_Erase_Block()
BSP_QSPI_Write()
2017-12-14 10:49 PM
I found the reason why I cannot write to QSPI memory is that, in demostration project, the QSPI memory is configured to memory-mapped mode. In that mode we cannot write to QSPI memory.
Now I am trying to write data to SDRAM.
2017-12-15 04:41 AM
in memory mapped mode it presents at 0x90000000 and when not memory mapped mode, its at 0x00000000. you need to erase blocks before writing to them, so qspi is very slow.
Here's a project I made that reads files from the uSD card into SDRAM, and writes them to the QSPI flash on stm32f769i_discovery.