Index Introduction ........................3 1.1. Contents of the Set ....................3 Hardware Description ....................4 Reference Circuit ......................6 AT Command ......................... 7 4.1. List of supported commands ................. 7 4.2. AT Command Sets ....................8 4.3. Default Info ......................14 How to Control via External MCU ................
MDBT42TV-P192K. Please visit our website for spec sheet of every module mentioned above. 1.1. Contents of the Set Each set includes MDBT42TV-AT-UART-S x 1 and mini-USB cable x 1. Please contact us if the set you receive is not complete.
2. Hardware Description MDBT42TV-AT BLE module based on nRF52805. 32.768KHz crystal for external LF. 10uH & 15nH inductor for DC-to-DC mode. Interface to connect to external MCU. ADC input for battery detection only. Reference voltage is 0.6V. Example: 1 formula: Input Voltage × = Reference Voltage 1 +2 →...
Page 5
Wake-up key. Debug interface, connecting to Nordic’s nRF5X DK. Important: Please be careful not to “erase” the module during testing. Raytac’s AT command firmware will not be shared. You may need to send the unit to us for re-programming when module’s FW is erased.
4. AT Command 4.1. List of supported commands Setting of device name Choose data rate of 1Mbps or 2Mbps on-air Set TX output power in 5 levels. Set advertising time Set connection interval under Mode 2 Enable/disable advertising 7 sets of UART baud rates Enable/disable UART flow control Enable/disable interface of UART hardware Power-down mode for power saving and GPIO wake-up...
4.2. AT Command Sets 4.2.1. “Write” Commands Command Description Set device name,Max. length of 20 characters AT+NAME e.g. AT+NAME123 (device name 123, 3 characters) AT+RESET Set to reset system AT+ADVSTART Set to start advertising AT+ADVSTOP Set to stop advertising AT+SLEEP Set to get into deep sleep mode AT+BAUDRATE9600 Set UART baud rate at 9600 bps,n,8,1...
Page 9
Command Description (25) AT+PHYMODE2MBPS Set PHY mode at 2Mbps (26) AT+WAKEUPLOW Set logic low at wake-up when in deep sleep (27) AT+WAKEUPHIGH Set logic high at wake-up when in deep sleep Set advertising time (Hex) e.g. 0x001E (min. 30secs), (28) AT+ADVTIMEtttt 0x0E10 (Max.
Page 10
Command Description Set serial number (35) AT+SERIALNOnnnnnnnn e.g. AB000001, fixed 8-character length Disable response when sending “write” command (36) AT+RESPONSEDIS Enable response when sending “write” command (37) AT+RESPONSEEN (38) AT+DISCONNECT Terminate the connection (39) AT+DEFAULT Back to default Set IC MAC address, where n is Hex. AT+MACADDRnnnnnnnnnnnn (40) Written order is from MSB byte to LSB byte.
Page 11
4.2.2. “Read” Commands Command Description AT?NAME To retrieve device name AT?VERSION To retrieve firmware version AT?MACADDR To retrieve IC MAC address AT?BAUDRATE To retrieve current UART baud rate AT?FLOWCONTROL To retrieve UART status of flow control AT?TXPOWER To retrieve RF TX power AT?XTAL To retrieve status of oscillator AT?CONNECTINDICATOR...
Page 13
Command Response Display “ no data! ” string (default) (14) AT?SERIALNO (15) AT?ADCVALUE Value varies from input voltage 1 response en (default) (16) AT?RESPONSE (0 = disable response; 1 = enable response) (17) AT?ALLPARAMETERS Display value of all parameters, separated by "0x0d0x0a" 006400C8 (default: Hex, 100ms min.
5. How to Control via External MCU 5.1. How to Send AT Commands ⚫ When BT is NOT connected, for ALL commands Output low to UART PD pin to enable UART interface. Please keep it low during the whole time when sending AT commands. Send any AT commands you want.
5.2. How to Transmit Data * Only when BT is connected * Output low to UART PD pin to enable UART interface. Please keep it low during the whole time when transmitting data. Output high or NC to UART PD pin to turn off UART interface.
6. Test Report All testing is done under PHY mode at 1M bps. 6.1. Current Test DC/DC Logic of UART PD pin Advertising Current Connected Current High 0.85 mA 0.3 mA Disable 1.56 mA 1 mA High 0.45 mA 0.16 mA Enable 0.95 mA 0.68 mA...
6.2. Throughput Test Here D.L. means “Data Length” and D.I. means “Data Interval” in the table. ⚫ MCU → Peripheral (MDBT42TV-AT/MDBT42TV-PAT) → Central → Console MCU D.L. MCU D.I. Total Central Peripheral Baud Flow Total D.L. Data Rate (bytes) (ms) Tras.
Page 19
⚫ MCU → Central → Peripheral (MDBT42TV-AT/MDBT42TV-PAT) → Console Central Peripheral Baud Flow MCU D.L. MCU D.I. Total D.L. Total Data Rate Connection Interval Connection Interval Rate Control (bytes) (ms) (bytes) Trans. Time (sec) (k-bytes/sec) 262152 min = 20ms min = 20ms 9600 999432 1,042...
Useful Links ⚫ Nordic Infocenter: https://infocenter.nordicsemi.com/index.jsp All the necessary technical files and software development kits of Nordic’s chip are on this website. Nordic Developer Zone: https://devzone.nordicsemi.com/questions/ ⚫ A highly recommended website for firmware developer. Interact with other developers and Nordic’s employees will help with your questions. The site also includes tutorials in detail to help you get started.