background image

 

 

RC232

 User Manual 

RC12xx 

RC11xx(HP)-RC232 

RC2500(HP)-RC232 

RC17XX(HP)-RC232 

 

 

 

Содержание RC11**-RC232 Series

Страница 1: ...RC232 User Manual RC12xx RC11xx HP RC232 RC2500 HP RC232 RC17XX HP RC232 ...

Страница 2: ... 1 SLEEP_MODE 0X00 11 4 2 SLEEP_MODE 0X02 11 4 3 POWER CYCLING 12 5 ENCRYPTION AND DECRYPTION RC17XXHP ONLY 13 5 1 ENABLING ENCRYPTION AND DECRYPTION 13 APPENDIX A CONFIGURATION COMMAND DETAILS 14 APPENDIX B CONFIGURATION MEMORY 19 APPENDIX C CONFIGURATION MEMORY DEFAULTS 25 DOCUMENT REVISION HISTORY 31 Table of Tables Table 1 RC232 Feature Sets Overview 3 Table 2 Configuration Commands overview 6...

Страница 3: ... the module as normal in packet mode In some cases you need to reset the module for the changes to take effect Details about sending and receiving packet data is found in chapter 2 3 How do I transmit data Send your data to the RXD pin on the module when the module is in normal mode not CONFIG mode How do I receive data Any received RF data packet addressed to the receiving module will be output o...

Страница 4: ...1024 128 4 byte addressing option No Yes Yes No Encryption No No No Yes LED Control No Yes Yes Yes Serial number No No No Yes The maximum packet length is depending on both the data buffer length addressing mode and whether CRC is enabled or not An overview of the command set used to configure the modules are found in chapter 2 2 and the commands are further described in Appendix A 1 3 Optional cu...

Страница 5: ...e the addition of RSSI CRC and start stop bytes can be changed in the configuration mode When the module receives a packet with correct destination address over RF it will send the packet over the UART interface on the TXD line When the host MCU wants to transmit a packet over the RF it must send the packet through the UART interface on the RXD line Figure 2 RC232 point to point Link The addressin...

Страница 6: ...ule responds with the prompt character again indicating it is ready for a new command Do not send a new command before the prompt is received The time required to execute a command can vary depending on the command see the Timing Information section There is no prompt after the X exit command The parameters that are set by dedicated configuration commands C P and so on take immediate effect after ...

Страница 7: ...dio 2 3 UART Interface Send and receive messages The module acts as a buffered packet radio hence all data to be sent is stored in the module before they are transmitted by the RF circuitry It is possible to configure different send criterias for the data stream PACKET_LENGTH will initiate the radio to send when the specified number of bytes are received PACKET_END_CHARACTER will initiate the radi...

Страница 8: ...ike during RF data transmission or reception the CTS pin will be de asserted high to stop any data transfer to the module RTS pin Ready to send When RTS is asserted low the host allow data to be sent from the module to the host The host can stop the module from sending data by de asserting high the RTS signal Note that if the module has data waiting in the receive buffer it will not be able to rec...

Страница 9: ...DE 0x02 DID is 1 byte and DID1 is used If ADDRESS_MODE 0x08 DID is 4 byte and DID 4 1 is used BROADCAST_ID BID This is default set to 255 0xFF All devices within a broadcast group must have the same BID ADDRESS_MODE The ADDRESS_MODE parameter controls how the system uses the SID UID DID and BID to control the communcation ADDRESS_MODE 0x00 means addressing is off All modules that hear the message ...

Страница 10: ...2 USER MANUAL Broadcast mode If a broadcast is to be made set the destination address to the BROADCAST_ID By default the BROADCAST_ID is 0xFF decimal 255 but this can be changed in the configuration Remember that the BROADCAST_ID cannot be the same as any UNIQUE_ID ...

Страница 11: ...Page 10 of 32 2019 Radiocrafts AS RC232 User Manual ver 2 01 RC232 USER MANUAL 3 Timing The timing information varies between module families and can be found in their respective datasheets ...

