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.

Serial data send from CC2533 to Microcontroller (Atmeg328p)

Other Parts Discussed in Thread: CC2533, REMOTI, TUSB3410

Hi,

I have my CC2533 evaluation board connected as follows - Tx signal from the board connected to the Rx of Arduino Board with Atmeg328p. Both grounds tied together.

RNP_CC2533F96-Recipient_UART_PORT0_SBL.hex code flash programmed onto the board. On the Arduino side i am doing a serial read at 9600 baud rate and

get the following output. 

I am unable to decode this Hex values recieved. Could anyone help ? 

When connected through the target emulator and pairing with the remote i get the keypresses logged properly. Same is attached for reference.

6116.log.txt
RemoTI Target Emulator - v1.4.3
--------------------------------------------------------------------
Initialize User's Components...
Done
--------------------------------------------------------------------
Starting The Emulator...
Initialize RTI Library...COM7...
Done
--------------------------------------------------------------------
Getting Startup Info...
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0xA0 (160) (RTI_CP_ITEM_STARTUP_CTRL)
 ItemLength     = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 State          = 0x00 (0) (RESTORE_STATE)
 Data(0x)
 0000:00                                              .
--------------------------------------------------------------------
Getting Startup Info...Done
--------------------------------------------------------------------
Get Rti Stack Items...
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0xA1 (161) (RTI_CP_ITEM_NODE_CAPABILITIES)
 ItemLength     = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Capability     = 0x0F (15)
                  Target
                  AC Powered
                  Security Capable
                  Channel Normalization Capable
 Data(0x)
 0000:0F                                              .
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0xA4 (164) (RTI_CP_ITEM_APPL_DEV_TYPE_LIST)
 ItemLength     = 0x03 (3)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Type1          = 0x09 (9) (Set Top Box)
 Type2          = 0x00 (0) (Reserved Invalid)
 Type3          = 0x00 (0) (Reserved Invalid)
 Data(0x)
 0000:09 00 00                                        ...
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0xA2 (162) (RTI_CP_ITEM_NODE_SUPPORTED_TGT_TYPES)
 ItemLength     = 0x06 (6)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Type1          = 0xFF (255) (Reserved For Wildcards)
 Type2          = 0x00 (0) (Reserved Invalid)
 Type3          = 0x00 (0) (Reserved Invalid)
 Type4          = 0x00 (0) (Reserved Invalid)
 Type5          = 0x00 (0) (Reserved Invalid)
 Type6          = 0x00 (0) (Reserved Invalid)
 Data(0x)
 0000:FF 00 00 00 00 00                               ......
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0xA3 (163) (RTI_CP_ITEM_APPL_CAPABILITIES)
 ItemLength     = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 UserString     = 0x01 (1) (True)
 NumDevices     = 0x01 (1)
 NumProfiles    = 0x02 (2)
 Data(0x)
 0000:23                                              #
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0xA5 (165) (RTI_CP_ITEM_APPL_PROFILE_ID_LIST)
 ItemLength     = 0x02 (2)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Profile1       = 0x01 (1) (ZRC)
 Profile2       = 0x03 (3) (ZRC20)
 Data(0x)
 0000:01 03                                           ..
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0xA8 (168) (RTI_CP_ITEM_VENDOR_ID)
 ItemLength     = 0x02 (2)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Id             = 0x0007 (7)
 Data(0x)
 0000:07 00                                           ..
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0xA9 (169) (RTI_CP_ITEM_VENDOR_NAME)
 ItemLength     = 0x07 (7)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Name           = TI Inc
 Data(0x)
 0000:54 49 20 49 6E 63 00                            TI Inc.
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0x6F (111) (RTI_SA_ITEM_USER_STRING)
 ItemLength     = 0x0F (15)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Data(0x)
 0000:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ...............
