This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC1310: Prevent from printing old data to UART

Part Number: CC1310

Tool/software: TI-RTOS

Hi,

Example projects:

rfWsnNode -> LP1 (LaunchPad) | rfWsnConcentrator -> LP2

Every time LP1 is powered up or reset, a new nodeAddress is generated automatically.

LP2 receives RF packet from LP1 and with Realterm or Putty or linux terminal you can read those packets. As a new nodeAddress is generated when LP1 is restarted, instead of reading only the new RF packet, you also read the old RF packet every time LP2 receives a packet.

Example:

LP1 is started for the first time:

Data read from LP2 over USB:

0x321d92b5|0x02ab|0x4173|0x2ad1|0x111c|0x2678|0x7a33|0x5282|0x3902|0x026c|1|000000462|-042|

Here, 0x321d92b5 is the nodeAddress of LP1

Now LP1 is restarted.

Data read from LP2 over USB:

0x321d92b5|0x02ab|0x4173|0x2ad1|0x111c|0x2678|0x7a33|0x5282|0x3902|0x026c|1|000000462|-042|
0x59f64e88|0x02ad|0x0c33|0x7b3d|0x4691|0x5ec0|0x4a1d|0x51a5|0x640d|0x180d|1|000000020|-035|

0x321d92b5|0x02ab|0x4173|0x2ad1|0x111c|0x2678|0x7a33|0x5282|0x3902|0x026c|1|000000462|-042|
0x59f64e88|0x02af|0x26ab|0x2433|0x578d|0x257e|0x485e|0x358f|0x273e|0x38e6|1|000000021|-035|

0x321d92b5|0x02ab|0x4173|0x2ad1|0x111c|0x2678|0x7a33|0x5282|0x3902|0x026c|1|000000462|-042|
0x59f64e88|0x02ab|0x4868|0x3e74|0x4da6|0x353a|0x10b1|0x20c3|0x0493|0x7d11|1|000000022|-035|

0x321d92b5|0x02ab|0x4173|0x2ad1|0x111c|0x2678|0x7a33|0x5282|0x3902|0x026c|1|000000462|-042|
0x59f64e88|0x02ad|0x0ea8|0x3064|0x52c7|0x2cdb|0x46ca|0x2de0|0x4860|0x3ce1|1|000000023|-035|

As you can see, the new nodeAddress is 0x59f64e88. But when I read the packet, every time it prints out the old RF packet along with the newly received packet. Any idea how it can be solved?

Thank you.

  • The consentrator cannot distinguish between two different node, and the same node using two different addresses, hence it will add the"old" node with the new address, as if it was a new node :-) If you only have one node in your system and you only want to look at data from this one, simply reduce CONCENTRATOR_MAX_NODES from 7 to 1.