Страница 12: ... If SLEEP_MODE 0x00 you can enter the low current SLEEP mode by sending the Z command while in config mode and still keeping the CONFIG pin low Exit SLEEP by releasing the config pin as shown in the diagram below CONFIG UART Command Z MODE IDLE CONFIG SLEEP IDLE Note During SLEEP the CONFIG pin does not have any internal pull up so the CONFIG pin must be driven high in order to wake the module Any...

Страница 13: ... and RAM values are retained during SLEEP 4 3 Power cycling All configuration settings in nonvolatile memory is restored but values in RAM are overwritten with default settings It is not recommended to turn off the module as an alternative to using SLEEP mode The combination of very low SLEEP current and fast startup gives a lower overall current consumption For RC12xx please see the datasheet ...

Страница 14: ...uccessful link The encryption method used is AES 128 CTR mode Using the counter mode means that any packet length can be encrypted without the use of filler bytes Both the Initialization Vector Initial Counter Block and the Encryption Key are fixed AES uses a symmetric key That is the same Encryption Key is used for both encryption and decryption Also the Initialization Vector must be the same The...

Страница 15: ...Multiple pairs of Address Data can be sent before you send the 0xFF command to exit Memory configuration mode Argument Options Returns Address See Table 4 for overview of configuration parameters available none Data Configuration Parameter value none Address optional none Data optional none Exit 0xFF Prompt Caution The M command is writing to NVM flash and this operation must not be interrupted by...

Страница 16: ...l strength is given by typ P RSSI 2 dBm The instantaneous RSSI can be read using the S command This reading has a delay due to the settling time of the receiver T 0x54 Destination Address This command is used to set the destination address It will set 1 byte or 4 bytes depending on ADDRESS_MODE configuration parameter It will output a prompt character after each byte sent in so if sending in 4 byt...

Страница 17: ...itoring The VCC value increases with increased supply voltage in 30 mV step The power supply voltage is given by V VCC dec 0 030 V example VCC 0x68 equals 3 12 V X 0x58 Exit This command exits configuration mode and sets module back in idle mode ready to send receive data packets Argument Options Returns none none none Y 0x59 Memory Read One Byte Argument Options Returns Address See Table 4 for ov...

Страница 18: ...M also has a limited number of writecycles 10000x and we therefore strongly recommend that you do not use the RC command in field only when configuring and testing your module as development or as part of your production test RR 0x40 0x52 0x52 Reset This command will reset the module It has the same effect as pulling the reset pin low Argument Options Returns none none none At the same time as you...

Страница 19: ...Returns none none Prompt the TX frequency is calibrated Note It is important to enter Test mode 3 before exiting the configuration mode X in order to ensure proper operation in normal mode Note Test mode 4 must be used between Test modes 1 and 2 3 0x33 RX mode TX off Argument Options Returns none none Prompt 4 0x34 IDLE Radio OFF Argument Options Returns none none Prompt ...

Страница 20: ...quencies See Data sheet RF_POWER 0x01 See Data sheet Default RF output power See data sheet for output power levels See Data sheet RF_DATA_RATE 0x02 See Data sheet RF data rate See Data sheet for details See Data sheet SLEEP_MODE 0x04 0x00 or 0x02 Configure how to enter SLEEP mode 0 0x00 Use Z command from CONFIG to enter and exit SLEEP 2 0x02 Use RTS SLEEP pin to enter and exit SLEEP 0x00 RSSI_MO...

Страница 21: ...0 0x00 Disabled 1 0x01 32ms 2 0x02 48 ms 3 0x03 64 ms 124 0x7C 2s default 249 0xF9 4s None means packet timeout is disabled not 0 s Use packet length or end character instead Timeout value is PACKET_TIMOEOUT x 16 ms 0 16 ms min max 0xFE 254 is max giving 4 080 sec 0x7C PACKET_END_ CHARACTER 0x11 Packet end character 0 0x00 None default 10 0x0A LF 13 0x0D CR 90 0x5A Z 0x00 MAC_MODE 0x13 0 0x00 Tran...