--------------------------------------------------------------------
Get Rti Stack Items...Done
--------------------------------------------------------------------
Get Gdp Stack Items...
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0x00 (0) (GDP)
 ItemNumber     = 0xE7 (231) (GDP_ITEM_PRIMARY_CLASS_DESCRIPTOR)
 ItemLength     = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 ClassNumber    = 0x04 (4)
 DuplHandling   = 0x00 (0) (GDP_DUP_CLASS_HDL_USE_AS_IS)
 Data(0x)
 0000:04                                              .
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0x00 (0) (GDP)
 ItemNumber     = 0xE6 (230) (GDP_ITEM_SECONDARY_CLASS_DESCRIPTOR)
 ItemLength     = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 ClassNumber    = 0x05 (5)
 DuplHandling   = 0x02 (2) (GDP_DUP_CLASS_HDL_ABORT)
 Data(0x)
 0000:25                                              %
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0x00 (0) (GDP)
 ItemNumber     = 0xE5 (229) (GDP_ITEM_TERTIARY_CLASS_DESCRIPTOR)
 ItemLength     = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 ClassNumber    = 0x06 (6)
 DuplHandling   = 0x02 (2) (GDP_DUP_CLASS_HDL_ABORT)
 Data(0x)
 0000:26                                              &
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0x00 (0) (GDP)
 ItemNumber     = 0xE8 (232) (GDP_ITEM_BINDING_CAP)
 ItemLength     = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Capability     = 0x01 (1)
                  GDP_BINDING_CAP_TYPE_PUSH_BUTTON_AND_VALIDATION
 Data(0x)
 0000:01                                              .
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0x00 (0) (GDP)
 ItemNumber     = 0x81 (129) (GDP_ITEM_GDP_CAPABILITIES)
 ItemLength     = 0x04 (4)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Capability     = 0x0000002A (42)
                  GDP_CAP_SUPPORT_POLL_SERVER_MASK
                  GDP_CAP_SUPPORT_IDENTIFICATION_SERVER_MASK
                  GDP_CAP_SUPPORT_ENHANCED_SECURITY_MASK
 Data(0x)
 0000:2A 00 00 00                                     *...
--------------------------------------------------------------------
Get Gdp Stack Items...Done
--------------------------------------------------------------------
Get Zrc Stack Items...
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0x03 (3) (ZRC20)
 ItemNumber     = 0xA1 (161) (ZRC_ITEM_ZRC_PROFILE_CAPABILITIES)
 ItemLength     = 0x04 (4)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Capability     = 0x000000AA (170)
                  ZRC_CAP_SUPPORT_ACTIONS_RECIPIENT_MASK
                  ZRC_CAP_SUPPORT_HA_ACTIONS_RECIPIENT_MASK
                  ZRC_CAP_SUPPORT_ACTION_MAPPING_SERVER_MASK
                  ZRC_CAP_INFORM_ABOUT_SUPPORTED_ACTIONS_MASK
 Data(0x)
 0000:AA 00 00 00                                     ....
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0x03 (3) (ZRC20)
 ItemNumber     = 0xA4 (164) (ZRC_ITEM_ACTION_BANKS_SUPPORTED_RX)
 ItemLength     = 0x20 (32)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Data(0x)
 0000:01 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 ................
 0010:FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 ................
--------------------------------------------------------------------
Get Zrc Stack Items...Done
--------------------------------------------------------------------
Initialize RTI Stack...
Done
--------------------------------------------------------------------
<Tx> - RTI_StandbyReq
 Mode           = 0x01 (1) (Off)
--------------------------------------------------------------------
<Tx> - Set Frequency Agility
 State          = 0x01 (1) (On)
--------------------------------------------------------------------
Display Remote Controller = True
--------------------------------------------------------------------
<Rx> - RTI_InitCnf
 Status         = 0x00 (0) (Rti Success)
--------------------------------------------------------------------
<Tx> - RTI_WriteItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0xA0 (160) (RTI_CP_ITEM_STARTUP_CTRL)
 ItemLength     = 0x01 (1)
 State          = 0x00 (0) (RESTORE_STATE)
 Data(0x)
 0000:00                                              .
