This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

dtm data sent

Hi,

I'm using pca10040 and prebuild hex with s132 from sdk 12. Now I'm wondering how can I get number of sent data? If I set it as transmitter - send via uart 0x8094 i get response 0x0000 and when i stop test with 0xc000 i get success status 0x8000 - how could i get number of bytes that were sent out?

On the receiver side, I start receiver test with cmd 0x4094 and also get response 0x0000. When I stop test with 0xc000 i get response 0x87e7...

So after py code check I guess that rcv get 0x07e7 packets, but how should i found out how many was it sent on transmitter side?

Thank you for info.

BR, Matej

Parents
  • FormerMember
    0 FormerMember

    For the transmitter test, there is no report of the number of transmitted packets. The number of transmitted packets is calculated based on the time the test is running and the interval between the packets. That method will result in a small error, but if the test is running for some time, that error can be discarded.

  • I'm using PCA10040 with direct_test_mode_pca10040_s132.hex and usb dongle with direct_test_mode_pca10028_s130.hex prebuild hex files from nRF5_SDK_12.0.0_12f24da...

    Then i run receiver as 0x4095 and i get rsp 0x0000; after that i run transmitter 0x8094 and i get rsp 0x0000. After that i stopped transmitter at first with 0xc000 and i get rsp 0x8000; at the end i stopped receiver with 0xc000 and i get rsp 0x9d2c - what means reporting event 0x8000 and 0x1d2c received packets...

    In that case pattern are different and I assume that number of received packets should be 0... Please correct me if I'm wrong.

    Thank you!

Reply
  • I'm using PCA10040 with direct_test_mode_pca10040_s132.hex and usb dongle with direct_test_mode_pca10028_s130.hex prebuild hex files from nRF5_SDK_12.0.0_12f24da...

    Then i run receiver as 0x4095 and i get rsp 0x0000; after that i run transmitter 0x8094 and i get rsp 0x0000. After that i stopped transmitter at first with 0xc000 and i get rsp 0x8000; at the end i stopped receiver with 0xc000 and i get rsp 0x9d2c - what means reporting event 0x8000 and 0x1d2c received packets...

    In that case pattern are different and I assume that number of received packets should be 0... Please correct me if I'm wrong.

    Thank you!

Children
No Data
Related