Max30001 bioz help

Hi, i have the max30001 evkit board and i’m trying to obtain the bioimpedance without using the software with it, so i’m using my own code.
What i have done is using the software to look which register is getting set and when, so i’ve reproduced it.
For the setup register part :
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_BIOZ, 0x601800);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_BIOZ, 0x611800);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_BIOZ, 0x610800);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_BIOZ, 0x610400);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_BIOZ, 0x610410);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_BMUX, 0x303040);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_GEN, 0x40004);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_BMUX, 0x103040);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_BMUX, 0x3040);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_GEN, 0x40024);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_GEN, 0x4002A);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_GEN, 0x4002B);

after that there is a start measurement phase :
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->EN_INT, 0x3);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->EN_INT2, 0x3);
Peripherals::max30001()->max30001_BIOZ_InitStart(1,0,0,0,0,3,7,0,6,0,1,0,0,4,0,1,0,0);
Peripherals::max30001()->max30001_INT_assignment(Peripherals::max30001()->MAX30001_INT_B,
Peripherals::max30001()->MAX30001_NO_INT,
Peripherals::max30001()->MAX30001_NO_INT,
Peripherals::max30001()->MAX30001_INT_2B,
Peripherals::max30001()->MAX30001_INT_B,
Peripherals::max30001()->MAX30001_NO_INT,
Peripherals::max30001()->MAX30001_INT_2B,
Peripherals::max30001()->MAX30001_INT_2B,
Peripherals::max30001()->MAX30001_NO_INT,
Peripherals::max30001()->MAX30001_NO_INT,
Peripherals::max30001()->MAX30001_NO_INT,
Peripherals::max30001()->MAX30001_NO_INT,
Peripherals::max30001()->MAX30001_NO_INT,
Peripherals::max30001()->MAX30001_INT_2B,
Peripherals::max30001()->MAX30001_NO_INT,
Peripherals::max30001()->MAX30001_INT_ODNR,
Peripherals::max30001()->MAX30001_INT_ODNR);

And after that i am trying to read from the FIFO :
Peripherals::max30001()->max30001_reg_read(Peripherals::max30001()->BIOZ_FIFO, &Data);
But i cant seem to get data, its always the same value which is 6 or something like 16628322.
and between measure i have a stop phase :
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->EN_INT, 0x3);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->EN_INT2, 0x3);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_GEN, 0x4000B);
Peripherals::max30001()->max30001_reg_write(Peripherals::max30001()->CNFG_GEN, 0x4002B);
Peripherals::max30001()->max30001_Stop_BIOZ();

Thanks for the help