Hi!
I want to try get help here: RF communication not working - DWM1000 + STM32
With problem in RF communication.
Examples: 06a- initiator, 06b- responder
Responder stucks at:
while (!((status_reg = dwt_read32bitreg(SYS_STATUS_ID)) & (SYS_STATUS_RXFCG | SYS_STATUS_ALL_RX_ERR)))
{ };
But in initiator im also have similar line:
while (!((status_reg = dwt_read32bitreg(SYS_STATUS_ID)) & (SYS_STATUS_RXFCG | SYS_STATUS_ALL_RX_TO | SYS_STATUS_ALL_RX_ERR)))
{ };
But i have all 1’s in SYS_STATUS_ID. All 32 bits are 1.
THats probably wrong… how to fix it?
Whole code of initiator:
If i disconnect DWM module while debugger working, in next pas trough the loop value of register is 0. So, SPI is working. DWM1000 are also working, becouse if i reconnect it to responder board, register works fine.