background image

Status:

0x00:

Success

0x01:

Failed

7.6.7.1. Example: Set a local output GPIO to low

Set the output GPIO (GPIO_ID

0x01

) of the local device to low:

Start signal

Command

Length

Block

1

CS

0x02

0x26

0x03 0x00

0x02

0x01

0x00

0x24

Response:

Start signal

Command | 0x40

Length

Status

Block

1

CS

0x02

0x66

0x04 0x00

0x00

0x02

0x01

0x00

0x63

Successfully set GPIO with GPIO_ID

0x01

to low.

Proteus-e reference manual version 0.3

© November 2021

www.we-online.com/wireless-connectivity

73

Summary of Contents for 2612011024000

Page 1: ...PROTEUS E REFERENCE MANUAL 2612011024000 VERSION 0 3 NOVEMBER 22 2021 ...

Page 2: ...eet and user manual This is especially important for Wireless Connectivity products that were not purchased directly from Würth Elektronik eiSos A firmware update on these respective products may be required We strongly recommend to include in the customer system design the possibility for a firmware update of the product ...

Page 3: ...rsion FW version HW version Notes Date 1 0 1 0 0 1 0 Initial release December 2021 For firmware history see chapter Firmware history Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 1 ...

Page 4: ...s of the module MPS Maximum payload size The maximum size of the payload that can be transmitted received using one Bluetooth LE transaction MTU Maximum transmission unit Maximum packet size of the Bluetooth connection Payload The intended message in a frame package RF Radio frequency Describes wireless transmission RSSI Receive Signal Strength Indicator The RSSI indicates the strength of the RF s...

Page 5: ...odes 27 5 2 Radio module states 27 5 3 State indication using the LED pins 29 5 4 Sleep mode 29 5 5 Identification of a Proteus e device on the radio 29 5 6 Connection based data transmission 30 5 7 Advertising of custom data 32 5 7 1 Restrictions 32 5 7 2 Application of custom advertising and scan response data 32 5 8 Energy efficient distance estimation solutions 32 5 9 Configure the module for ...

Page 6: ...3 7 5 Run the Bluetooth test modes 55 7 5 1 CMD_DTMSTART_REQ 55 7 5 2 CMD_DTM_REQ 55 7 5 2 1 Example Transmission 16 times 0x0F channel 0 57 7 5 2 2 Example Receiver channel 0 58 7 5 2 3 Example Transmission carrier test channel 0 58 7 5 2 4 Example Set TX power to 4 dBm 59 7 5 2 5 Example Set PHY to 2MBit mode 59 7 6 Switching GPIOs by remote control 60 7 6 1 CMD_GPIO_LOCAL_WRITECONFIG_REQ 60 7 6...

Page 7: ...mware version 86 8 2 1 Example 1 86 8 3 FS_MAC Read the MAC address 87 8 3 1 Example 1 87 8 4 FS_BTMAC Read the Bluetooth conform MAC address 88 8 4 1 Example 1 88 8 5 FS_SerialNumber Read the serial number of the module 89 8 5 1 Example 1 89 8 6 RF_DeviceName Modify the device name 90 8 6 1 Example 1 90 8 6 2 Example 2 90 8 7 RF_StaticPasskey Modify the static passkey 92 8 7 1 Example 1 92 8 7 2 ...

Page 8: ...ndex Modify the UART speed 110 8 20 1 Example 1 112 8 20 2 Example 2 112 8 21 CFG_Flags Configure the module 113 8 21 1 Example 1 113 8 21 2 Example 2 113 9 Timing parameters 117 9 1 Reset and sleep 117 9 2 Bluetooth LE timing parameters 117 9 3 Connection establishment 117 9 4 Connection based data transmission 118 9 4 1 Maximum data throughput 118 10 Transparent mode 120 10 1 Reasons to use the ...

Page 9: ... antenna 144 17 2 2 22 pF coupling capacitor using internal antenna 145 17 2 3 22 pF coupling capacitor using external antenna 146 17 3 Antenna fine tuning 147 18 Manufacturing information 148 18 1 Moisture sensitivity level 148 18 2 Soldering 148 18 2 1 Reflow soldering 148 18 2 2 Cleaning 149 18 2 3 Potting and coating 150 18 2 4 Other notations 150 18 3 ESD handling 150 18 4 Safety recommendati...

Page 10: ...164 25 4 Customer support for product specifications 164 25 5 Product improvements 165 25 6 Product life cycle 165 25 7 Property rights 165 25 8 General terms and conditions 165 26 Legal notice 166 26 1 Exclusion of liability 166 26 2 Suitability in customer applications 166 26 3 Trademarks 166 26 4 Usage restriction 166 27 License terms 168 27 1 Limited license 168 27 2 Usage and obligations 168 ...

Page 11: ...d to communicate with external sensors can use security configurations and can be optimized for low power consumption To fulfill the specific requirements of the application a tailored firmware can be developed on the basis of the Proteus e hardware see chapter 13 Ultra small dimensions of 7 x 9 mm including a strongly miniaturized PCB antenna make the Proteus e ideal for small form factor design ...

Page 12: ...ral only mode in Proteus I II and III This mode offers a transparent UART interface such that an easy adaption of already existing custom hardware with the Bluetooth LE interface is enabled Latest microprocessor generation provided by Nordic Semiconductor nRF52 series The heart of the Proteus e is a Bluetooth LE chip of the nRF52 series offering high performance values combined with low power cons...

Page 13: ... RAM ARM Cortex M4 Flash RAM Radio core 2 4GHz Bluetooth 5 1 Radio core 2 4GHz Bluetooth 5 1 50Ω port to λ 4 antenna 50Ω port to λ 4 antenna Antenna Antenna external wiring according to trace design Figure 2 Block diagram of the module 1 3 Ordering information WE order code Description 2612011024000 Proteus e Bluetooth LE Module Tape Reel 2612019024001 Proteus e Evaluation Board Table 1 Ordering i...

Page 14: ...ot function properly for rise times longer than the specified maximum An instable supply voltage may significantly decrease the radio performance and stability 2 2 Absolute maximum ratings Parameter Min Max Unit Supply voltage VDD 0 3 3 9 V Voltage on any digital pin VDD 3 6V 0 3 VDD 0 3 V Voltage on any digital pin VDD 3 6V 0 3 3 9 V Input RF level 10 dBm Flash endurance 10 000 Write erase cycles...

Page 15: ...itter only with DC DC converter from nRF52 data sheet CPU current not included 6 1 mA Full module current consumption 6 8 mA Table 5 Current consumption receiving Parameter Test conditions Value Unit Current consumption Sleep system off mode 0 3 µA Current consumption reduction through CMD_UARTDISABLE_REQ TBD µA Table 6 Current consumption low power Due to the Bluetooth LE time slot operation the ...

Page 16: ... reset over operating temperature range Figure 4 Radio transmitting 4 dBm output power 1 Mbps Bluetooth LE mode Clock HFXO Regulator DC DC typical values Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 14 ...

Page 17: ...this state the module transmits the advertising packets on the three advertising channels Nordic Semiconductor provides an online tool calculating the average current of a Bluetooth connection It can be accessed at https devzone nordicsemi com power Figure 5 Current consumption calculation in advertising mode with 40ms advertising interval with 4 dBm output power UART disabled Proteus e reference ...

Page 18: ...d receive power levels are measured on the evaluation board The values already include losses of transitions from module to motherboard to SMA or modules PCB antenna They are realistic values for the end application Sensitivity in the table above is stated for the common used bit error rate of 0 1 In the table below the sensitivity is stated for a packet error rate of 1 with a payload length of 38...

Page 19: ...e VDD 2 7 V 6 10 15 mA Current at VSS 0 4 V output set low high drive VDD 1 7 V 3 mA Current at VDD 0 4 V output set high standard drive VCC 1 7V 1 2 4 mA Current at VDD 0 4 V output set high high drive VDD 2 7 V 6 9 14 mA Current at VDD 0 4 V output set high high drive VDD 1 7 V 3 mA Internal pull up resistance 11 13 16 kΩ Internal pull down resistance 11 13 16 kΩ Table 11 Pin characteristics Pro...

Page 20: ...WDIO RESET VDD GND GPIO_1 URXD UTXD BUSY LED_1 CTS RTS GPIO_2 MODE_1 1 6 B1 7 10 11 15 B4 GND UART_ENABLE Figure 6 Pinout top view Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 18 ...

Page 21: ...ut CTS signal if flow control is enabled Using internal pull down1 otherwise Do not connect if not needed 11 P0 00 XL12 LED_1 Output Indicates the module state active high Do not connect if not needed 12 P0 01 XL22 BUSY UAR T_ENABLE Input Output Shared pin In Transparent mode see chap ter 10 3 1 this is an output pin that indi cates if the module is busy with data transmis sion In Command mode thi...

