No worries loboris. Thanks for your work.
I did use the software CS and writing worked but not reading. The clock is lost after Tx is done, it takes some time and starts again, but data gets corrupted meanwhile and the Driver gives wrong values.
I notice ESP-Sprite seems to work at Espressif, hopefully so. A message for him.
The DMA section of the spi-master is really "not working

to say the least.
Errors/inconsistencies in the spi-master:
#define THRESH_DMA_TRANS (8*32) defines the max amount of data to Tx or Rx WITHOUT using DMA.
First minor mistakes, is that in some IF conditions its used as <= and in others just < so when fixed to All being <= one can read/write up to 32 bytes without a problem and very consistent.
Passed that point the DMA section gets into play and I cannot find what is wrong. There is no DMA apis that could help detect what the problem could be, but it is absolutely erratic, not trustable if one considers that we could need reading of thousands of bytes from SPI.
Again, WRITING is perfect so maybe something with the Rx setup of the DMA.
There is also another topic where the user complains about DMA problems receiving with another driver (cannot remember which).
Hope it can help to clear some bugs and have a perfect ESP32 IDF.
RSN