DWS1000- not setting RXFCG in example SS TWR

Hi!

I run example code on other MCU’s, with DSW1000 HAT’s.

STM32L01(Responder)
STM32F1(Initiator)

Modules can communicate(responder is stucking on:

while (!((status_reg = dwt_read32bitreg(SYS_STATUS_ID))
& (SYS_STATUS_RXFCG | SYS_STATUS_ALL_RX_ERR))) {
};

when initiator are turned off.

But frame never is good. RXFCG are always seto to 0. In both, initiator and responder.

I tested SPI by:

// uint8 dataA[20] = { 19, 18, 17, 16, 15, 14, 13, 0, 1, 2, 3, 4, 5, 6, 7, 8,
// 9, 10, 11, 12 };
// uint8 dataB[20];
// dwt_writetodevice(0x21, 0, 20, dataA);
// dwt_readfromdevice(0x21, 0, 20, dataB);

and it working correctly. Where the problem can be?