Page 22: ...es internal pull up resis tor1 15 P0 20 GPIO_1 GPIO Pin for remote GPIO access Do not connect if not needed B1 GND Supply Ground B2 GND Supply Ground B3 GND Supply Ground B4 GND Supply Ground Table 13 Pinout second part Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 20 ...

Page 23: ... control the module via host 3 UART flow control In case of UART baudrates higher than 115 2 kbaud the UART flow control is activated automatically For lower data rates the flow control is inactive per default If activated the RTS and CTS pins must be connected to the host controller 4 Antenna connection The antenna configuration must be performed See chapter 4 2 5 Reset Connect the RESET pin to t...

Page 24: ... support a fail safe update of firmware A standard socket on the customer s PCB for connecting a flash adapter can be use ful for debugging purposes e g a JTAG 2 10 pin header with 2 54 mm pin to pin distance If the module has to be connected to a PC a converter TTL to RS 232 or TTL to USB has to be used See chapter Pinout for details on all pins Please refer to the Proteus e evaluation board sche...

Page 25: ... that use an external antenna the Proteus e provides a 50 Ω RF signal on pin RF of the module In this configuration pin ANT of the module has to be left open and pin RF has to be connected to the external antenna via 50 Ω feed line The use cases for the integrated antenna are miniaturization and re use of module certifications for the end application An external antenna is normally used to increas...

Page 26: ...ETSTATE_CNF 0x02 41 02 00 01 01 41 to indicate ready for operation after the RESET pin was released Applying a reset e g a host temporarily pulling the RESET pin down for at least 1ms and releasing it again after the VCC is stable will also be sufficient Figure 8 Power up Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 24 ...

Page 27: ...e An indication confirmation or response message is always sent from module to host 1 Power up the module and make its UART accessible by the host 115200 Baud 8n1 After the power up or after reset the following sequence is sent from the module to the host Info Module Response CMD_GETSTATE_CNF Module started in ACTION_IDLE mode 02 41 02 00 01 01 41 2 Request the FS_BTMAC and FS_SerialNumber of the ...

Page 28: ...6C 6F 20 57 6F 72 6C 64 3D Response CMD_SET_CNF Successfully modified the setting 02 51 01 00 00 52 Response CMD_GETSTATE_CNF Module re started in ACTION_IDLE mode 02 41 02 00 01 01 41 Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 26 ...

Page 29: ... the command interface see chapter 7 are permitted to modify the state configure the module or transmit data over the radio interface An overview of the different states and the corresponding allowed commands can be found in Figure 9 When the Proteus e is powered up it starts in ACTION_IDLE state In this state the module advertises such that other devices in range can detect it and connect to it T...

Page 30: ...NNECTIONS_REQ ACTION_SLEEP The module is in sleep mode and waits for a wakeup event Permitted commands None ACTION_DTM The module is in direct test mode Permitted commands CMD_DTM_REQ CMD_RESET_REQ CMD_GETSTATE_REQ Ok Start Reset Wake up event ACTION_CONNECTED The module is connected Now data can be transmitted Permitted commands CMD_RESET_REQ CMD_GETSTATE_REQ CMD_DATA_REQ CMD_DISCONNECT_REQ CMD_G...

Page 31: ...IO_1 and GPIO_2 are set to input without pull resistor during the sleep period The ACTION_SLEEP mode can be entered only if the module is in state ACTION_IDLE that means no peer device is connected via radio To leave the ACTION_SLEEP mode and enter ACTION_IDLE state again the module has to be woken up by a pin reset apply a low signal to the RESET pin for at least 5 ms before releasing the signal ...

Page 32: ...uired security level is not achieved The same holds if the central device places a bonding request with lower security level than required by the peripheral device 3 Exchange of the maximum transmission unit MTU optional The maximum transmission unit can be increased to allow the transmission of larg er data packets The Proteus e allows an MTU of up to 247 bytes which results in a maximum payload ...

Page 33: ...he connection setup For more details about the connection setup and data transmission please refer to application note ANR025 3 Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 31 ...

Page 34: ...several of these restrictions are not respected custom data can not be written to the user settings RF_AdvertisingData and RF_ScanResponseData 5 7 2 Application of custom advertising and scan response data The content of the standard advertising and scan response packet is only cleared if the user setting RF_AdvertisingData contains at least one byte In this case the content of RF_AdvertisingData ...

Page 35: ...wer con sumption slightly 5 10 Start the direct test mode DTM The direct test mode DTM enables the test functions described in Bluetooth Specification The purpose of DTM is to test the operation of the radio at the physical level such as transmission power and receiver sensitivity frequency offset and drift modulation characteristics packet error rate inter modulation performance Conformance tests...

Page 36: ...2 00 10 01 0B Response CMD_DTM_CNF Started test successfully 02 5E 03 00 00 00 00 5F Start the reception test Info Module A Module B Request CMD_DTM_REQ to start the reception test on module B with channel 0 02 1E 04 00 01 00 00 00 19 Response CMD_DTM_CNF Started test successfully 02 5E 03 00 00 00 00 5F Stop both tests again Info Module A Module B Request CMD_DTM_REQ to stop the transmission test...

Page 37: ...the connection has been setup the Proteus e offers the command CMD_PHYUPDATE_REQ As response to this request a CMD_ PHYUPDATE_IND is returned from the Proteus e that gives feedback if the connection was switched to the new phy or if the connection partner rejected the request Please note that the 2 MBit phy is an optional feature of Bluetooth 5 devices and therefore must not be supported by any co...

Page 38: ... individual successive bytes The host must not implement too strict timeouts between two bytes to be able to receive packets that have interruptions in between 6 1 1 Reset behaviour When holding the module s RESET pin LOW the radio chip states are undefined In this case the modules UTXD pin may be pulled LOW by the radio module such that the con nected host controller s UART may detect a 0x00 byte...

Page 39: ...n established Start signal Command Length Payload CS 0x02 1 Byte 2 Byte LSB first Length Bytes 1 Byte Start signal 0x02 1 Byte Command Command byte identifying the command 1 Byte Length Specifies the length of the payload that follows Length is a 16 Bit field with LSB first Payload Variable number of data or parameters defined by the length field Checksum CS Byte wise XOR combination of all preced...

Page 40: ...in specific module s tates see Figure 9 If a command is not permitted in the current state the command confirmation returns Operation not permitted as a response Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 38 ...

Page 41: ... 0x02 No bonding pairing successful encrypted link established 7 1 3 CMD_CHANNELOPEN_RSP This command is sent to the host as soon as connection setup has been completed suc cessfully Now data can be transmitted using the CMD_DATA_REQ Next to the FS_BTMAC of the connected device the maximum payload size MPS that is supported by the link is part of this telegram Format Start signal Command Length St...

Page 42: ...te 1 Byte Reason 0x08 Connection timeout 0x13 User terminated connection 0x16 Host terminated connection 0x3B Connection interval unacceptable 0x3D Connection terminated due to MIC failure Not able to connect due to bad link quality or connection request ignored due to wrong key 0x3E Connection setup failed 7 1 6 CMD_PHYUPDATE_REQ This command allows to update the PHY of the current Bluetooth LE c...

Page 43: ...the BTMAC of the device connected to This command is the result of the CMD_PHYUPDATE_REQ Format in case of success Start signal Command Length Status PHY Rx PHY Tx BTMAC CS 0x02 0x9A 0x09 0x00 0x00 1 Byte 1 Byte 6 Bytes 1 Byte PHY Rx PHY Tx 0x01 Using 1 MBit PHY now 0x02 Using 2 MBit PHY now Format in case of failure Start signal Command Length Status Info CS 0x02 0x9A 0x02 0x00 0x01 1 Byte 1 Byte...

Page 44: ...atabase Start signal Command Length CS 0x02 0x0F 0x00 0x00 0x0D Response Start signal Command 0x40 Length Status Devices Payload CS 0x02 0x4F 0x12 0x00 0x00 0x02 0x00 0x00 0x82 0x5C 0xA7 0xE2 0x87 0xD0 0x01 0x00 0x01 0x00 0x00 0xDA 0x18 0x00 0x53 Two devices have been bonded before Device 1 Bond_ID 0x0000 with FS_BTMAC 0x82 0x5C 0xA7 0xE2 0x87 0xD0 Device 2 Bond_ID 0x0001 with FS_BTMAC 0x01 0x00 0...

