irit-rmess / DecaDuino

Ranging/synchronisation over UWB - DecaDuino library for Arduino
Other
20 stars 8 forks source link

Not getting any RX data #2

Open schef opened 5 years ago

schef commented 5 years ago

Hi, i tried you library out and can't get any RX data. I checked if the interrupt works and it does. I tried all the examples and have the same result.

I also tried arduino-dw1000 and the examples there works. So the hardware works. You did not use the reset pin in the code? Where did you connect it?

Is there anything i can do to help you figure it out what could be the issue? The board i use is arduino nano.

Thanks

thomasfla commented 5 years ago

Hi from Toulouse!

I might have the same issue here, I've just connected 2 DWM1000 to 2 Teensy3.6.

I've tested the example of chat, and send/receive. The init return no error, I've activated the debug flag and everything seems to go well...

Request to send 120byte(s): |00|01|02|03|04|05|06|07|08|09|0a|0b|0c|0d|0e|0f|10|11|12|13|14|15|16|17|18|19|1a|1b|1c|1d|1e|1f|20|21|22|23|24|25|26|27|28|29|2a|2b|2c|2d|2e|2f|30|31|32|33|34|35|36|37|38|39|3a|3b|3c|3d|3e|3f|40|41|42|43|44|45|46|47|48|49|4a|4b|4c|4d|4e|4f|50|51|52|53|54|55|56|57|58|59|5a|5b|5c|5d|5e|5f|60|61|62|63|64|65|66|67|68|69|6a|6b|6c|6d|6e|6f|70|71|72|73|74|75|76|77| TX Frame OK. Tx timestamp=0000009516e6444f

But on the other side, no frame are received. I probe the IRQ pin on the receiver, and there is no event..

Thanks

thomasfla commented 5 years ago

Hum, I tested today the ranging examples, and it worked fine. I then retried the chat, and everything is working well... Sorry for the noise..

BTW, i can confirm that the library is compatible with Teensy 3.6.