Страница 22: ...available in RC12xx and RC17xx ADDRESS_MODE 2 UID UID1 SID SID1 DID DID1 BID BID ADDRESS_MODE 8 UID UID4 UID3 UID2 UID1 SID SID4 SID3 SID2 SID1 DID DID4 DID3 DID2 DID1 BID BID BID BID BID CRC_MODE 0x15 CRC_MODE 0 0x00 None 2 0x02 CRC16 default UID1 0x19 0x00 0xFE Unique ID 1 0x01 UID2 0x1B Unique ID 2 0x01 UID3 0x1D Unique ID 3 0x01 UID4 0x1F Unique ID 4 0x01 SID1 0x1A 0x00 0xFE System ID 1 0x01 S...

Страница 23: ...6 0x06 19200 28800 7 0x07 N A 38400 8 0x08 N A 57600 9 0x09 N A 76800 10 0x0A N A 115200 11 0x0B N A 230400 0x05 RC12xx 0x06 UART_FLOW_ CONTROL 0x35 UART flow control 0 0x00 None 1 0x01 CTS only 3 0x03 CTS RTS 4 0x04 RXTX RS485 0x00 DATA_INTERFACE 0x36 When transparent mode is selected for MAC_MODE use synchronous interface 0 0x00 UART using RXD and TXD 1 0x01 Synchronous interface SDA SCL using R...

Страница 24: ...flecting both hardware and firmware variant Module series Start Stop RC12xx 0x3C 0x3F RC11xx RC11xxHP 0x3C 0x3F 0x41 RC2500 RC2500HP 0x3C 0x3F 0x41 RC17xx RC17xxHP 0x89 0x94 0x96 RC11xxRC232 RC17xxHP RC232 and so on HW_REV_NO See table in comm ents Minimum required HW version to run this FW Format X YZ Addr 0x6E X Addr 0x6F Addr 0x70 Y Addr 0x71 Z Example Minimum HW 3 00 Addr 0x6E 0x6F 0x70 0x71 H...

Страница 25: ...version Format X YZ Addr 0x73 X Addr 0x74 Addr 0x75 Y Addr 0x76 Z Example FW 1 34 Addr 0x73 0x74 0x75 0x76 Hex 0x31 0x2E 0x33 0x34 ASCII 1 3 4 Module series Start Stop RC12xx 0x48 0x4B RC11xx RC11xxHP 0x4E 0x50 0x51 0x53 RC2500 RC2500HP 0x4E 0x50 0x51 0x53 RC17xx RC17xxHP 0x9B 0x9D 0x9E 0xA0 SERIAL_NUMBER 0xA9 0xB0 8 bytes reserved for serial number for traceability The number is programmed by Rad...

Страница 26: ...0 00 00 0x30 06 08 00 01 05 00 00 01 0x38 2B 00 01 00 52 43 31 32 PART_NUMBER 0x40 XX XX 2C 32 2E 36 30 2C HW_REV_NO 0x48 32 2E 33 34 41 20 20 20 FW_REV_NO 0x50 00 FF FF FF FF FF FF FF 0x58 FF FF FF FF FF FF FF FF 0x60 FF FF FF FF FF FF FF FF 0x68 FF FF FF FF FF FF FF FF 0x70 FF FF FF FF FF FF FF FF 0x78 FF FF FF FF FF FF FF FF 0x80 7D 8F 8B 8E 83 8D 49 87 RC1210 0x0A RC1230 0x11 RC1240 0x36 RC124...

Страница 27: ...60 FF FF FF FF FF FF FF FF 0x68 FF FF FF FF FF FF FF FF 0x70 FF FF FF FF FF FF FF FF 0x78 FF FF FF FF FF FF FF FF RC1190 0x01 RC1190 0x03 RC11xxHP RC232 HW 2 00 FW 1 34 0x00 0D 05 03 01 00 00 64 00 0x08 05 3C 00 D3 91 DA 00 80 0x10 7C 00 02 01 02 02 00 00 0x18 00 01 01 01 01 01 01 01 0x20 01 01 01 01 01 00 00 04 0x28 FF 08 00 00 00 00 00 00 0x30 05 08 00 01 05 00 00 01 0x38 2B 00 00 00 52 43 31 31...

