write_buf is the array which should be written to SD Card RAM_Buf is filled by the second core with readable lines everything uint16, that there cant be any overflow
Writecounter is the position where the RAM_Buf is filled ReadCounter is the Position where it is saved to SD Card
in the past i used the RMT Peripheral for measuring a Pulse length, change this Value and transmit a new Pulse (with new Length). All this has to be very fast and in IRAM.
Now i wanted to update everything the the actual IDF Version. But nothing is working any more.