Hi all,
I am looking to get interrupts from the DW1000 not just when a frame has been successfully received or an error occurred, but also when a “start of frame” has been detected. Looking through the documentation I should be able to do so, however, the Decawave provided drivers do not include any defined symbols for these settings.
My question is. Is there a device reason why these interrupts weren’t surfaced in the API?
If I want to receive both, SFD and RXFG events the SPI interface even at 20MHz might be a bit too slow to read the status register and clear the appropriate interrupt bit. Can one leave the SFD interrupt bit unchanged until the end of frame bit gets set? In other words, would the following sequence happen:
- Preamble detected
- Start of Frame detected, generate interrupt (pulse interrupt line)
- Interrupt handler reads the status register and does the processing it needs to do.
- End of Frame detected, generate interrupt (pulse interrupt line)
- Interrupt handler reads the status register and does the processing it needs to do and clears all pending receive interrupts.
JM