--------------------------------------------------------------------
<Rx> - RTI_WriteItemEx
 Status         = 0x00 (0) (Rti Success)
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0xB0 (176) (RTI_SA_ITEM_PT_NUMBER_OF_ACTIVE_ENTRIES)
 ItemLength     = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Bound Device(s)= 0x01 (1)
 Data(0x)
 0000:01                                              .
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0x85 (133) (RTI_SA_ITEM_PAN_ID)
 ItemLength     = 0x02 (2)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 Pan Id         = 0xDEC1
 Data(0x)
 0000:C1 DE                                           ..
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0x86 (134) (RTI_SA_ITEM_SHORT_ADDRESS)
 ItemLength     = 0x02 (2)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 ShortAddress   = 0x5853
 Data(0x)
 0000:53 58                                           SX
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
 ProfileId      = 0xFF (255) (RTI)
 ItemNumber     = 0x61 (97) (RTI_SA_ITEM_CURRENT_CHANNEL)
 ItemLength     = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
 Status         = 0x00 (0) (Rti Success)
 MacChannel     = 0x19 (25)
 Data(0x)
 0000:19                                              .
--------------------------------------------------------------------
<Rx> - RTI_StandbyCnf
 Status         = 0x00 (0) (Rti Success)
--------------------------------------------------------------------
<Rx> - RTI_PollIndReq
 PairIndex      = 0x00 (0)
 Trigger        = 0x01 (1) (GDP_HEARTBEAT_TRIGGER_TIME_BASED)
--------------------------------------------------------------------
<Tx> - RTI_PollRsp
 PairIndex      = 0x00 (0)
 ProfileId      = 0x00 (0) (GDP)
 MsgDataLength  = 0x00 (0)
--------------------------------------------------------------------
<Rx> - RTI_PollIndReq
 PairIndex      = 0x00 (0)
 Trigger        = 0x01 (1) (GDP_HEARTBEAT_TRIGGER_TIME_BASED)
--------------------------------------------------------------------
<Tx> - RTI_PollRsp
 PairIndex      = 0x00 (0)
 ProfileId      = 0x00 (0) (GDP)
 MsgDataLength  = 0x00 (0)
--------------------------------------------------------------------
<Rx> - RTI_PollIndReq
 PairIndex      = 0x00 (0)
 Trigger        = 0x01 (1) (GDP_HEARTBEAT_TRIGGER_TIME_BASED)
--------------------------------------------------------------------
<Tx> - RTI_PollRsp
 PairIndex      = 0x00 (0)
 ProfileId      = 0x00 (0) (GDP)
 MsgDataLength  = 0x00 (0)
--------------------------------------------------------------------
<Rx> - RTI_PollIndReq
 PairIndex      = 0x00 (0)
 Trigger        = 0x01 (1) (GDP_HEARTBEAT_TRIGGER_TIME_BASED)
--------------------------------------------------------------------
<Tx> - RTI_PollRsp
 PairIndex      = 0x00 (0)
 ProfileId      = 0x00 (0) (GDP)
 MsgDataLength  = 0x00 (0)
--------------------------------------------------------------------
<Rx> - RTI_PollIndReq
 PairIndex      = 0x00 (0)
 Trigger        = 0x01 (1) (GDP_HEARTBEAT_TRIGGER_TIME_BASED)
--------------------------------------------------------------------
<Tx> - RTI_PollRsp
 PairIndex      = 0x00 (0)
 ProfileId      = 0x00 (0) (GDP)
 MsgDataLength  = 0x00 (0)
--------------------------------------------------------------------
<Rx> - (1): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x01 (1) (ZRC_ACTION_CTRL_TYPE_START)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x21 (33) (RTI_CERC_NUM_1)
 KeyName        = Num 1
 KeyPress       = Key Down
 Data(0x)
 0000:06 01 00 00 21                                  ....!
--------------------------------------------------------------------
<Rx> - (2): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x21 (33) (RTI_CERC_NUM_1)
 KeyName        = Num 1
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 21                                  ....!
--------------------------------------------------------------------
<Rx> - (3): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x21 (33) (RTI_CERC_NUM_1)
 KeyName        = Num 1
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 21                                  ....!
--------------------------------------------------------------------
<Rx> - (4): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x21 (33) (RTI_CERC_NUM_1)
 KeyName        = Num 1
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 21                                  ....!
--------------------------------------------------------------------
<Rx> - (5): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 No Action Record
 Key(s) Coming Up
 KeyName        = Num 1
 KeyPress       = Key Up
 Data(0x)
 0000:06                                              .
