STM32L0 EEPROM and DMA
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-02 3:11 AM
Posted on March 02, 2016 at 12:11
Hello,
I'm using the internal EEPROM on a brand new STM32L021. In order to save some data into that EEPROM in an ''asynchronous'' way, I use DMA1 channel 1 in MEM2MEM configuration. My issue is that as soon as DMA_CCR_EN bit is set, the execution freeze until the data has actually been writen. So the behaviour is the same as if I had used a program ''load and store''. Is there any trick or information I didn't notice ? #eeprom #stm32l0 #dma
Labels:
- Labels:
-
DMA
-
EEPROM devices
-
STM32L0 Series
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-02 6:13 AM
Posted on March 02, 2016 at 15:13
Is there any trick or information I didn't notice ?
Execution from RAM perhaps?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-03 12:32 AM
Posted on March 03, 2016 at 09:32
As far as I understand, the data remains in the bus (maybe not the current one that may be in a NVM buffer, but the next) until it have actually been written in EEPROM.
So the bus stall and CPU is ''frozen''.