cancel
Showing results for 
Search instead for 
Did you mean: 

DMA and EEPROM interference on STM32L1?

giuseppe
Associate II
Posted on October 29, 2015 at 09:00

I'm having a big problem.

I have an USART which uses a circular buffer with DMA to receive characters.

The machine sometimes has to save some informations in internal EEPROM.

After some time, from minutes to many hours, the USART stops reception.

Watching with emulator, it seems DMA is insensible, as freezed, but correctly set.

The strange thing is that if I stop execution and then I continue, magically DMA resumes its operation...

Obviously I can't do it without emulator.

Is it possible that EEPROM writings could have some interference with DMA activity?

For information, I used the standard peripheral library functions for EEPROM.

Thanks in advance
0 REPLIES 0