--------------------------------------------------------------------
<Rx> - (6): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x01 (1) (ZRC_ACTION_CTRL_TYPE_START)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x22 (34) (RTI_CERC_NUM_2)
 KeyName        = Num 2
 KeyPress       = Key Down
 Data(0x)
 0000:06 01 00 00 22                                  ...."
--------------------------------------------------------------------
<Rx> - (7): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x22 (34) (RTI_CERC_NUM_2)
 KeyName        = Num 2
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 22                                  ...."
--------------------------------------------------------------------
<Rx> - (8): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x22 (34) (RTI_CERC_NUM_2)
 KeyName        = Num 2
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 22                                  ...."
--------------------------------------------------------------------
<Rx> - (9): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x22 (34) (RTI_CERC_NUM_2)
 KeyName        = Num 2
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 22                                  ...."
--------------------------------------------------------------------
<Rx> - (10): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 No Action Record
 Key(s) Coming Up
 KeyName        = Num 2
 KeyPress       = Key Up
 Data(0x)
 0000:06                                              .
--------------------------------------------------------------------
<Rx> - RTI_PollIndReq
 PairIndex      = 0x00 (0)
 Trigger        = 0x01 (1) (GDP_HEARTBEAT_TRIGGER_TIME_BASED)
--------------------------------------------------------------------
<Tx> - RTI_PollRsp
 PairIndex      = 0x00 (0)
 ProfileId      = 0x00 (0) (GDP)
 MsgDataLength  = 0x00 (0)
--------------------------------------------------------------------
<Rx> - (11): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x01 (1) (ZRC_ACTION_CTRL_TYPE_START)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x23 (35) (RTI_CERC_NUM_3)
 KeyName        = Num 3
 KeyPress       = Key Down
 Data(0x)
 0000:06 01 00 00 23                                  ....#
--------------------------------------------------------------------
<Rx> - (12): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x23 (35) (RTI_CERC_NUM_3)
 KeyName        = Num 3
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 23                                  ....#
--------------------------------------------------------------------
<Rx> - (13): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x23 (35) (RTI_CERC_NUM_3)
 KeyName        = Num 3
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 23                                  ....#
--------------------------------------------------------------------
<Rx> - (14): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x23 (35) (RTI_CERC_NUM_3)
 KeyName        = Num 3
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 23                                  ....#
--------------------------------------------------------------------
<Rx> - (15): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 No Action Record
 Key(s) Coming Up
 KeyName        = Num 3
 KeyPress       = Key Up
 Data(0x)
 0000:06                                              .
--------------------------------------------------------------------
<Rx> - (16): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x01 (1) (ZRC_ACTION_CTRL_TYPE_START)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x24 (36) (RTI_CERC_NUM_4)
 KeyName        = Num 4
 KeyPress       = Key Down
 Data(0x)
 0000:06 01 00 00 24                                  ....$
--------------------------------------------------------------------
<Rx> - (17): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x24 (36) (RTI_CERC_NUM_4)
 KeyName        = Num 4
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 24                                  ....$
--------------------------------------------------------------------
<Rx> - (18): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x24 (36) (RTI_CERC_NUM_4)
 KeyName        = Num 4
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 24                                  ....$
--------------------------------------------------------------------
<Rx> - (19): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x24 (36) (RTI_CERC_NUM_4)
 KeyName        = Num 4
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 24                                  ....$
--------------------------------------------------------------------
<Rx> - (20): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 No Action Record
 Key(s) Coming Up
 KeyName        = Num 4
 KeyPress       = Key Up
 Data(0x)
 0000:06                                              .
--------------------------------------------------------------------
<Rx> - (21): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x01 (1) (ZRC_ACTION_CTRL_TYPE_START)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x25 (37) (RTI_CERC_NUM_5)
 KeyName        = Num 5
 KeyPress       = Key Down
 Data(0x)
 0000:06 01 00 00 25                                  ....%
