ABLE42M1 Specification USER MANUAL v1.05 9F, 295, Sec. 2, Kuang Fu Rd., Hsinchu, Taiwan | TEL +886 3 573 6660 | FAX +886 3 573 6661 2 95 9 | 0 3 5 7 3 6 6 6 0 | 0 3 5 7 36 6 6 1
:: ABLE42M1 ::
Revision History Rev Date Description 1.05 2018/1/18 Chapter 3, table3-3: Add Power Down Mode Setting Information. 1.04 2018/1/12 1. Section 1.3: Add description for Table1-1: Pin2, Pin5, Pin16, Pin21. 2. Chapter 3: Add new data for Table 3-2. 3. Section 3.1: Modify Figure3-1. 4. Chapter 4: Modify Figure 4-1. 1.03 2017/9/29 Modify Pin Description. 1.02 2017/9/27 Fix the Advertising length <= 31. Add ABLE42M1 Upper Extension Board information. 1.01 2017/9/22 Correct the Advertising length >= 19. 1.00 2017/9/20 New Release Page 10
-
-
-
-
-
-
USER MANUAL v 1. 05 2
:: ABLE42M1 ::
Disclaimer Alpha Microelectronics Corporation (hereinafter referred to as Alpha) strives to ensure the accuracy of all texts, graphics, data, code, and circuit diagrams contained in Alphas website (www.ealpha.com.tw) and product documentations, including but not limited to, IC datasheet, User Manual and Application Notice, but does not guarantee the accuracy, adequacy and completeness of the contents of the website and product documentations. Hence, Alpha and its employees, subsidiaries, branches, and agents are not liable for any direct, indirect, special or consequential loss arising from errors or omissions in the provided information of the website and/or product documentations. In addition, Alpha reserves the right to modify and update the contents of the website and product documentations at any times. Alphas products are not designed for the purpose of high-security applications, and therefore are not recommended to be applied on life-support equipment, or any devices or systems that may cause personal injury or death due to failure or malfunction of Alphas products. Alpha and its employees, subsidiaries, branches and agents are exempt from all responsibilities for death or injury of anyone, damage caused to anything when Alphas products are applied on those devices, including but not limited to, medical or medical-related equipment, military or military-related equipment, aircrafts, traffic control systems, disaster prevention systems, combustion control systems and nuclear equipment. USER MANUAL v 1. 05 3
:: ABLE42M1 ::
Table of Contents 3.1 3.2 1.1 1.2 1.3 1. General Application Schematic............................................................................................7 Module Package Definition......................................................................................................... 7 Application Schematic................................................................................................................ 7 Pin Description ........................................................................................................................... 8 2. General Schematic ................................................................................................................9 3. Data Transfer Mode / Power Down Mode ............................................................................10 Data Transfer Mode Testing Environment ................................................................................. 11 Data Transfer Example .............................................................................................................. 12 4. AM5B RSSI Distance Sensor Demo .....................................................................................16 Schematic................................................................................................................................... 16 APP ............................................................................................................................................ 17 Functional Description................................................................................................................ 18 5. Extension Board ....................................................................................................................19 6. BLE Firmware Version ..........................................................................................................22 20160728 ................................................................................................................................... 22 20170712 ................................................................................................................................... 22 How to use 20170712 firmware to modify BDName, BDAddr and ADV inteaval?................... 23 7. FCC & IC statement .............................................................................................................24 4.1 4.2 4.3 6.1 6.2 6.3 USER MANUAL v 1. 05 4
:: ABLE42M1 ::
List of Figure Figure1-1 Pin Definition .......................................................................................................................................7 Figure1-2 Application Schematic .........................................................................................................................7 Figure2-1 General Schematic..............................................................................................................................9 Figure3-1 Data Transfer Mode Environmant .....................................................................................................11 Figure3-2 Open a new AccessPort window.......................................................................................................12 Figure3-3 APP search ABLE42M1 device ......................................................................................................13 Figure3-4 Transmitting and receiving by AccessPort ........................................................................................14 Figure3-5 Transmitting and receiving by APP ...................................................................................................15 Figure4-1 Functional Diagram ...........................................................................................................................16 Figure4-2 Schematic..........................................................................................................................................16 Figure4-3 APP....................................................................................................................................................17 Figure5-1 ABLE42M1 Extension Board Ver. 20160815 .................................................................................19 Figure5-2 ABLE42M1 Extension Board Schematic Ver. 20160815 ...............................................................19 Figure5-3 ABLE42M1 Extension Board Ver. 20170522 .................................................................................20 Figure5-4 ABLE42M1 Extension Board Schematic Ver. 20170522 ...............................................................20 Figure5-5 ABLE42M1 Upper Extension Board Ver. 20160602 ......................................................................21 Figure5-6 ABLE42M1 Upper Extension Board Schematic Ver. 20160602 ....................................................21 USER MANUAL v 1. 05 5
:: ABLE42M1 ::
List of Table Table1-1 Pin Description......................................................................................................................................8 Table3-1 UART Setting......................................................................................................................................10 Table3-2 Data Transfer Mode Setting................................................................................................................10 Table3-3 Power Down Mode Setting .................................................................................................................10 USER MANUAL v 1. 05 6 General Application Schematic 1. 1.1 Module Package Definition
:: ABLE42M1 ::
Figure1-1 Pin Definition 1.2 Application Schematic Figure1-2 Application Schematic USER MANUAL v 1. 05 7 1.3 Pin Description Table1-1 Pin Description PIN 1 SIGNAL GND
:: ABLE42M1 ::
TYPE Ground DESCRIPTION Ground reference SEL_CMD_DATA, switch HCI mode and Data Mode. 0: Low, Data transfer mode. (TRSPX Mode), 6uA current 1: High, HCI Command mode No used No used UART Active 0: Low, UART interface active, 6uA current 1: High, UART interface inactive BT_STATUS, BT status output 0: Low, BT Connected 1: High, BT Disconnected No used No used Ground reference No used SEL_UART_SPI, select UART/SPI interface. (Don't floating) 0: Low, No support. 1: High, UART interface UART TX Pin No used UART RX Pin I2C_CLK connected with EEPROM I2C_SDA connected with EEPROM 2 3 4 5 6 7 8 9 10 GPIO5 Input pull-high GPIO4 GPIO3 Input pull-high Input pull-high GPIO6 Input pull-high GPIO7 GPIO2 GPIO1 GND GPIO0 Output Input pull-high Input pull-high Ground Output high 11 SEL_UART_SPI Input floating UART_TXD Output Input pull-low Input pull-high Output high Input / Output GPIO8 UART_RXD I2C_SCK I2C_SDA VDDIO GND 12 13 14 15 16 17 18 19 20 Supply, 1.8V~3.3V VCC for IO Ground Ground reference Global reset, active low RESETN Input 0: Low, Power-Down 1: High, Power-on XO16MOUT Output only XO16M output USER MANUAL v 1. 05 8
:: ABLE42M1 ::
PIN SIGNAL TYPE DESCRIPTION XO16M Enable/Disable. (Don't floating) 21 22 23 24 25 26 XOEN Input floating 0: Low, Disable 1: High, Enable (Approximately 850uA current exisisted in Operation Mode or Sleep Mode) is AVDD_DIG AVDD_RF Supply, 1.8V~3.3V VCC for Digital Supply, 1.8V~3.3V VCC for Analog GND NC GND Ground NC Ground Ground reference No used Ground reference 2. General Schematic
+3.3V VDDIO AVDD_DIG AVDD_RF
+3.3V UART_RX UART_TX GPIO GPIO GPIO GPIO MCU UART_TXD UART_RXD SEL_CMD_DATA UART_ACTIVE SEL_UART_SPI RESETN XOEN GPIO5 GPIO6 GPIO7 BT_STATUS ABLE42M1 Smart Phone Figure2-1 General Schematic USER MANUAL v 1. 05 9 3. Data Transfer Mode / Power Down Mode The UART Transport Layer uses the following setting for RS232:
Table3-1 UART Setting Baud rate Number of data bits Parity bit Start bit Stop bit Flow control 115200 8 No parity 1 start bit 1 stop bit Not Used Table3-2 Data Transfer Mode Setting Data Transfer Mode GPIO5 (SEL_CMD_DATA) GPIO6 (UART Active) SEL_UART_SPI RESETN XOEN Low Low High High Low Table3-3 Power Down Mode Setting Power Down Mode GPIO5 (SEL_CMD_DATA) GPIO6 (UART Active) SEL_UART_SPI RESETN XOEN High High High Low Low
:: ABLE42M1 ::
USER MANUAL v 1. 05 10 3.1 Data Transfer Mode Testing Environment
:: ABLE42M1 ::
Figure3-1 Data Transfer Mode Environmant USER MANUAL v 1. 05 11 3.2 Data Transfer Example
(1) Connect UART_TXD and UART_RXD to PC. Set baud rate 115200 and turn on AccessPort power.
:: ABLE42M1 ::
Shown as below:
Seng baud rate 115200 UART turn-on Data Receive Data Tramsmit Figure3-2 Open a new AccessPort window USER MANUAL v 1. 05 12
(2) Install BLETester within Android system mobile phone. Search and connect ABLE42M1. You will see the following picture:
:: ABLE42M1 ::
Select "ABLE42M1" device Figure3-3 APP search ABLE42M1 device USER MANUAL v 1. 05 13
(3) When message of hello, how are you? is sent by mobile phone, the Data Receive page of AccessPort software will receive hello, how are you? and send Im fine, thanks! from TX Transmit page at the same time. Your mobile phone will then receive Im fine, thanks!, shown as below:
:: ABLE42M1 ::
Got message from App Feedback message to App Figure3-4 Transmitting and receiving by AccessPort USER MANUAL v 1. 05 14
:: ABLE42M1 ::
Send message to ABLE42M1 Got message from ABLE42M1 Figure3-5 Transmitting and receiving by APP USER MANUAL v 1. 05 15 4. AM5B RSSI Distance Sensor Demo
:: ABLE42M1 ::
Figure4-1 Functional Diagram 4.1 Schematic Figure4-2 Schematic USER MANUAL v 1. 05 16 4.2 APP
:: ABLE42M1 ::
Interval per package 1. APP got RSSI 2. Send RSSI to ABLE42M1 per 500ms Figure4-3 APP USER MANUAL v 1. 05 17
:: ABLE42M1 ::
4.3 Functional Description
(1) This sample demonstrates how far or closes the distance between cell phone and AM5B system. The cell phone judges the relative distance by the receiving power of ABLE42M1; however, there might be error caused while judging RSSI since the Bluetooth chip for each cell phone is different.
(2) After cell phone and ABLE42M1 are connected, the cell phone will receive RSSI value and transmit back to ABLE42M1 mode, AM5B system will judge the relative distance after receiving RSSI. 4bits LED is used to indicate the distance; 4 LED all light up means a closed distance while less LED means farther distance until all lights are turned off. USER MANUAL v 1. 05 18 5. Extension Board
:: ABLE42M1 ::
VDDIO/AVDD_DIG/AVDD_RF UART_TXD UART_RXD GND Figure5-1 ABLE42M1 Extension Board Ver. 20160815 Figure5-2 ABLE42M1 Extension Board Schematic Ver. 20160815 USER MANUAL v 1. 05 19
:: ABLE42M1 ::
VDDIO/AVDD_DIG/AVDD_RF UART_TXD UART_RXD GND GPIO5 UART_ACTIVE BT_STATUS RESETN Figure5-3 ABLE42M1 Extension Board Ver. 20170522 Figure5-4 ABLE42M1 Extension Board Schematic Ver. 20170522 USER MANUAL v 1. 05 20
:: ABLE42M1 ::
GPIO2 RST_N GND NC SDA RXD TXD VBAT NC AVDD_DIG AVDD_RF XOEN NC GND VDDIO RXD GPIO8 SDA SCK GPIO3 GPIO1 GPIO7 GPIO2 GPIO6 XOUT16 RST_N GND TXD SEL_UART_ SPI GPIO0 GPIO4 GPIO5 GND Figure5-5ABLE42M1 Upper Extension Board Ver. 20160602 Figure5-6 ABLE42M1 Upper Extension Board Schematic Ver. 20160602 USER MANUAL v 1. 05 21
:: ABLE42M1 ::
6. 6.1 6.2 BLE Firmware Version 20160728
(1) UUID: 49535343-FE7D-4AE5-8FA9-9FAFD205E455
- Data transfer mode. (TRSPX Mode) 20170712
(1) UUID: 0000E455-0000-1000-8000-00805F9B34FB
- Data transfer mode. (TRSPX Mode)
(2) UUID: 0000FFE0-0000-1000-8000-00805F9B34FB
- App can modify the BDName, BDAddr and ADV interval.
- GPIO4 outputs high pulse at first and applies on wake-up MCU before RX data is sent. USER MANUAL v 1. 05 22 6.3 How to use 20170712 firmware to modify BDName, BDAddr and ADV inteaval?
Download Alpha BLE app in app store for iOS device.
:: ABLE42M1 ::
nRF Connect app in google play store for android device. Download Select 0xFFE0 service, and follow the data format below:
Feature Advertising data Header Data[0]=
0x01 Value Data[7]~data[
19]
BD Name Length Data[1]=
Advertising length Data[5]=
BD Name length+1 NA Data[0]=
0x02 Data[1]~data[
19]
BD Name Example Advertising length <= 18(0x12) Ex1: Modify BD Name to ABC 01 08 02 01 05 04 09 41 42 43 Ex2: Modify BD Name to ABCDEFGHIJK 01 10 02 01 05 0C 09 41 42 43 44 45 46 47 48 49 4A 4B Ex3: Modify BD Name to ABCDEFGHIJKLM 01 12 02 01 05 0E 09 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D Advertising length >= 19(0x13), and <=31(0x1F) EX4: Modify BD Name to ABCDEFGHIJKLMN 01 13 02 01 05 0F 09 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 02 4E BD Ex5:
ABCDEFGHIJKLMNOPQRST Modify Name to 01 19 02 01 05 15 09 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 02 4E 4F 50 51 52 53 54 Ex6: Modify BD Name to ABCDEFGHIJKLMNOPQRSTUVWXYZ Advertising interval Data[0]=
0x03 NA 01 1F 02 01 05 1B 09 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D Data[1]~data[
4]
adverting 02 4E 4F 50 51 52 53 54 55 56 57 58 59 5A Ex7: Modify advertiting interval to 0.625ms x 0x00A0 =
100ms 03 A0 00 A0 00 USER MANUAL v 1. 05 23
:: ABLE42M1 ::
Feature Header Length Value interval Example Ex8: Modify advertiting interval to 0.625ms x 0x0320 =
500ms BD Address Data[0]=
NA 0x04 Data[2]~data[
6]
BD Address 03 20 03 20 03 Ex9: Modify BD Address to 0x060504030201 04 01 02 03 04 05 06 7. FCC & IC statement FCC statement This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions:
(1) This device may not cause harmful interference, and
(2) this device must accept any interference received, including interference that may cause undesired operation. Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. IC statement This device complies with Industry Canada licence-exempt RSS standard(s). Operation is subject to the following two conditions:
(1) this device may not cause interference, and
(2) this device must accept any interference, including interference that may cause undesired operation of the device. Le prsent appareil est conforme aux CNR d'Industrie Canada applicables aux appareils radio exempts de licence. L'exploitation est autorise aux deux conditionssuivantes :
(1) l'appareil ne doit pas produire de brouillage, et
(2) l'utilisateur de l'appareil doit accepter tout brouillage radiolectrique subi, mme si le brouillage est susceptible d'en compromettre le fonctionnement. RF exposure statements: Section 2.1091(d) (3) - Mobile devices (a minimum separation distance may be required). e.g. This device must be used in fixed locations and in such a way that a separation distance of at least 20 centimeters is normally maintained between the transmitter's radiating structure(s) and the body of the user or nearby persons. USER MANUAL v 1. 05 24