Страница 28: ...FF FF FF FF FF FF FF FF 0x60 FF FF FF FF FF FF FF FF 0x68 FF FF FF FF FF FF FF FF 0x70 FF FF FF FF FF FF FF FF 0x78 FF FF FF FF FF FF FF FF RC2500HP RC232 HW 1 00 FW 1 34 0x00 28 05 03 01 00 00 64 00 0x08 05 3C 00 D3 91 DA 00 80 0x10 7C 00 02 01 02 02 00 00 0x18 00 01 01 01 01 01 01 01 0x20 01 01 01 01 01 00 00 04 0x28 FF 08 00 00 00 00 00 00 0x30 05 08 00 01 05 00 00 01 0x38 2B 00 00 00 52 43 32 ...

Страница 29: ... 00 00 00 00 0x60 93 93 93 93 73 03 5E 03 0x68 0D 07 06 07 10 10 10 10 0x70 0E 0E 0E 0E 10 10 10 10 0x78 01 00 00 00 09 9A 8C 9A 0x80 3A B0 A0 B0 30 2F 2E 2C 0x88 00 52 43 31 37 XX XX 48 PART_NUMBER 0x90 50 2D 52 43 32 33 32 2C 0x98 31 2E 31 30 2C 31 2E 30 HW_REV_NO 0xA0 37 20 20 20 20 20 20 20 FW_REV_NO 0xA8 20 00 00 00 00 00 00 00 SERIAL_NUMBER 0xB0 00 FF FF FF FF FF FF FF 0xB8 FF FF FF FF FF FF...

Страница 30: ...00 00 0x60 93 93 93 93 73 03 5E 03 0x68 0D 07 06 07 10 10 10 10 0x70 0E 0E 0E 0E 10 10 10 10 0x78 01 00 00 00 09 9A 8C 9A 0x80 3A B0 A0 B0 30 2F 2E 2C 0x88 00 52 43 31 37 XX 30 48 PART_NUMBER 0x90 50 2D 52 43 32 33 32 2C 0x98 32 2E 30 30 2C 31 2E 30 HW_REV_NO 0xA0 37 20 20 20 20 20 20 20 FW_REV_NO 0xA8 20 00 00 00 00 00 00 00 SERIAL_NUMBER 0xB0 00 FF FF FF FF FF FF FF 0xB8 FF FF FF FF FF FF FF FF ...

Страница 31: ...00 00 00 00 0x60 93 93 93 93 73 03 5E 03 0x68 0D 07 06 07 10 10 10 10 0x70 0E 0E 0E 0E 10 10 10 10 0x78 01 00 00 00 09 9A 8C 9A 0x80 3A B0 A0 B0 30 2F 2E 2C 0x88 00 52 43 31 37 34 30 2D PART_NUMBER 0x90 52 43 32 33 32 2C 31 2E 0x98 30 30 2C 31 2E 30 37 20 HW_REV_NO 0xA0 20 20 20 20 20 20 20 20 FW_REV_NO 0xA8 20 00 00 00 00 00 00 00 SERIAL_NUMBER 0xB0 00 FF FF FF FF FF FF FF 0xB8 FF FF FF FF FF FF ...

Страница 32: ...ser Manual ver 2 01 RC232 USER MANUAL Document Revision History Document Revision Changes 1 0 First release 2 0 Rewritten to new company standard 2 01 Removed timing information to avoid redundancy as this information is present in datasheets ...

Страница 33: ... point to multipoint and peer to peer network topologies All other trademarks registered trademarks and product names are the sole property of their respective owners Life Support Policy This Radiocrafts product is not designed for use in life support appliances devices or other systems where malfunction can reasonably be expected to result in significant personal injury to the user or as a critic...

Отзывы: