Hi,
as referenced in the question (https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1209144/tms570lc4357-transferring-data-from-shared-ram-to-emif-via-dma) I am trying to transfer some data from a shared RAM to EMIF via DMA. I am using free RTOS and already managed to transfer data by creating a task that updates the buffer. Now, I need to update data in the shared RAM as soon as I receive an interrupt. When I try to modify such data (16 bits) from the interrupt routine, I observed undesired behavior, where sometimes I write the data I want, sometimes I don't and I get completely different values of what I'd expect. If I modify the same data directly with the task, the data is correctly written. However, I need to change this data as soon as the interrupt indicates it.
Could you maybe tell me how to fix this problem.
Thanks in advance,