Page 45: ...0x4D Successfully removed all bonding information 7 1 9 2 Example 2 Request to remove the bonding of the device corresponding to Bond_ID 0 Start signal Command Length Bond_ID CS 0x02 0x0E 0x02 0x00 0x00 0x00 0x0E Response Start signal Command 0x40 Length Status CS 0x02 0x4E 0x01 0x00 0x00 0x4D Successfully removed the bonding information 7 1 10 CMD_ALLOWUNBONDEDCONNECTIONS_REQ In case the SECFLAGS...

Page 46: ...EDCONNECTIONS_CNF Start signal Command 0x40 Length Status CS 0x02 0x6D 2 Bytes 1 Byte 1 Byte Status 0x00 Request successfully processed 0x01 Operation failed 0xFF Operation not permitted Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 44 ...

Page 47: ...al Command 0x40 Length Status CS 0x02 0x44 2 Bytes Length Bytes 1 Byte Status 0x00 Request received will send data now 0x01 0xXX Operation failed 0xXX maximum payload size if it was exceeded 0xFF Operation not permitted 7 2 2 CMD_TXCOMPLETE_RSP This command is sent to the host as soon as the data which was requested by a CMD_DATA_ REQ has been transmitted Format Start signal Command Length Status ...

Page 48: ...Start signal Command Length BTMAC RSSI Payload CS 0x02 0x84 2 Bytes 6 Bytes 1 Byte Length 7 Bytes 1 Byte Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 46 ...

Page 49: ...tion The modified parameters only take effect after a restart of the module This may be done by a CMD_RESET_REQ if the module does not restart automatically The flash memory used to store these settings has a limited count of write cycles of minimum 10 000 Try to avoid performing periodic CMD_SET_REQ as each command will use one write cycle The validity of the specified parameters is not verified ...

Page 50: ...tted 7 3 1 1 Example 1 Setting the advertising time RF_AdvertisingTimeout to 180 seconds Start signal Command Length Settings index Parameter CS 0x02 0x11 0x03 0x00 0x07 0xB4 0x00 0xA3 Response Start signal Command 0x40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 Setting was set successfully 7 3 1 2 Example 2 Setting the static pass key RF_StaticPasskey to 123456 Start signal Command Length Set...

Page 51: ... CMD_GET_CNF Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 2 Bytes 1 Byte Length 1 Bytes 1 Byte Status 0x00 Request received read out of setting successful 0x01 Operation failed 0xFF Operation not permitted 7 3 2 1 Example 1 Request the current static pass key RF_StaticPasskey Start signal Command Length Settings index CS 0x02 0x10 0x01 0x00 0x12 0x01 Response The current RF_Stati...

Page 52: ...h 2 Bytes 1 Byte Module role 0x00 No role 0x01 Peripheral 0x10 Direct test mode DTM Other Reserved Module action 0x00 No action 0x01 Idle advertising 0x03 Connected More info is the 6 Bytes FS_BTMAC address of the connected device fol lowed by the MPS of the current connection 0x04 Sleep system off mode 0x05 Direct test mode More info is 1 reserved byte 7 4 1 1 Example 1 Get the current state of t...

Page 53: ...nd 0x40 Length Status CS 0x02 0x40 0x01 0x00 1 Byte 1 Byte Status 0x00 Request received will perform reset now 0x01 Operation failed 0xFF Operation not permitted 7 4 3 CMD_SLEEP_REQ This command is used to start the system off mode ACTION_SLEEP For more details see chapter 5 4 Format Start signal Command Length CS 0x02 0x02 0x00 0x00 0x00 Response CMD_SLEEP_CNF Start signal Command 0x40 Length Sta...

Page 54: ...a and GPIO configurations Format Start signal Command Length CS 0x02 0x1C 0x00 0x00 0x1E Response CMD_FACTORYRESET_CNF Start signal Command 0x40 Length Status CS 0x02 0x5C 0x01 0x00 1 Byte 1 Byte Status 0x00 Request received will perform factory reset now 0x01 Operation failed 0xFF Operation not permitted To save the parameters in the flash memory of the module the particular mem ory segment must ...

Page 55: ... Length CS 0x02 0x1B 0x00 0x00 0x19 Response CMD_UARTDISABLE_CNF Start signal Command 0x40 Length Status CS 0x02 0x5B 0x01 0x00 1 Byte 1 Byte Status 0x00 Request received will disable UART now 0x01 Operation failed 0xFF Operation not permitted It is strongly recommended to disable the UART only if it is foreseeable that there will be no UART communication for several seconds Use cases could be dur...

Page 56: ...gnal Command Length Status CS 0x02 0x9B 0x01 0x00 1 Byte 1 Byte Status 0x00 UART has been re enabled successfully Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 54 ...

Page 57: ... 0x5D 0x01 0x00 1 Byte 1 Byte Status 0x00 Request received will enable the direct test mode now 0x01 Operation failed 0xFF Operation not permitted 7 5 2 CMD_DTM_REQ This command starts and stops various test modes To be able to run these test modes the DTM has to be enabled first using the CMD_DTMSTART_REQ After a test has been started it has to be stopped first before a next test can be run The d...

Page 58: ...ttern 0x00 PRBS9 0x01 0x0F 0x02 0x55 Vendor option Vendor command Payload Frequency 2402 Channel 2 MHz to be used for TX 0x00 Carrier test 0x03 Vendor specific TX power 40 up to 4 dBm see chapter 8 14 for valid TX power values 0x02 Set TX power 0x03 Vendor specific 0x03 Stop last test Channel Length Payload 0x00 0x00 0x00 Response CMD_DTM_CNF Start signal Command 0x40 Length Status Result CS 0x02 ...

Page 59: ...es 0x0F Start signal Command Length Command code Channel Vendor option Length Vendor command Payload CS 0x02 0x1E 0x04 0x00 0x02 0x00 0x10 0x01 0x0B Response Start signal Command 0x40 Length Status Result CS 0x02 0x5E 0x03 0x00 0x00 0x00 0x00 0x5F Test started successfully Now stop the test again Start signal Command Length Command code Channel Vendor option Length Vendor command Payload CS 0x02 0...

Page 60: ...top RX test now we can count the received packets from the transmitting module Start signal Command Length Command code Channel Vendor option Length Vendor command Payload CS 0x02 0x1E 0x04 0x00 0x03 0x00 0x00 0x01 0x0B Response Start signal Command 0x40 Length Status Result CS 0x02 0x5E 0x03 0x00 0x00 0x8E 0x67 0xB6 Test stopped successfully and received 0x0E67 3687 packets 7 5 2 3 Example Transm...

Page 61: ...0x1E 0x04 0x00 0x02 0xFC 0x02 0x03 0xE7 Response Start signal Command 0x40 Length Status Result CS 0x02 0x5E 0x03 0x00 0x00 0x00 0x00 0x5F 7 5 2 5 Example Set PHY to 2MBit mode Set the phy to 2MBit mode Start signal Command Length Command code Channel Vendor option Length Vendor command Payload CS 0x02 0x1E 0x04 0x00 0x00 0x02 0x02 0x00 0x18 Response Start signal Command 0x40 Length Status Result ...

Page 62: ...mand will use one write cycle Format Start signal Command Length Block1 Blockn CS 0x02 0x25 2 Bytes x Bytes x Bytes 1 Byte Response CMD_GPIO_LOCAL_WRITECONFIG_CNF Start signal Command 0x40 Length Status Block1 Blockn CS 0x02 0x65 2 Bytes 1 Byte x Bytes x Bytes 1 Byte Status 0x00 Request received and processed 0x01 Operation failed 0xFF Operation not permitted CMD_GPIO_LOCAL_WRITECONFIG_REQ block s...

Page 63: ...us 0x02 1 Byte 1 Byte Length Length of the subsequent bytes in this block GPIO_ID ID of the GPIO see chapter 11 1 Status 0x00 Success 0x01 Failed 7 6 1 1 Example Configure two GPIOs to output high Configure the GPIOs with ID 0x01 and 0x02 to output high Start signal Command Length Block1 Block2 CS 0x02 0x25 0x08 0x00 0x03 0x01 0x02 0x01 0x03 0x02 0x02 0x01 0x2C Response Start signal Command 0x40 L...

Page 64: ...ock has the following format Length GPIO_ID Function Values 1 Byte 1 Byte 1 Byte Length 2 Byte Length Length of the subsequent bytes in this block GPIO_ID ID of the GPIO see chapter 11 1 Function 0x00 GPIO is disconnected 0x01 GPIO works as input 0x02 GPIO works as output Values if Function is disconnected Length is 0x02 Values field is not used in this Block if Function is input Length is 0x03 0x...

Page 65: ...gth CS 0x02 0x2B 0x00 0x00 0x29 Response Start signal Command 0x40 Length Status Blocks CS 0x02 0x6B 0x09 0x00 0x00 0x03 0x01 0x02 0x01 0x03 0x02 0x02 0x01 0x63 The GPIOs with GPIO_ID 0x01 and 0x02 are output high Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 63 ...

Page 66: ...th Block1 Blockn CS 0x02 0x28 2 Bytes x Bytes x Bytes 1 Byte Response CMD_GPIO_REMOTE_WRITECONFIG_CNF Start signal Command 0x40 Length Status Block1 Blockn CS 0x02 0x68 2 Bytes 1 Byte x Bytes x Bytes 1 Byte Status 0x00 Request received and processed 0x01 Operation failed 0xFF Operation not permitted CMD_GPIO_REMOTE_WRITECONFIG_REQ block structure Each Block has the following format Length GPIO_ID ...

Page 67: ...he GPIO see chapter 11 1 Status 0x00 Success 0x01 Failed 0xFF Remote configuration not allowed blocked by the user setting CFG_Flags of the remote device 7 6 3 1 Example Configure two GPIOs of the connected remote device to output high Configure the GPIOs with ID 0x01 and 0x02 to output high Start signal Command Length Block1 Block2 CS 0x02 0x28 0x08 0x00 0x03 0x01 0x02 0x01 0x03 0x02 0x02 0x01 0x...

Page 68: ...Each Block has the following format Length GPIO_ID Function Values 1 Byte 1 Byte 1 Byte Length 2 Byte Length Length of the subsequent bytes in this block GPIO_ID ID of the GPIO see chapter 11 1 Function 0x00 GPIO is disconnected 0x01 GPIO works as input 0x02 GPIO works as output Values if Function is disconnected Length is 0x02 Values field is not used in this Block if Function is input Length is ...

Page 69: ...e device Start signal Command Length CS 0x02 0x2C 0x00 0x00 0x2E Response Start signal Command 0x40 Length Status Blocks CS 0x02 0x6C 0x09 0x00 0x00 0x03 0x01 0x02 0x01 0x03 0x02 0x02 0x01 0x64 The GPIOs with GPIO_ID 0x01 and 0x02 are output high Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 67 ...

Page 70: ...00 Request received and processed 0x01 Operation failed 0xFF Operation not permitted i e no device connected via Bluetooth LE CMD_GPIO_REMOTE_WRITE_REQ block structure Each Block has the following format Length GPIO_ID Value 0x02 1 Byte 1 Byte Length Length of the subsequent bytes in this block GPIO_ID ID of the GPIO see chapter 11 1 Value if Function is output 0x00 Set GPIO to LOW 0x01 Set GPIO t...

Page 71: ...device to low Start signal Command Length Block1 CS 0x02 0x29 0x03 0x00 0x02 0x01 0x00 0x2B Response Start signal Command 0x40 Length Status Block1 CS 0x02 0x69 0x04 0x00 0x00 0x02 0x01 0x00 0x6C Successfully set GPIO with GPIO_ID 0x01 to low Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 69 ...

Page 72: ...sed 0x01 Operation failed 0xFF Operation not permitted i e no device connected via Bluetooth LE CMD_GPIO_REMOTE_READ_REQ block structure Each Block has the following format Length GPIO_ID1 GPIO_IDn 1 Bytes 1 Byte 1 Byte Length Length of the subsequent bytes in this block GPIO_ID ID of the GPIO see chapter 11 1 CMD_GPIO_REMOTE_READ_CNF block structure Each Block has the following format Length GPIO...

Page 73: ...k1 CS 0x02 0x2A 0x03 0x00 0x02 0x01 0x02 0x2A Response Start signal Command 0x40 Length Status Block1 Block2 CS 0x02 0x6A 0x07 0x00 0x00 0x02 0x01 0x00 0x02 0x02 0x01 0x6D Successfully read the values of the remote GPIOs with GPIO_ID 0x01 GPIO is low and 0x02 GPIO is high Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 71 ...

Page 74: ...cessed 0x01 Operation failed 0xFF Operation not permitted i e no device connected via Bluetooth LE CMD_GPIO_LOCAL_WRITE_REQ block structure Each Block has the following format Length GPIO_ID Value 0x02 1 Byte 1 Byte Length Length of the subsequent bytes in this block GPIO_ID ID of the GPIO see chapter 11 1 Value if Function is output 0x00 Set GPIO to LOW 0x01 Set GPIO to HIGH CMD_GPIO_LOCAL_WRITE_...

Page 75: ... to low Start signal Command Length Block1 CS 0x02 0x26 0x03 0x00 0x02 0x01 0x00 0x24 Response Start signal Command 0x40 Length Status Block1 CS 0x02 0x66 0x04 0x00 0x00 0x02 0x01 0x00 0x63 Successfully set GPIO with GPIO_ID 0x01 to low Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 73 ...

Page 76: ...xFF Operation not permitted i e no device connected via Bluetooth LE CMD_GPIO_LOCAL_READ_REQ block structure Each Block has the following format Length GPIO_ID1 GPIO_IDn 1 Bytes 1 Byte 1 Byte Length Length of the subsequent bytes in this block GPIO_ID ID of the GPIO see chapter 11 1 CMD_GPIO_LOCAL_READ_CNF block structure Each Block has the following format Length GPIO_ID Value 0x02 1 Byte 1 Byte ...

Page 77: ...0x02 0x27 0x03 0x00 0x02 0x01 0x02 0x27 Response Start signal Command 0x40 Length Status Block1 Block2 CS 0x02 0x67 0x07 0x00 0x00 0x02 0x01 0x00 0x02 0x02 0x01 0x60 Successfully read the values of the local GPIOs with GPIO_ID 0x01 GPIO is low and 0x02 GPIO is high Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 75 ...

Page 78: ...lock1 Blockn CS 0x02 0xA8 2 Bytes x Bytes x Bytes 1 Byte The Block structure is as defined in CMD_GPIO_REMOTE_WRITECONFIG_REQ block structure 7 6 9 1 Example Two GPIOs have been configured by the connected remote device to output high Start signal Command Length Block1 Block2 CS 0x02 0xA8 0x08 0x00 0x03 0x01 0x02 0x01 0x03 0x02 0x02 0x01 A1 The two GPIOs with ID 0x01 and 0x02 have been configured ...

Page 79: ... Command Length Block1 Blockn CS 0x02 0xA9 2 Bytes x Bytes x Bytes 1 Byte The Block structure is as defined in CMD_GPIO_LOCAL_READ_CNF block structure 7 6 10 1 Example GPIOs have been written via remote access Start signal Command Length Status Block1 Block2 CS 0x02 0xA9 0x07 0x00 0x00 0x02 0x01 0x00 0x02 0x02 0x01 0xAE The remote device has written the GPIOs with GPIO_ID 0x01 GPIO is low and 0x02...

Page 80: ...lockn CS 0x02 0xA6 2 Bytes x Bytes x Bytes 1 Byte The Block is of structure as defined in CMD_GPIO_LOCAL_READ_CNF block structure 7 6 11 1 Example GPIOs of the remote device have been written by its local host Start signal Command Length Status Block1 Block2 CS 0x02 0xA6 0x07 0x00 0x00 0x02 0x01 0x00 0x02 0x02 0x01 0xA1 The GPIOs with GPIO_ID 0x01 GPIO is low and 0x02 GPIO is high of the radio mod...

Page 81: ...mand Length Status CS 0x02 0xA2 0x01 0x00 1 Byte 1 Byte Status 0x01 UART_COMMUNICATION_ERROR The UART had a buffer overflow Thus UART TX and RX was aborted and UART has restarted Please restart module if UART is still malfunctioning Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 79 ...

Page 82: ...x02 0x0F CMD_GETBONDS_REQ Read the MACs of bonded devices 7 1 8 0x02 0x10 CMD_GET_REQ Read the module settings in flash 7 3 2 0x02 0x11 CMD_SET_REQ Modify the module settings in flash 7 3 1 0x02 0x1A CMD_PHYUPDATE_REQ Update the PHY 7 1 6 0x02 0x1B CMD_UARTDISABLE_REQ Disable the UART 7 4 6 0x02 0x1C CMD_FACTORYRESET_REQ Perform a factory reset 7 4 5 0x02 0x1D CMD_DTMSTART_REQ Enable the direct te...

Page 83: ...mote control 7 6 3 0x02 0x29 CMD_GPIO_REMOTE_WRITE_REQ Set the output value of a output GPIO of a remote device 7 6 5 0x02 0x2A CMD_GPIO_REMOTE_READ_REQ Read the value of a GPIO of a remote device 7 6 6 0x02 0x2B CMD_GPIO_LOCAL_READCONFIG_REQ Read the GPIO configuration 7 6 2 0x02 0x2C CMD_GPIO_REMOTE_READCONFIG_ REQ Read the GPIO configuration of the connected remote device 7 6 4 0x02 0x2D CMD_AL...

Page 84: ...ART_CNF Enable the direct test mode now 7 5 1 0x02 0x5E CMD_DTM_CNF Test of direct test mode started stopped 7 5 2 0x02 0x65 CMD_GPIO_LOCAL_WRITECONFIG_ CNF Configuration of a local GPIO for remote control done 7 6 1 0x02 0x66 CMD_GPIO_LOCAL_WRITE_CNF Output value of a local GPIO set 7 6 7 0x02 0x67 CMD_GPIO_LOCAL_READ_CNF Value of a local GPIO read 7 6 8 0x02 0x68 CMD_GPIO_REMOTE_WRITECONFIG_ CNF...

Page 85: ...ART was re enabled 7 4 7 0x02 0xA2 CMD_ERROR_IND Entered error state 7 7 1 0x02 0xA6 CMD_GPIO_LOCAL_WRITE_IND Local host has written the GPIOs of the remote device 7 6 11 0x02 0xA8 CMD_GPIO_REMOTE_WRITECONFIG_ IND Remote device has configured the GPIOs of the module 7 6 9 0x02 0xA9 CMD_GPIO_REMOTE_WRITE_IND Remote device has written the GPIOs of the module 7 6 10 0x02 0xC4 CMD_TXCOMPLETE_RSP Data ...

Page 86: ... modification of the non volatile parameters a reset will be necessary for the changes to be applied 8 1 FS_DeviceInfo Read the chip type and OS version Settings index Designation Permissible values Default value Permissions Number of Bytes 15 FS_DeviceInfo read 12 This setting contains information about the chip type and the OS version The value of FS_DeviceInfo is composed of the following 4 sub...

Page 87: ...ly read out the device info with Byte order changed to MSB first OS version 0x0126 Softdevice S112 7 3 0 Build code 0x41414300 AAC0 Package variant 0x2005 WLCSP Chip ID 0x00052805 Please note that LSB is transmitted first in case of parameters with more than 1 Byte length Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 0x0D 0x00 0x00 0x26 0x01 0x30 0x43 0x41 0x41 0x05 0x20 0x05 0x28...

Page 88: ... module using CMD_GET_REQ with settings index 1 Start signal Command Length Settings index CS 0x02 0x10 0x01 0x00 0x01 0x12 Response CMD_GET_CNF Successfully read out the firmware version for this example it is 0x000001 so 1 0 0 with the parameter reverted to MSB first Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 0x04 0x00 0x00 0x00 0x00 0x01 0x57 Proteus e reference manual versi...

Page 89: ...e module using CMD_GET_REQ with settings index 3 Start signal Command Length Settings index CS 0x02 0x10 0x01 0x00 0x03 0x10 Response CMD_GET_CNF Successfully read out the MAC address 0x55 0x93 0x19 0x6E 0x5B 0x87 0x01 0x38 Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 0x09 0x00 0x00 0x55 0x93 0x19 0x6E 0x5B 0x87 0x01 0x38 0x0F Proteus e reference manual version 0 3 November 2021 ...

Page 90: ...mber of the module Please note that LSB is transmitted first in all commands 8 4 1 Example 1 Request the Bluetooth conform MAC address of the module using CMD_GET_REQ with set tings index 4 Start signal Command Length Settings index CS 0x02 0x10 0x01 0x00 0x04 0x17 Response CMD_GET_CNF Successfully read out the Bluetooth LE conform MAC address 0x11 0x00 0x00 0xDA 0x18 0x00 Start signal Command 0x4...

Page 91: ...xample 1 Request the serial number of the module using CMD_GET_REQ with settings index 16 Start signal Command Length Settings index CS 0x02 0x10 0x01 0x00 0x10 0x03 Response CMD_GET_CNF Successfully read out the serial number it is 0 0 11 Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 0x04 0x00 0x00 0x11 0x00 0x00 0x57 Proteus e reference manual version 0 3 November 2021 www we on...

Page 92: ...nger device names will be shortened to 26 Bytes and declared as Shortened Local Name in the advertising packet The full device name is included in the GAP In case the device name is not changed from default value it is attached by the ASCII serial number of the module 8 6 1 Example 1 Set the device name of the module to 0x4D 0x4F 0x44 0x20 0x31 MOD 1 using CMD_ SET_REQ with settings index 2 Start ...

Page 93: ...e CMD_GET_CNF Successfully read out the module as 0x41 0x32 0x37 0x32 0x31 A2721 Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 0x06 0x00 0x00 0x41 0x32 0x37 0x32 0x31 0x13 Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 91 ...

Page 94: ...e module to 0x31 0x32 0x33 0x34 0x35 0x36 123456 using CMD_SET_REQ with settings index 18 Start signal Command Length Settings index Parameter CS 0x02 0x11 0x07 0x00 0x12 0x31 0x32 0x33 0x34 0x35 0x36 0x01 Response CMD_SET_CNF Successfully modified the setting Start signal Command 0x40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 8 7 2 Example 2 Request the static pass key of the module using CM...

Page 95: ... 1 2 Each time a connection is established new random keys are exchanged in advance to use them for data encryption This mode uses the just works method 0x3 Static pass key level 1 3 For authentication the RF_StaticPasskey is used If the peripheral uses this method the central device must enter the correct passkey to finalize the connection others Reserved 3 SECFLAGS_BONDING_ENABLE If this Bit is ...

Page 96: ...40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 8 8 2 Example 2 Request the security flags of the module using CMD_GET_REQ with settings index 12 Start signal Command Length Settings index CS 0x02 0x10 0x01 0x00 0x0C 0x1F Response CMD_GET_CNF Successfully read out the value 2 which means that the just works pairing mode is enabled Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 0x...

Page 97: ... the raw data is compliant to the Bluetooth specification 1 chapter 11 ADVERTISING AND SCAN RESPONSE DATA FORMAT Other wise it can result in malfunctioning 8 9 1 Example 1 Set the data of the scan response packet to TX power is 4 0x02 0x0A 0x04 using CMD_SET_REQ with settings index 14 Start signal Command Length Settings index Parameter CS 0x02 0x11 0x04 0x00 0x0E 0x02 0x0A 0x04 0x15 Response CMD_...

Page 98: ...Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 0x04 0x00 0x00 0x02 0x0A 0x04 0x5A Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 96 ...

Page 99: ...er setting Please ensure that the raw data is compliant to the Bluetooth specification 1 chapter 11 ADVERTISING AND SCAN RESPONSE DATA FORMAT Other wise it can result in malfunctioning 8 10 1 Example 1 Set the data of the advertising packet to full device name is Hello 0x06 0x09 0x48 0x65 0x6C 0x6C 0x6F TX power is 4 0x02 0x0A 0x04 using CMD_SET_REQ with settings index 13 Start signal Command Leng...

Page 100: ...ntent as full device name is Hello 0x06 0x09 0x48 0x65 0x6C 0x6C 0x6F TX power is 4 0x02 0x0A 0x04 Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 0x0B 0x00 0x00 0x06 0x09 0x48 0x65 0x6C 0x6C 0x6F 0x02 0x0A 0x04 0x18 Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 98 ...

Page 101: ...uency of advertising packets 8 11 1 Example 1 Set the advertising timeout parameter to 0x00 0xB4 180s using CMD_SET_REQ with settings index 7 Start signal Command Length Settings index Parameter CS 0x02 0x11 0x03 0x00 0x07 0xB4 0x00 0xA3 Response CMD_SET_CNF Successfully modified the setting Start signal Command 0x40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 8 11 2 Example 2 Request the adver...

Page 102: ...ted earlier but also needs more power 8 12 1 Example 1 Set the advertising interval to 100 ms using CMD_SET_REQ with settings index 9 Start signal Command Length Settings index Parameter CS 0x02 0x11 0x03 0x00 0x09 0x64 0x00 0x7D Response CMD_SET_CNF Successfully modified the setting Start signal Command 0x40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 8 12 2 Example 2 Request the advertising i...

Page 103: ...ction setup and data transmission The lower the connection interval is the more frequently the connected devices communicate with each other and thus the more power is consumed If a Bluetooth LE device e g a smart phone connects as central to a Proteus e module peripheral and the connection interval settings do not coincide the Proteus e requests the smart phone to accept its settings after 5 s If...

Page 104: ...quest the minimum and maximum connection interval of the module using CMD_GET_REQ with settings index 8 Start signal Command Length Settings index CS 0x02 0x10 0x01 0x00 0x08 0x1B Response CMD_GET_CNF Successfully read out the value 20 75 ms 0x0014 0x004B Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 0x05 0x00 0x00 0x14 0x00 0x4B 0x00 0x08 Proteus e reference manual version 0 3 No...

