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 External MCU ..................
MDBT42Q-P192K. Please visit our website for spec sheet of every module mentioned above. 1.1. Contents of the Set Each set includes MDBT42Q-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 MDBT42Q-AT BLE module based on nRF52810. 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
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 Set LED pattern indicating advertising or connecting status 7 sets of UART baud rates Enable/disable UART flow control Enable/disable interface of UART hardware...
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 (37) AT+SERIALNOnnnnnnnn e.g. AB000001, fixed 8-character length Disable response when sending “write” command (38) AT+RESPONSEDIS Enable response when sending “write” command (39) AT+RESPONSEEN (40) AT+DISCONNECT Terminate the connection (41) AT+DEFAULT Back to default Set GPIO number p0.nn to high, (42) AT+SETGPIOnnHIGH where “nn”...
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...
5. How to Control External MCU 5.1. How to Send AT Commands ⚫ When BT is NOT connected (for all commands) Output low to P0.10 (UART PD pin) to enable UART interface. Please keep it enabling 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 P0.10 (UART PD pin) to enable UART interface. Please keep it enabling during the whole time when transmitting data. Output high or NC to P0.10 (UART PD pin) to turn off UART interface. 5.3.
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 means “Data Length” and means “Data Interval” in the table. Here D.L. D.I. ⚫ MCU → Peripheral (MDBT42Q-AT/MDBT42Q-PAT) → Central → Console Central Peripheral Baud Flow MCU D.L. MCU D.I. Total D.L. Total Data Rate Connection Interval Connection Interval Rate Control...
Page 19
⚫ MCU → Central → Peripheral (MDBT42Q-AT/MDBT42Q-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.
History of Firmware Revision Compatible Release Description of Revision Note Ver. HW Build Date 2018/04/24 release. 99-52810-02A 2018/06/01 UI changes: 99-52810-02B - Add battery service. - Add ”AT?ADCVALUE” to get ADC value in BLE connecting status. - Add ”AT+DISCONNECT” to terminate the connection. - If response enabled, ”AT+”...
Page 22
Compatible Release Description of Revision Note Ver. HW Build Date 2018/10/22 (continued) 99-52810-02D - AT?CONNECTINTERVALTIME - AT+SETGPIOnnHIGH - AT+SETGPIOnnLOW - AT+SETGPIOnnOFF Modify detection for ADC value. Add function of setting MAC address by the user.
⚫ 2018/10/30 Version B (1) Change model no. to “MDBT42Q-AT-UART-S”. (2) Update Chapter 4: AT Command, Chapter 5: How to Control External MCU and Chapter 6: Test Report to match new FW revision 1.3. See History of Firmware Revision for more details.
Need help?
Do you have a question about the MDBT42Q-AT-UART-S and is the answer not in the manual?
Questions and answers