ESP32 and MAX14921 communication with SPI

Hi,
I want to send voltage data to esp32 with spi for 16 power units I got from max14921. But when I think of esp32 as master and max14921 as slave, I have algorithm problems while writing the code. Are there any resources you can recommend? I don’t understand how to define cells in max14921 for BMS.
thanks

I haven’t worked with the MAX14921. I guess the datasheet is the most important resource to understand the communication with the chip.