--------------------------------------------------------------------
<Rx> - (22): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x25 (37) (RTI_CERC_NUM_5)
 KeyName        = Num 5
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 25                                  ....%
--------------------------------------------------------------------
<Rx> - (23): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x25 (37) (RTI_CERC_NUM_5)
 KeyName        = Num 5
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 25                                  ....%
--------------------------------------------------------------------
<Rx> - (24): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x25 (37) (RTI_CERC_NUM_5)
 KeyName        = Num 5
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 25                                  ....%
--------------------------------------------------------------------
<Rx> - (25): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 No Action Record
 Key(s) Coming Up
 KeyName        = Num 5
 KeyPress       = Key Up
 Data(0x)
 0000:06                                              .
--------------------------------------------------------------------
<Rx> - (26): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x01 (1) (ZRC_ACTION_CTRL_TYPE_START)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x26 (38) (RTI_CERC_NUM_6)
 KeyName        = Num 6
 KeyPress       = Key Down
 Data(0x)
 0000:06 01 00 00 26                                  ....&
--------------------------------------------------------------------
<Rx> - (27): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x26 (38) (RTI_CERC_NUM_6)
 KeyName        = Num 6
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 26                                  ....&
--------------------------------------------------------------------
<Rx> - (28): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 Action Record
 Control        = 0x02 (2) (ZRC_ACTION_CTRL_TYPE_REPEAT)
 ActPayloadLen  = 0x00 (0)
 ActionBank     = 0x00 (0) (RTI_PROTOCOL_POLL)
 ActionCode     = 0x26 (38) (RTI_CERC_NUM_6)
 KeyName        = Num 6
 KeyPress       = Key Down
 Data(0x)
 0000:06 02 00 00 26                                  ....&
--------------------------------------------------------------------
<Rx> - (29): ReceiveDataInd
 ZrcCmd         = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
 No Action Record
 Key(s) Coming Up
 KeyName        = Num 6
 KeyPress       = Key Up
 Data(0x)
 0000:06                                              .
--------------------------------------------------------------------
<Rx> - RTI_PollIndReq
 PairIndex      = 0x00 (0)
 Trigger        = 0x01 (1) (GDP_HEARTBEAT_TRIGGER_TIME_BASED)
--------------------------------------------------------------------
<Tx> - RTI_PollRsp
 PairIndex      = 0x00 (0)
 ProfileId      = 0x00 (0) (GDP)
 MsgDataLength  = 0x00 (0)
--------------------------------------------------------------------
<Rx> - RTI_PollIndReq
 PairIndex      = 0x00 (0)
 Trigger        = 0x01 (1) (GDP_HEARTBEAT_TRIGGER_TIME_BASED)
--------------------------------------------------------------------
<Tx> - RTI_PollRsp
 PairIndex      = 0x00 (0)
 ProfileId      = 0x00 (0) (GDP)
 MsgDataLength  = 0x00 (0)
--------------------------------------------------------------------
<Rx> - RTI_PollIndReq
 PairIndex      = 0x00 (0)
 Trigger        = 0x01 (1) (GDP_HEARTBEAT_TRIGGER_TIME_BASED)
--------------------------------------------------------------------
<Tx> - RTI_PollRsp
 PairIndex      = 0x00 (0)
 ProfileId      = 0x00 (0) (GDP)
 MsgDataLength  = 0x00 (0)