Page 105: ...r value the radio chip provides The radio signal will be damped on its way along the RF path and the antenna For maximum output signal at the RF pin or integrated antenna please refer to the chapter Radio characteristics 8 14 1 Example 1 Set the output power of the module to 8 dBm which is 0xF8 in two s complement notation using CMD_SET_REQ with settings index 17 Start signal Command Length Settin...

Page 106: ...0x00 0x11 0x02 Response CMD_GET_CNF Successfully read out the value 0x04 4dBm Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 0x02 0x00 0x00 0x04 0x54 Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 104 ...

Page 107: ...0x11 0x00 0x1A 0xE0 0xE1 0xE2 0xE3 0xE4 0xE5 0xE6 0xE7 0xE8 0xE9 0xEA 0xEB 0xEC 0xED 0xEE 0xEF 0x18 Response CMD_SET_CNF Successfully modified the setting Start signal Command 0x40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 8 15 2 Example 2 Request the base UUID of the module using CMD_GET_REQ Start signal Command Length Settings index CS 0x02 0x10 0x01 0x00 0x1A 0x09 Response CMD_GET_CNF Succ...

Page 108: ...sing CMD_SET_REQ with settings index 32 Start signal Command Length Settings index Parameter CS 0x02 0x11 0x03 0x00 0x20 0x22 0x11 0x03 Response CMD_SET_CNF Successfully modified the setting Start signal Command 0x40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 8 16 2 Example 2 Request the service UUID of the module using CMD_GET_REQ Start signal Command Length Settings index CS 0x02 0x10 0x01 0...

Page 109: ...XUUID 8 17 1 Example 1 Set the RX UUID to 0x1122 using CMD_SET_REQ with settings index 33 Start signal Command Length Settings index Parameter CS 0x02 0x11 0x03 0x00 0x21 0x22 0x11 0x02 Response CMD_SET_CNF Successfully modified the setting Start signal Command 0x40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 8 17 2 Example 2 Request the service UUID of the module using CMD_GET_REQ Start signal...

Page 110: ...UUID 8 18 1 Example 1 Set the TX UUID to 0x1122 using CMD_SET_REQ with settings index 34 Start signal Command Length Settings index Parameter CS 0x02 0x11 0x03 0x00 0x22 0x22 0x11 0x01 Response CMD_SET_CNF Successfully modified the setting Start signal Command 0x40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 8 18 2 Example 2 Request the service UUID of the module using CMD_GET_REQ Start signal ...

Page 111: ...x0080 using CMD_SET_REQ with settings in dex 25 Start signal Command Length Settings index Parameter CS 0x02 0x11 0x03 0x00 0x19 0x80 0x00 0x89 Response CMD_SET_CNF Successfully modified the setting Start signal Command 0x40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 8 19 2 Example 2 Request the RF_Appearance using CMD_GET_REQ Start signal Command Length Settings index CS 0x02 0x10 0x01 0x00 0...

Page 112: ...e 3 2400 2396 yes none 4 4800 4808 no none 5 4800 4808 yes none 6 9600 9598 no none 7 9600 9598 yes none 8 14400 14414 no none 9 14400 14414 yes none 10 19200 19208 no none 11 19200 19208 yes none 12 28800 28829 no none 13 28800 28829 yes none 14 38400 38462 no none 15 38400 38462 yes none 16 56000 55944 no none 17 56000 55944 yes none 18 57600 57762 no none 19 57600 57762 yes none 20 76800 76923 ...

Page 113: ...2 yes even 80 56000 55944 no even 81 56000 55944 yes even 82 57600 57762 no even 83 57600 57762 yes even 84 76800 76923 no even 85 76800 76923 yes even 86 115200 115942 no even 87 115200 115942 yes even 89 230400 231884 yes even 91 250000 250000 yes even 93 460800 470588 yes even 95 921600 941176 yes even 97 1000000 1000000 yes even After changing the baud rate using the CMD_SET_REQ the module res...

Page 114: ...F 0x05 Response CMD_SET_CNF Successfully modified the setting Start signal Command 0x40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 8 20 2 Example 2 Request the baud rate index of the module using CMD_GET_REQ with settings index 11 Start signal Command Length Settings index CS 0x02 0x10 0x01 0x00 0x0B 0x18 Response CMD_GET_CNF Successfully read out the value 0x16 which equals 115200 Baud withou...

Page 115: ...onnection parameters 5 15 Reserved Reserved 8 21 1 Example 1 Block the GPIO configuration via remote and enable the DCDC access using CMD_SET_REQ with settings index 28 Start signal Command Length Settings index Parameter CS 0x02 0x11 0x03 0x00 0x1C 0x0C 0x00 0x00 Response CMD_SET_CNF Successfully modified the setting Start signal Command 0x40 Length Status CS 0x02 0x51 0x01 0x00 0x00 0x52 8 21 2 ...

Page 116: ...Start signal Command 0x40 Length Status Parameter CS 0x02 0x50 0x03 0x00 0x00 0x00 0x00 0x51 Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 114 ...

Page 117: ..._ AdvertisingInterval Advertising interval 20 10240 40 read write 2 11 UART_ConfigIndex Baud rate of the UART See de scription 22 read write 1 12 RF_SecFlags Security settings of the module See de scription 0 read write 1 13 RF_AdvertisingData Custom advertising packet data See de scription read write 31 14 RF_ ScanResponseData Custom scan response packet data See de scription read write 31 15 FS_...

Page 118: ...ion See de scrip tion read write 16 28 CFG_Flags CFG Flags See de scription 24 read write 2 32 RF_SPPServiceUUID Service UUID of the SPP like profile See de scription 0x0001 read write 2 33 RF_SPPRXUUID RX UUID of the SPP like profile See de scription 0x0002 read write 2 34 RF_SPPTXUUID TX UUID of the SPP like profile See de scription 0x0003 read write 2 Table 22 Table of settings Part 2 Proteus e...

Page 119: ...vertising packet has been received the central sends a connection request to the chosen peripheral The time needed to receive this advertising packet strongly depends on the advertising interval see RF_AdvertisingInterval of the peripheral as well as on the scan interval and scan window of the central Connection parameter negotiation After the connection request has been sent the central and perip...

Page 120: ...D_DATA_REQ CMD_DATA_CNF CMD_TXCOMPLETE_RSP CMD_DATA_IND Host TX Proteus TX Proteus TX Host TX Proteus RX Host RX Host TX Proteus TX Host RX Proteus RX t6 1 2 t0 t1 t2 t3 t4 t5 Figure 11 Command sequence when transmitting data 9 4 1 Maximum data throughput The following table contains the measured maximum throughput values for user payload The test setup is as follows A Proteus e radio module and a...

Page 121: ...Table 23 Maximum throughput timings packet error rate 0 Please note that data transmission to from smart devices typically do not achieve this speed due to latency caused by the smart device and it s soft ware and apps or even missing hardware features such as Bluetooth LE 5 1 full feature support Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 119 ...

Page 122: ...parent mode 10 1 Reasons to use the transparent mode The Proteus e transparent mode equips custom applications with a Bluetooth LE interface to be accessible by other Bluetooth LE devices without installation effort Due to the transparent UART interface data can be exchanged without additional headers In addi tion to that the transparent mode allows an energy efficient operation of the Bluetooth L...

Page 123: ...s payload per Bluetooth LE packet and connection interval as given by the Bluetooth 4 0 standard is used compatibility mode to Bluetooth LE 4 0 devices The pin BUSY can be used as a kind of flow control for the data transmission during the transparent mode By default the pin level is LOW As soon as the 20ms timeout was detected or too much data was received via UART the pin switches to HIGH and da...

Page 124: ...Radio module OR Host controller RTS BUSY CTS Figure 13 Handling the RTS and BUSY pin Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 122 ...

Page 125: ...nfiguration can be also read out using the respective commands CMD_GPIO_LOCAL_ READCONFIG_REQ via local host or CMD_GPIO_REMOTE_READCONFIG_REQ via remote device If the configuration has been done the configured GPIOs can be controlled by the local host controller or by any remote device To control a GPIO via local host controller just send the respective commands CMD_GPIO_ LOCAL_WRITE_REQ for sett...

Page 126: ...Module 1 Host 1 Module 2 Host 2 CMD_GPIO_REMOTE_WRITECONFIG_CNF CMD_GPIO_REMOTE_WRITECONFIG_REQ CMD_GPIO_REMOTE_WRITECONFIG_CNF CMD_GPIO_REMOTE_WRITECONFIG_REQ GPIO 1 0 Wire Radio CMD_GPIO_REMOTE_WRITECONFIG_IND Figure 15 Configure the local GPIOs via remote device host Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 124 ...

