2016-10-24 11:18 PM
Dear All,
I am new in stm32 world.The device I am going to make, its on low power mode.As far as I know from STM32F070xB /STM32F070x6 datasheet, it has 128KB flash memory.Now my question is 1.can the DMA request access flash memory ?2. Should I need to make flash code by HAL FLASH Generic Driver/FLASH Firmware driver API?3. DMA is necessary ?2016-10-25 03:26 AM
Hi hasan.md_mubdiul,
First, the main information can be found in the STM32F0 reference manual RM0360.As a brief response : [1+2]: ''DMA Access to Flash, SRAM, APB and AHB peripherals as source and destination''DMA should be used in sleep mode to do memory/peripheral transfer when CPU is OFF.In run mode , DMA can be used to save CPU load or let it do other operation. ITs use optimize the overall performance and flexibility.[3]: Yes the driver is created for that purpose. I recommend to check and run one of the Flash example in the STM32CubeF0.-Hannibal-2016-10-25 05:35 PM
Dear Sir Hannibal,
Thank you for posting here.You have described nicely.Does it mean, such low power mode application I need to make Flash code also?I am using DMA for SPI application here. Previously in this project people did not use DMA.Let me know more about suitability about using DMA.RegardsHasan2016-10-26 03:55 AM
Hi
hasan.md_mubdiul, There is dedicated document to learn such feature and go in deep description. After the reference manual of device , II recommend the application note -Hannibal-2016-10-26 09:04 AM
Let me know more about suitability about using DMA.
It will depend hugely on your implementation and goals. DMA can help significantly decimate interrupt loading, and pulling the device in/out of sleep mode, ie WFI idle loop. It will work well for large and continuous streams of data. When you are only using half-a-dozen bytes, the overhead of programing and managing DMA might outweigh the benefits.This is something you'll have to own as a developer, and with insight into your own system architecture and design constraints.Why the F0 device over an L0 one?Running code out of RAM instead of FLASH may result in power/speed benefits.2016-11-01 06:52 PM
Ac6 System Workbench for STM32( asking help to forum)
The error is arm-none-eabi-gcc: fatal error: no input filescompilation terminated.Do you want me to use Keli?RegardsHasan2016-11-22 12:17 AM