| 数据搜索系统,热门电子元器件搜索 |
|
AMS002-R 数据表(PDF) 17 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
AMS002-R 数据表(HTML) 17 Page - Silicon Laboratories |
|
17 / 29 page ![]() AMS00x • Embedded Bluetooth Low Energy Solution Design Guidelines, Section 6 ADS-MS00x-107R • Preliminary Data Sheet Page | 13 ©2014-2015 ACKme Networks. http://ack.me September 14, 2015 2. Factory Settings. Factory configuration provides a way to save a configuration at manufacturing time. Factory settings are saved using the TruConnect command: save factory <BD_ADDR> Save with the lock option to ensure that factory settings cannot be overwritten: save factory <BD_ADDR> lock CAUTION! The factory configuration cannot be changed after saving with the lock option. If no factory configuration is present or it is corrupt- ed, then TruConnect loads the basic compile-time default configuration. 3. Default Settings. The default configuration is a sane set of defaults that are hardcoded in TruCon- nect. Factory Reset The module may be factory reset with a TruConnect command, or by asserting the factory reset pin at bootup. To factory reset via a command, issue: > fac <BD_ADDR> To factory reset via the factory reset GPIO: 1. Identify the GPIO used for factory reset by issu- ing the command to get GPIO usage: get gp u (the factory reset default is GPIO 6). 2. Assert a logic 1 (high) on the pin associated with the factory reset GPIO 3. Assert and de-assert the reset pin to force the module to reboot 4. Wait at least 10 seconds (the status of factory reset is printed to the User UART 5. De-assert the factory reset pin Command and Stream Mode The module boots into serial bus command mode by default and accepts configuration and control com- mands via the User UART. Once the configuration is saved, stream mode may be used to transfer data be- tween the serial interface and a remote device con- nected to the Bluetooth LE wireless interface. To toggle between command mode and stream mode, the GPIO alternate function mode_sel may be used (if config- ured), or to simply transition from command mode to stream mode, use the str command. Once in stream mode, characters received from a host MCU on the serial interface are automatically transmit- ted to a remotely connected device via the BLE wireless interface, and characters received from a remotely connected device on the BLE wireless interface are seamlessly transmitted on the serial interface to the host MCU. Configuration of the module is also possible using a re- motely connected application, however if the serial in- terface is configured to use command mode, remote applications are forbidden from accessing the com- mand interface. To grant a remote application access to the command interface, the serial interface must first place the module into stream mode to signal that it no longer requires access to the command parser. GPIO Configuration & Usage The default GPIO configuration of the module is shown in the following list, obtained by issuing the TruConnect command sequence get gp u. The User UART, factory reset and I2C pins are configured by default. All other pins are unassigned or reserved. > get gp u ! # Description # 0 i2c_sda # 1 i2c_scl # 2 user_tx # 3 none # 4 none # 5 user_rx # 6 none,factory # 7 reserved # 8 none # 9 none # 10 none # 11 none # 12 none # 13 none # 14 none To configure a GPIO pin for use, the pin must be as- signed a function. A large range of functions is availa- ble, please refer to the TruConnect reference guide online (at the following link) for further information: http://truconnect.ack.me/commands#gfu |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |