There are two dwm3000 modules on STM32, a tag and an anchor module for sending data. Their configuration is as follows;
static dwt_config_t config = {
5,
DWT_PLEN_64,
DWT_PAC8,
9,
9,
0,
DWT_BR_6M8,
DWT_PHRMODE_EXT,
DWT_PHRRATE_DTA,
(64 + 1 + 8 - 8),
DWT_STS_MODE_OFF,
DWT_STS_LEN_64,
DWT_PDOA_M0
};
SPI is run at fast rate and SPI bit rate is set to 36 Mbps. It is set this way but when I do throughput test on oscilloscope, the difference between two data packets is 3.46 ms while 1024 frame buffer duration time is 568us. this means that the maximum throughput value is 2.2 Mbps. I also revised deca_spi.c api file with DMA and IT, but the throughput value did not increase.
Thanks for your help and advice.