Thanks.

  • Hi,

    The baudrate is 115200. Please refer to  and  for details about the serial protocol.

  • Thanks for the response, but the baud rate when it is at 9600 i get some data, while on 115200 i get nothing.

    Where can i find the source for this RNP_CC2533F96-Recipient_UART_PORT0_SBL.hex ?

    Or is there any existing example where in i can send serial data to my micro controller in the same setup ?

    Thanks in advance,
    Pravsaieen
  • Hi,

    I assume you got RNP_CC2533F96-Recipient_UART_PORT0_SBL.hex from C:\Texas Instruments\RemoTI-CC253xDK-1.4.0\bin? In that case you have already installed RemoTI-1.4.0, and the source is there. Open the project workspace C:\Texas Instruments\RemoTI-CC253xDK-1.4.0\Projects\RemoTI\RNP\CC253x\rnp_cc2533.eww in IAR 9.20, and you can build the .hex!
  • Note that when you have the CC2533EM connected to the RemoTI Target Board, the TUSB4310 will be driving the UART Rx (Tx from PC) line. If you want to use your own Serial-to-USB you have to physically disconnect the TUSB3410 which is mounted on the bottom of the RemoTI Target Board.

  • In the Remote TI Target board there are pinouts on the side with indication to UARTTx, UARTRx ? These pins cannot be used for serial communication with an external controller ?

    Thanks.

  • Yes I found the source code in that - CC2533F96-Recipient_HEX file. But there is no reference to UART function call in the code.

    And When i put a breakpoint in the code for debugging it throws a stack error.
  • Note that when you have the CC2533EM connected to the RemoTI Target Board, the TUSB4310 will be driving the UART Rx (Tx from PC) line. If you want to use your own Serial-to-USB you have to physically disconnect the TUSB3410 which is mounted on the bottom of the RemoTI Target Board. These lines are the same as the ones labeled UART Rx/TX on J4

  • Hi,

    I removed the  TUSB3410 IC from the board. 

    Before with the IC i used to pair the remote with the board through Target Emulator. Now what should i change in the code (CC2533 recipient_Hex) to pair automatically ?

    And i get a warning for "Could not got to main" warning .. Why is that ?

    Thanks

  • Hi,

    The Target Emulator will call all the required APIs to initialize the RNP, and support pairing. Your initial question was regarding replacing the host with Arduino. Now, since you're not talking to Target Emulator you need to implement the host on the Arduino.

    RNP --> RemoTI Network Processor. A Network Processor requires a host.

    We have open source sample code for a Linux host here: github.com/.../RemoTI-Linux.
  • Hi,

    Thanks for your reply.

    Yes Arduino as host. But the sample code for the linux host seems to be way complex and could not interpret sorry.

    Where do i refer for a microcontroller ? Is there a documentation for initializing the RNP through UART commands ?

    Thanks.
  • Torbjorn Sorby said:

    Note that when you have the CC2533EM connected to the RemoTI Target Board, the TUSB4310 will be driving the UART Rx (Tx from PC) line. If you want to use your own Serial-to-USB you have to physically disconnect the TUSB3410 which is mounted on the bottom of the RemoTI Target Board.

    Hi,

    Like you told i had removed the TUSB3410 from the target board. But when i did that i did not know how to initialize the RNP from the controller. So i put back the TUSB3410 and now i initialize from the target emulator. Then connect the UART lines to the Arduino and now i am getting the data as below :) ( So there was no need for me to physically disconnect the TUSB3410)..

    Now i just need to figure out a way to initialize from the controller (Arduino in this case) and it will be done..

  • Hi Pravsaieen,

    You can always listen to UART Rx from many devices, but you can't have multiple transmitters. So, if you want to move initialization to your Arduino then you will have to disconnect Tx from TUSB3410. However, sure, keep it as it is now to check the UART signals. Target Emulator command log also shows you the details of the APIs that must be called.

  • Hi,

    Yes i am trying to incorporate the same by using the transmitted data as seen from the log on the emulator on the arduino something like this for the transmissions :
    "
    //1
    Serial.write(0xFF);
    Serial.write(0xA0);
    Serial.write(0x01);
    Serial.println("1");
    while(!Serial.available()) delayMicroseconds(1);
    while(Serial.available())
    {
    Serial.print(Serial.read(),HEX);
    Serial.print(" ");
    }
    "

    But i don't get any response from the CC2533. I suppose i need to add some start byte & end byte to it ? Which is not indicated in the log
  • Hi,

    I read the data sent by the emulator through arduino and got the following data, but even if i push the same data through arduino board i am unable to get the RNP initialized . What am i missing ?

    0xFE, 0x04, 0x2A, 0x22, 0xFF, 0xA1, 0x01, 0x0F, 0x5C,
    0xFE, 0x06, 0x2A, 0x22, 0xFF, 0xA4, 0x03, 0x09, 0x00, 0x00, 0x5F,
    0xFE, 0x09, 0x2A, 0x22, 0xFF, 0xA2, 0x06, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA5,
    0xFE, 0x04, 0x2A, 0x22, 0xFF, 0xA3, 0x01, 0x23, 0x72,
    0xFE, 0x05, 0x2A, 0x22, 0xFF, 0xA5, 0x02, 0x01, 0x03, 0x57,
    0xFE, 0x05, 0x2A, 0x22, 0xFF, 0xA8, 0x02, 0x07, 0x00, 0x5F,
    0xFE, 0x0A, 0x2A, 0x22, 0xFF, 0xA9, 0x07, 0x54, 0x49, 0x20, 0x49, 0x6E, 0x63, 0x00, 0x2A,
    0xFE, 0x12, 0x2A, 0x22, 0xFF, 0x6F, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85,
    0xFE, 0x04, 0x2A, 0x22, 0x00, 0xE7, 0x01, 0x04, 0xEE,
    0xFE, 0x04, 0x2A, 0x22, 0x00, 0xE6, 0x01, 0x25, 0xCE,
    0xFE, 0x04, 0x2A, 0x22, 0x00, 0xE5, 0x01, 0x26, 0xCE,
    0xFE, 0x04, 0x2A, 0x22, 0x00, 0xE8, 0x01, 0x01, 0xE4,
    0xFE, 0x07, 0x2A, 0x22, 0x00, 0x81, 0x04, 0x2A, 0x00, 0x00, 0x00, 0xA0,
    0xFE, 0x07, 0x2A, 0x22, 0x03, 0xA1, 0x04, 0xAA, 0x00, 0x00, 0x00, 0x03,
    0xFE, 0x23, 0x2A, 0x22, 0x03, 0xA4, 0x20, 0x01, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA8,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0xA1, 0x01, 0x57,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0xA4, 0x03, 0x50,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0xA2, 0x06, 0x53,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0xA3, 0x01, 0x55,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0xA5, 0x02, 0x50,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0xA8, 0x02, 0x5D,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0xA9, 0x07, 0x59,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0x6F, 0x0F, 0x97,
    0xFE, 0x03, 0x2A, 0x21, 0x00, 0xE7, 0x01, 0xEE,
    0xFE, 0x03, 0x2A, 0x21, 0x00, 0xE6, 0x01, 0xEF,
    0xFE, 0x03, 0x2A, 0x21, 0x00, 0xE5, 0x01, 0xEC,
    0xFE, 0x03, 0x2A, 0x21, 0x00, 0xE8, 0x01, 0xE1,
    0xFE, 0x03, 0x2A, 0x21, 0x00, 0x81, 0x04, 0x8D,
    0xFE, 0x03, 0x2A, 0x21, 0x03, 0xA1, 0x04, 0xAE,
    0xFE, 0x03, 0x2A, 0x21, 0x03, 0xA4, 0x20, 0x8F,
    0xFE, 0x00, 0x2A, 0x03, 0x49,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0x61, 0x01, 0x97,
    0xFE, 0x04, 0x2A, 0x22, 0xFF, 0xA0, 0x01, 0x00, 0x52,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0xB0, 0x01, 0x46,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0x85, 0x02, 0x70,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0x86, 0x02, 0x73,
    0xFE, 0x03, 0x2A, 0x21, 0xFF, 0x61, 0x01, 0x97

    Thanks.

  • Hi Pravsaieen,

    You need to follow this: processors.wiki.ti.com/.../Unified_Network_Processor_Interface. It should help you understand the concepts of Synchronous Requests and Asynchronous Request. In short they reflect APIs with return value and without. All the APIs you call are APIs with return value. You have to wait for response, according to the protocol, before proceeding.

  • Hi,

    Yes i have gone through the document. It does not give any exact duration of wait and i am unable to find the npi_tl_uart_m.c referenced there .
  • In our Linux implementation we time out after 2-6 seconds. Normally it takes less than 2ms.