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.2.1. “Write” Commands ....................8 4.2.2.
MDBT42Q-P192KV2. Please visit our website for spec sheet of every module mentioned above. 1.1. Contents of the Set Each set includes MDBT42Q-AT2-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-AT2 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+BAUDRATE9600 Set UART baud rate at 9600 bps,n,8,1 AT+BAUDRATE19200 Set UART baud rate at 19200 bps,n,8,1 AT+BAUDRATE38400 Set UART baud rate at 38400 bps,n,8,1 AT+BAUDRATE57600...
Page 9
Command Description Set advertising time (Hex) e.g. 0x001E (min. 30secs), (24) AT+ADVTIMEtttt 0x0E10 (Max. 3,600secs) 0x0000 (forever) (25) AT+DCDCDIS Disable DC to DC converter (26) AT+DCDCEN Enable DC to DC converter Set connection interval mode for iOS/Android APP usage (27) AT+CONNECTINTERVALMODE0 (min.
Page 10
Direct-Action Command Description 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+DISCONNECT Terminate the connection AT+DEFAULT Back to default Set GPIO number p0.nn to high, AT+SETGPIOnnHIGH where “nn”...
4.2.2. “Read” Commands Direct-Action 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 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.
Page 16
⚫ When BT is connected for following commands ONLY Write: AT+DISCONNECT, AT+SLEEP, AT+SETGPIOnnHIGH, AT+SETGPIOnnLOW, AT+SETGPIOnnOFF Read: AT?ADCVALUE Output low to UART PD pin to enable UART interface. Please keep it LOW during the whole time when sending AT commands. Output low to flash default pin to enable receiving AT commands when BT is connected.
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.98 mA 0.51 mA Disable 1.78 mA 1.3 mA High 0.76 mA 0.54 mA Enable 1.1 mA 0.86 mA...
6.2. Throughput Test Here D.L. means “Data Length” and D.I. means “Data Interval” in the table. ⚫ MCU → Peripheral (MDBT42Q-AT2/MDBT42Q-PAT2) → 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 20
⚫ MCU → Central → Peripheral (MDBT42Q-AT2/MDBT42Q-PAT2) → 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...
7. 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.
Need help?
Do you have a question about the MDBT42Q-AT2-UART-S and is the answer not in the manual?
Questions and answers