2016-03-02 03:11 AM
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 #dma2016-03-02 06:13 AM
Is there any trick or information I didn't notice ?
Execution from RAM perhaps?2016-03-03 12:32 AM
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''.