M4 and M7 acces to buffer in SRAM

Hi,
thank you very much for answer,
it looks a bit new for me, I have to test it.
Maybe if you can help me a bit more, my idea is:

  • define big array in sram finally probably whole 8MB, let say similar way as:
    myDataBuffer = (uint8_t *)mySDRAM.malloc(1000 * 1000 * sizeof(uint8_t));
  • M4 is saving data to it every interrupt occur.
  • M7 have access to it and can read the content of whole array.
  • probably I have to add kind of flag to avoid colision
    Regards