Page 127: ...s via local host Module 1 Host 1 Module 2 Host 2 CMD_GPIO_REMOTE_READCONFIG_CNF CMD_GPIO_REMOTE_READCONFIG_REQ CMD_GPIO_REMOTE_READCONFIG_CNF CMD_GPIO_REMOTE_READCONFIG_REQ GPIO 1 0 Wire Radio Figure 17 Read the configuration of the local GPIOs via remote device host Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 125 ...

Page 128: ...O_LOCAL_WRITE_CNF Figure 18 Set the output value of a GPIO via host controller Module 1 Host 1 Module 2 Host 2 GPIO 1 0 CMD_GPIO_LOCAL_READ_REQ Wire Radio CMD_GPIO_LOCAL_READ_CNF Figure 19 Read the input value of a GPIO via host controller Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 126 ...

Page 129: ...RITE_IND Figure 20 Set the output value of a GPIO via remote device Module 1 Host 1 Module 2 Host 2 CMD_GPIO_REMOTE_READ_CNF CMD_GPIO_REMOTE_READ_REQ CMD_GPIO_REMOTE_READ_CNF CMD_GPIO_REMOTE_READ_REQ GPIO 1 0 Wire Radio Figure 21 Read the input value of a GPIO via remote device Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 127 ...

Page 130: ...ccess ANT RF SWDCLK SWDIO RESET VDD GND GPIO_1 URXD UTXD BUSY LED_1 CTS RTS GPIO_2 MODE_1 1 6 B1 7 10 11 15 B4 GND UART_ENABLE Pin GPIO_ID Supported functions GPIO_1 1 Input Output GPIO_2 2 Input Output Table 24 Supported GPIO_IDs Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 128 ...

Page 131: ..._SPPServiceUUID 0x0001 16 Bit RF_SPPRXUUID 0x0002 16 Bit RF_SPPTXUUID 0x0003 Table 25 UUID default values Using these user settings the UUIDs of all characteristics calculate as the base UUID where byte 2 and 3 are replaced by the underlying service or characteristic UUID Example With the above mentioned default values the full UUIDs calculate as Direction Characteristic 128 Bit UUID Primary servi...

Page 132: ...ule will perform data generation e g by reading a SPI or I2 C sensor and cyclic trans mission of this data to a data collector while sleeping or being passive most of the time Also replacing UART with SPI as host communication interface is classified such a custom specific option Certification critical changes need to be re evaluated by an external qualified measurement laboratory These critical c...

Page 133: ...re requests Please contact your local field sales engineer FSE or wireless sales we online com for quotes regarding this topics Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 131 ...

Page 134: ... serial wire debug and programming interface SWD for module flash access This interface can be used by customers to erase the entire chip and install their own firmware This interface is not intended to perform updates of Proteus e firmware Production firmware images and binary files for Würth Elektronik eiSos wireless connec tivity modules are not publicly available in general Customers performin...

Page 135: ...15 Firmware history Version 1 0 0 Release First production release Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 133 ...

Page 136: ... IC should be considered particulary if one of the following points is relevant The slew rate of the power supply exceeds the electrical specifications The effect of different current consumptions on the voltage level of bat teries or voltage regulators should be considered The module draws higher currents in certain scenarios like start up or radio transmit which may lead to a voltage drop on the...

Page 137: ...board On the second layer a ground plane is recommended to provide good grounding and shielding to any following layers and application environment In case of integrated antennas it is required to have areas free from ground This area should be copied from the evaluation board The area with the integrated antenna must overlap with the carrier board and should not protrude as it is matched to sitti...

Page 138: ...d areas Figure 23 Placement of the module with integrated antenna 16 2 Dimensioning of the micro strip antenna line The antenna track has to be designed as a 50Ω feed line The width W for a micro strip can Figure 24 Dimensioning the antenna feed line as micro strip be calculated using the following equation W 1 25 5 98 H e 50 r 1 41 87 Tmet 1 Proteus e reference manual version 0 3 November 2021 ww...

Page 139: ...through a metal plate e g metal housing cabinet As a rule of thumb a minimum distance of λ 10 which is 3 5 cm 868 MHz and 1 2 cm 2 44 GHz from the antenna to any other metal should be kept Metal placed further away will not directly influence the behaviour of the antenna but will anyway produce shadowing Keep the antenna away from large metal objects as far as possible to avoid electromagnetic fie...

Page 140: ...rmance be achieved 16 3 3 PCB antenna PCB antenna designs can be very different The special attention can be on the miniaturiza tion or on the performance The benefits of the PCB antenna are their small not existing if PCB space is available costs however the evaluation of a PCB antenna holds more risk of failure than the use of a finished antenna Most PCB antenna designs are a compromise of range...

Page 141: ...50 VSWR 2 1 Polarization Linear Radiation Omni Directional Peak Gain dBi 2 8 Average Gain dBi 0 6 Efficiency 85 Dimensions L x d mm 83 1 x 10 Weight g 7 4 Connector SMA plug Operating temp C 40 80 Special care must be taken for FCC certification when using this external antenna to fulfil the requirement of permanently attached antenna or unique coupling for example by using the certified dipole an...

Page 142: ...ation board serves as reference design When reusing Würth Elektronik eiSos FCC or IC certification it is mandatory to follow the trace design Complete layout and schematic information can be found in the manual of the Proteus e evaluation board Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 140 ...

Page 143: ...DM 9 USBDP 8 RESET 11 3V3OUT 10 GND EP GND 5 ID 4 D 3 D 2 VBUS 1 SHIELD SHELL 4 CON1 P3 1 2 3 4 5 6 P4 1 2 3 4 5 6 TP1 TP2 TP3 TP4 TP5 TP6 TP9 TP10 TP11 TP12 TP13 TP14 TP16 TP17 TP18 TP19 TP7 TP8 LED1 R7 LED2 R1 R2 R6 R11 5 1 2 3 2 2 D3 D1 P2 1 2 3 4 R12 R13 P1 610X2221121 1 3 5 7 9 11 2 4 6 8 10 12 13 14 15 16 17 18 19 20 21 22 VDD VDD P0 14 P0 14 RXD_FTDI RXD_FTDI GND GND 5V0 5V0 D D D D 3V3_OUT...

Page 144: ...2 Layout 1 no metal antenna NO METAL 12 5mm NO METAL 12 5mm 1 4 3 2 PCB edge Figure 27 Reference design Layout Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 142 ...

Page 145: ...ternal antenna is also be used A 22 pF capacitor connecting RF pin to the external precertified dipola antenna Hi malia 5 chapter 16 3 4 1 This configuration suits best if size and price is less critical but radio range should be optimized The trace designs use the same layer stack up Figure 28 Stack up Top layer is used for routing filled with ground plane except the area under the module and the...

Page 146: ... short is a 50 Ω coplanar strip connecting RF and ANT pin Figures 29 and 30 show this in detail Figure 29 Simple short schematic Figure 30 Simple short layout Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 144 ...

Page 147: ... capacitor is used at C9 connecting RF and ANT pin C6 C7 C8 and C10 are left unassembled Figures 31 and 32 show this in detail Figure 31 Capacitor internal antenna schematic Figure 32 Capacitor internal antenna layout Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 145 ...

Page 148: ...xternal antenna schematic Figure 34 Capacitor external antenna layout To fullfill 15 203 of FCC the manufacturer of the end device must ensure that no antenna other than that furnished by the responsible party shall be used with the device The use of a permanently attached antenna or an antenna that uses a unique coupling to the end device shall be considered sufficient to comply Proteus e referen...

Page 149: ... plane there might be some detuning of the antenna Adjusting might be done by measuring the resulting antenna impedance and using corre sponding values for C7 C9 and C10 see Figure 31 This fine tuning is violating the trace design A radio spot check measurement for the end device is needed Using the trace desing option 17 2 2 as implemented on the evaluation board gives the possibility to either f...

Page 150: ... to JEDEC J STD020 Profile feature Value Preheat temperature Min TS Min 150 C Preheat temperature Max TS Max 200 C Preheat time from TS Min to TS Max tS 60 120 seconds Ramp up rate TL to TP 3 C second max Liquidous temperature TL 217 C Time tL maintained above TL tL 60 150 seconds Peak package body temperature TP see table below Time within 5 C of actual peak temperature tP 20 30 seconds Ramp down...

Page 151: ...a Max Ramp Up Rate Max Ramp Down Rate Figure 35 Reflow soldering profile After reflow soldering visually inspect the board to confirm proper alignment 18 2 2 Cleaning Do not clean the product Any residue cannot be easily removed by washing Use a no clean soldering paste and do not clean the board after soldering Do not clean the product with water Capillary effects can draw water into the gap betw...

