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

direct test mode : TX power commands

Dear community,

I'd like to report a problem on the Direct Test Mode software provided in nrf51 SDK v6.1.0.

In this mode, 2-bytes commands are transmitted over the serial port, and interpreted by the DTM software, as follows : [code: 2bit] [frequency: 6bit] [length: 6bit] [payload: 2bit]

This works fine for standard Tx/Rx/reset commands. However, for more specific radio power control ("Tx power") commands, the above 'frequency' field is used to store the power value, and copied directly into the NRF->TXPOWER register.

Unfortunately, this does not work, as expected, because :

  • the TXPOWER register data format is 8-bit signed, so 6 bits are not sufficient to code the full range [-40 ; +4].
  • we could use the 'code' field bits to send 8-bit commands, but in the current state, DTM does not support this format.

I'm testing a patch to fix, and will be able to post it if necessary. Your thoughts are welcome !

Parents Reply Children
Related