I have two dw1000 modules connected to my stm32 mcu. Looking at the code, i saw that function
int dwt_setlocaldataptr(unsigned int index)
can be useful for switching between the two. However, all file port.c, port.h and deca_spi.c seem hardcoded for just one SPI. Does anyone get a clean solution for the issue?