Page 152: ... pad to the host PCB even if some are unused to improve the mechanical strength of the module The part is sensitive to ultrasonic waves as such do not use ultrasonic cleaning weld ing or other processing Any ultrasonic processing will void the warranty 18 3 ESD handling This product is highly sensitive to electrostatic discharge ESD As such always use prop er ESD precautions when handling Make sur...

Page 153: ... as applicable environmental regulations Disassem bling the product is not allowed Evidence of tampering will void the warranty Compliance with the instructions in the product manual is recommended for correct product set up The product must be provided with a consolidated voltage source The wiring must meet all applicable fire and security prevention standards Handle with care Avoid touching the ...

Page 154: ...sensitive WLCSP package is used This package is sensitive to visible and near infrared light As the chip is not completely shielded on the sides any mounting without enclosure could lead to malfunction This should be taken into account when designing an enclosure for the end device Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 152 ...

Page 155: ...e drawing 3 6 2 0 0 3 1 6 B4 7 10 11 15 B1 1 2 9 0 9 0 0 2 6 0 4 8 1 2 0 7 q 7 0 0 2 Figure 36 Module dimensions mm Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 153 ...

Page 156: ... the antenna the recommended free area around the antenna should be maintained As rule of thumb a minimum distance of metal parts to the antenna of λ 10 should be kept see figure 37 Even though metal parts would influence the characteristic of the antenna but the direct influence and matching keep an acceptable level Proteus e reference manual version 0 3 November 2021 www we online com wireless c...

Page 157: ...4 V12 2 122 4 Date code 4 digits 1703 week 03 in year 2017 1816 week 16 in year 2018 5 Firmware version 3 digits V3 2 302 V5 13 513 Table 30 Lot number details As the user can perform a firmware update the printed lot number only shows the factory delivery state The currently installed firmware can be requested from the module using the corresponding product specific command The firmware version a...

Page 158: ...ts represent the 6 digit number followed by the product ID 2 or 3 digits Some labels indicate the product ID with a as marker in between the 2 fields The PID and the 6 digit number form together a unique serial number for any wireless connectivity product In case of small labels the 3 byte manufacturer identifier 0x0018DA of the MAC address is not printed on the labels The 3 byte counter printed o...

Page 159: ...used The maximum output power of the module is 5 dBm for radio pad The total amount of capacitance of all capacitors is 6 8 µF The total amount of inductance of all inductors is 10 009 µH A DC DC regulator is included in the chip set and used to obtain low power functionality Proteus e reference manual version 0 3 November 2021 www we online com wireless connectivity 157 ...

Page 160: ... http www we online com ANR027 5 Würth Elektronik Himalia https www we online com catalog en WIRL_ACCE_ 2600130021 6 Würth Elektronik Wireless Connectivity SDK for Raspberry Pi Radio module drivers in C code https github com WurthElektronik WirelessConnectivity SDK 7 Würth Elektronik Wireless Connectivity SDK for STM32 Radio module drivers in C code https github com WurthElektronik WirelessConnect...

Page 161: ...G must be qualified by the SIG to obtain the corresponding Declaration ID Due to the qualification of the Proteus e as end product no further Bluetooth tests are re quired The only arising expenses are those for purchasing a Bluetooth Declaration ID To obtain the Bluetooth listing of the end device please refer to the application note AN R027 4 Proteus e reference manual version 0 3 November 2021 ...

Page 162: ...orward referred to as final products It is the responsibility of the manufacturer of the final product to ensure that the final product is in compliance with the essential requirements of the underlying national radio regulations The conformity assessment of the subassembly Proteus e carried out by Würth Elektronik eiSos does not replace the required conformity assessment of the final product 24 4...

Page 163: ...ouillage et 2 l utilisateur de l appareil doit accepter tout brouillage radioélectrique subi même si le brouillage est susceptible d en compromettre le fonctionnement 24 7 FCC and IC requirements to OEM integrators This module has been granted modular approval OEM integrators for host products may use the module in their final products without additional FCC IC Industry Canada certifica tion if th...

Page 164: ...inal product such as a battery cover is not permitted The label must include the following text Contains FCC ID R7T1201102 The enclosed device complies with Part 15 of the FCC Rules Operation is subject to the following two conditions i this device may not cause harmful interference and ii this device must accept any interference received including interference that may cause undesired operation W...

Page 165: ... is called change in ID for FCC and multiple listing for ISED Test houses with corresponding accreditation can provide the service for this process It is also possible to make an application by oneself to a Telecommunication Certification Body Usually following documentations are needed A permission letter signed by Würth Elektronik eiSos allowing the change in ID An application letter stating tha...

Page 166: ...the current state of the art even if the products are operated within the range of the specifications The same statement is valid for all software sourcecode and firmware parts contained in or used with or for products in the wireless connectivity and sensor product range of Würth Elektronik eiSos GmbH Co KG In certain customer applications requiring a high level of safety and especially in custom...

Page 167: ... it needs to be verified with the field sales engineer or the internal sales person in charge about the current product availability expectancy before or when the product for application design in disposal is con sidered The approach named above does not apply in the case of individual agreements deviating from the foregoing for customer specific products 25 7 Property rights All the rights for co...

Page 168: ...os GmbH Co KG products are integrated with applicable legal regulations Customer acknowledges and agrees that it is solely responsible for compliance with all le gal regulatory and safety related requirements concerning its products and any use of Würth Elektronik eiSos GmbH Co KG components in its applications notwithstanding any applications related in formation or support that may be provided b...

Page 169: ... public information network etc Würth Elektronik eiSos GmbH Co KG must be informed about the intent of such usage before the design in stage In addition sufficient reliability evaluation checks for safety must be performed on every electronic component which is used in electrical circuits that require high safety and reliability function or perfor mance By using Würth Elektronik eiSos GmbH Co KG p...

Page 170: ...engineer decompile disassemble or create derivative works of the incorporated Software and the source code in whole or in part No more extensive rights to use and exploit the products are granted to you 27 2 Usage and obligations The responsibility for the applicability and use of the Würth Elektronik eiSos wireless con nectivity product with the incorporated Firmware in a particular customer desi...

Page 171: ...firmware in the latest version of the product manual on our website The revision table in the product manual provides all necessary information about firmware updates There is no right to be provided with binary files so called Firmware images those could be flashed through JTAG SWD Spi Bi Wire SPI or similar interfaces 27 5 Disclaimer of warranty THE FIRMWARE IS PROVIDED AS IS YOU ACKNOWLEDGE THA...

Page 172: ...ining provisions of the terms The parties shall replace any such provisions with new valid provisions that most closely approximate the purpose of the terms 27 9 Miscellaneous Würth Elektronik eiSos reserves the right at any time to change this terms at its own discre tion It is your responsibility to check at Würth Elektronik eiSos homepage for any updates Your continued usage of the products wil...

Page 173: ...put value of a GPIO via host controller 126 19 Read the input value of a GPIO via host controller 126 20 Set the output value of a GPIO via remote device 127 21 Read the input value of a GPIO via remote device 127 22 Layout example Layout of the corresponding evaluation board is published in the evaluaton board manual 135 23 Placement of the module with integrated antenna 136 24 Dimensioning the a...

Page 174: ...mations 82 18 Message overview Indications 83 19 nRF52805 IC revision overview 85 20 Security configuration flags 93 21 Table of settings Part 1 115 22 Table of settings Part 2 116 23 Maximum throughput timings packet error rate 0 119 24 Supported GPIO_IDs 128 25 UUID default values 129 26 Classification reflow soldering profile Note refer to IPC JEDEC J STD 020E 148 27 Package classification refl...

Page 175: ...en i crc bufP i return crc Code 1 Example CRC8 Implementation A 2 CRC8 Test Vectors Input data Data length Resulting CRC8 Null 0 0x00 0x02 0x01 0x00 0x00 4 0x03 0x02 0x87 0x01 0x00 0x16 5 0x92 0x02 0x04 0x04 0x00 0x41 0x42 0x43 0x44 8 0x06 0x02 0x88 0x07 0x00 0x00 0x55 0x00 0x00 0xDA 0x18 0x00 11 0x1A Table 31 CRC8 Test Vectors Proteus e reference manual version 0 3 November 2021 www we online com...

Page 176: ...t16_t length fill request message with STX command byte and length field CMD_Frame_t CMD_Frame CMD_Frame Stx CMD_STX 0x02 CMD_Frame Cmd ProteusIII_CMD_DATA_REQ 0x04 CMD_Frame Length length fill request message with user payload memcpy CMD_Frame Data PayloadP length fill request message with CRC8 CMD_Frame Data CMD_Frame Length Get_CRC8 CMD_Frame CMD_Frame Length CMD_OFFSET_TO_DATAFIELD transmit fu...

Reviews: