SparkFun Electronics Artemis Module Integration Guide Version: 1p0p3 SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 1 Overview Features Mechanical Specifications Pad Signals and Assignment Designing Artemis Into End Application Programming Reflow Profile and Cleaning Tape and Reel Packaging Regulator Testing and Configuration Regulatory Statements Revision History Table of Contents 3 3 4 7 10 10 14 14 16 16 18 SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 2 1.Overview The SparkFun Artemis is a Cortex-M4F based BLE module using the Apollo3 micrcontroller from Ambiq. The Artemis is capable of running machine learning algorithms with the low current consumption of 6 A/MHz at 3.3V. The Artemis has an integrated 2.4GHz antenna and incorporates all the necessary circuitry to implement a low power BLE enabled microcontroller. 2.Features Ultra-low supply current
- 6A/MHz executing from flash at 3.3V
- 1A deep sleep mode (BLE Off) with RTC at 3.3V
- Supply voltage: 1.75V to 3.63V with onboard DC/DC regulation High-performance ARM Cortex-M4 Processor
- Up to 48 GPIO
- 48 MHz nominal clock frequency, with 96 MHz burst mode
- Floating point unit
- Memory protection unit
- Wake-up interrupt controller with 32 interrupts
- Up to 1 MB of flash memory for code/data
- Up to 384 KB of low leakage RAM for code/data
- 16 kB 2-way Associative/Direct-Mapped Cache Integrated Bluetooth 5 low-energy module
- RF sensitivity: -93 dBm (typical)
- TX: 3 mA @ 0 dBm, RX: 3 mA
- TX peak output power: 4.0 dBm (max) Small Size
- 15.5 x 10.5mm including antenna Easy Integration
- Large SMD pads and spacing allow for low cost 2-layer carrier board implementations
- Programming over pre-configured serial bootloader or JTAG Ultra-low power ADC
- 14 bit ADC at up to 2.67 MS/s effective continuous, multi-slot sampling rate
- 15 selectable input channels
- Voltage Comparator SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 3
- Temperature sensor with +/-3C accuracy ISO7816 Secure Smart Card interface Flexible serial peripherals
- 1x 2/4/8-bit SPI master interface
- 6x I2C/SPI masters for peripheral communication
- I2C/SPI slave for host communications
- 2x UART modules with 32-location Tx and Rx FIFOs
- PDM for mono and stereo audio microphone
- 1x I2S slave for PDM audio pass-through Rich set of clock sources
- 32.768 kHz XTAL oscillator
- Low frequency RC oscillator 1.024 kHz
- High frequency RC oscillator 48/96 MHz
- RTC based on Ambiqs AM08X5/18X5 families 3.Mechanical Specifications Module Dimensions Weight Antenna 15.5 x 10.5 x 2.3mm 0.6g 2.4 - 2.5GHz Chip SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 4 Recommended PCB Layout:
Top View Copper Pad and Paste Aperture Dimensions SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 5 Recommended Soldermask Layout:
Solder Mask Dimensions SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 6 4.Pad Signals and Assignment Module Pad No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 Name GND GPIO20 GPIO49 GPIO39 GPIO40 GPIO9 BOOT GPIO10 GPIO48 GPIO21 GPIO8 GPIO5 GPIO7 GPIO35 GPIO4 GPIO24 GPIO22 GPIO23 GPIO27 GPIO14 GPIO28 GND GPIO6 GPIO32 GPIO25 GPIO12 GPIO26 GPIO13 GPIO15 GPIO33 GPIO34 GPIO11 GPIO29 Pin Function Power SWDCK RX0 Bootload Bootload TX0 Bootload SWDIO Description Ground JTAG single wire clock RX pin for serial bootloading Hold pin high during reset to initiate bootloader TX pin for serial bootloading JTAG single wire I/O Power All GPIOs have up to 8 possible functions ranging from I2C, SPI, PDM, SCC, UART, I2S, and clock sources. Please see the Apollo3 datasheet for a complete listing of capabilities. SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 7 XO XI VDD VDD GND GND GPIO19 GPIO18 GPIO16 GPIO17 GPIO31 GPIO41 GPIO45 GND GPIO2 GPIO1 nRESET GPIO0 GPIO43 GPIO42 GPIO3 GPIO36 GPIO38 GPIO37 GPIO44 GND 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 32kHz Xtal 32kHz Xtal Power Power Power Power Power Connection for external 32.768kHz RTC crystal Connection for external 32.768kHz RTC crystal System Reset Pull pin low to reset system Power SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 8 Overview of Pad Functions Note: Apollo Pad# maps to GPIO# on Artemis SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 9 5.Designing Artemis Into End Application Routing and Recommended Keep Out An example layout with ground pour and ground vias The Artemis module was designed to be implemented onto low cost 2-layer PCBs with easy 8mil trace/space routing. A good ground connection is essential. Routing under the module is allowed. Keep all ground pours away from the antenna area. If mechanical exposure allows for it the antenna can be extended over the edge of the PCB for increased reception. 6.Programming SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 10 Two example programming interfaces Artemis can be programmed using the standard JTAG interface or with a serial bootloader. The Artemis module can be routed to USB to serial circuit or an industry standard JTAG connector for more advanced programming and debugging. For more information on ARM programming, including JTAG interfaces, check out our ARM Programming Tutorial. SparkFun Bootloader We've designed a baud rate flexible bootloader that is run at each power on reset. What does baud rate flexible mean exactly? The computer initiates communication at a given baud rate (921600bps for example) and the Artemis auto-detects the baud rate and transfers the bulk of the binary data at the agreed upon rate. This enables upload speeds up to 921600bps; significantly reducing upload times. A flexible rate allows computer systems that may have problems at higher rates to select the rate that works best. This bootloader is the preferred method for uploading sketches and user code that needs quick and reliable means of getting new code onto the Artemis. SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 11 Once you've selected an Artemis target board additional menu options will appear the next time you open the Tools menu. The SVL Baud Rate options will allow you to change the upload speed. 921600bps is the recommended speed as it's extremely fast to update new sketches. However, there are some platforms (Linux flavors) where the standard CH340 USB to serial drivers don't operate well at speeds higher than 115200. So if you run into upload problems, consider reducing the upload speed. For more information about Linux upload issues see this forum post and consider upgrading with these drivers. Just like the classic Arduino Uno, Arduino Mega, etc, the bootloader is activated by resetting the board. A single 0.1uF capacitor between DTR and reset is all that is needed to cause the Artemis to reset and enter bootload mode. If no new firmware is detected within a short amount of time (50ms), user code is run. If you're into niche electrical engineering discussions on things like bootloaders, you can read more about the Artemis bootloader here. Factory Bootloader In addition to the SparkFun Artemis bootloader, we program every Artemis with the Ambiq factory Secure Bootloader (SBL). This bootloader is best used for low-level updates to devices that need to have a secure provenance. The bootloader is activated at reset if pin 47 is high and communicates at 115200. The bootloader will then wait indefinitely for new binary data. SparkFun provides a python tool as well as an executable to communicate with this bootloader. SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 12 This style of bootloading is slightly different from bootloaders that you may be accustomed to. The STK500 bootloader that runs on most ATmega328 based Arduinos is run automatically at reset, then times out and the users code is run. The Artemis bootloader is similar but requires an extra pin (the Bootload pin) to be held high. To make using Artemis as cheap and easy as possible weve designed a simple RC circuit that can be implemented on your design using USB-to-serial ICs with the bare minimum control pins (the CH340E has only RTS) and still allow for factory bootloader activation. If you suspect you will need to modify the SparkFun Artemis Bootloader (described above) or if you need to use the secure bootload toolchain, the circuit above can be used to bootload using a single pin (DTR or RTS is supported). This single-pin reset and bootload solution is ideal for any USB to serial implementation that has control pins exposed (CH340, CP210x, FT232, etc). Heads up! You will never damage or brick the Artemis but using the Ambiq Secure Bootloader tools will overwrite the SparkFun bootloader removing the faster upload abilities. We don't recommend using the Ambiq Secure Bootloader for general Arduino programming. Don't select Ambiq Secure Bootloader unless you know what you're doing To load new code onto your Artemis module using the Ambiq bootloader toolchain select the Ambiq Secure Bootloader option in the Arduino Tools->Bootloader menu. These tools will modify your binary and package SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 13 them with various security headers. The code will load at 115200bps and may fail. Hit upload again if the process fails. How the Single Pin RC Circuit Works By pulling DTR (or RTS) low, the module is reset. After 10ms, DTR is pushed high in software. This causes the bootload pin to be high for 100ms allowing the bootloader to run. Opening of a serial port causes DTR to go low causing the module to reset, but because DTR stays low during normal serial operations the module does not enter the SBL and instead proceeds to run the SparkFun Artemis Bootloader. We have modified the Ambiq python bootload tool so that both DTR and RTS are driven at the same time, and in the same way, so you can use either RTS or DTR to bootload the Artemis. Our Ambiq SBL tools then drive DTR/RTS high to enter the the factory bootloader. If you prefer, the bootload pin can be broken out to a button. When the user holds the button and resets the board the Artemis will enter bootload mode and stay there until a bootload cycle completes or a reset occurs. This method works well but requires the users interaction every time new code needs to be loaded. 7.Reflow Profile and Cleaning Cleaning The use of No Clean paste is recommended as it does not require a wash phase after reflow. Washing a final assembly that uses the Artemis is not recommended as water may be captured under the module and/or RF shield causing part degradation. Recommended Reflow Profile The Artemis module follows standard reflow handling and processing. Please refer to the Jedec J-STD-020-D.1 reflow profile. Multiple reflow exposures are not recommended. 8.Tape and Reel Packaging Artemis comes on 24mm reels of 500pcs with 16mm pocket spacing as shown below. SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 14 SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 15 9.Regulator Testing and Configuration If necessary the Artemis module can be configured for host product evaluation for different operational conditions. In other words, if Artemis is implemented into a host system that needs secondary certifications the Artemis can be loaded with test firmware to put the radio into different constant transmission or reception states to verify the end device does not emit spurious emissions caused by the Artemis. The test firmware and documentation for implementation is located in the Ambiq SDK under uart_ble_bridge. 10. Regulatory Statements FCC Statements FCC Statements 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. Cet appareil est conforme la section 15 des rglementations de la FCC. Le fonctionnement de lappareil est sujetaux deux conditions suivantes :
1) cet appareil ne doit pas provoquer dinterfrences nfastes, et 2) cet appareil doit tolrer les interfrences reues, y compris celles qui risquent de provoquer un fonctionnement indsirable. Note: This product has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This product generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this product does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
Increase the separation between the equipment and receiver.
- Reorient or relocate the receiving antenna.
-
- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
- Consult the dealer or an experienced radio/TV technician for help. Warning: Changes or modifications to this unit not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. FCC Radiation Exposure Statement This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. End users must follow the specific operating instructions for satisfying RF exposure compliance. SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 16 FCC Modular Usage Statement Note 1: This module certified complies with RF exposure requirements under mobile or fixed condition; this module is to be installed only in mobile or fixed applications. A mobile device is defined as a transmitting device designed to be used in other than fixed locations and to generally be used 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. Transmitting devices designed to be used by consumers or workers that can be easily re-located, such as wireless devices associated with a personal computer, are considered to be mobile devices if they meet the 20 centimeter separation requirement. A fixed device is defined as a device is physically secured at one location and is not able to be easily moved to another location. Note 2: Host product manufacturers must provide in their user manual the required RF exposure information for mobile & fixed usage of this module. Host product manufacturers must use the following RF exposure statement in their user manual This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. This equipment should be installed and operated with a minimum distance of 20 cm between the radiator and all persons. This transmitter must not be co-location or operating in conjunction with any other antenna or transmitter. Note 3: Any modifications made to the module will void the Grant of Certification, this module is limited to OEM installation only and must not be sold to end-users, end-user shall have no manual instructions to remove or install the device, only software or operating procedure shall be placed in the end-user operating manual of final products. Note 4: Additional testing and certification may be necessary when multiple modules are used. Note 5: The module may be operated only with the integral chip antenna with which it is authorized. Note 6: To ensure compliance with all non-transmitter functions the host manufacturer is responsible for ensuring compliance with the module(s) installed and fully operational. For example, if a host was previously authorized as an unintentional radiator under the Suppliers Declaration of Conformity procedure without a transmitter certified module and a module is added, the host manufacturer is responsible for ensuring that the after the module is installed and operational the host continues to be compliant with the part 15B unintentional radiator requirements. Since this may depend on the details of how the module is integrated with the host, the manufacturer shall provide guidance to the host manufacturer for compliance with the part 15B requirements. Note 7: The FCC ID label on the final system must be labeled with Contains FCC ID: 2ASW8- ART3MIS or Contains transmitter module FCC ID: 2ASW8- ART3MIS. Note 8: The FCC rule/s for this module are CFR 47 Part 15 Subpart C. Note 9: This modular transmitter is only FCC authorized for the specific rule parts listed on its grant. The host product manufacturer is responsible to any other FCC rules that apply to the host not covered by the modular SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 17 transmitter grant of certification. The final host product will require Part 15 Subpart B compliance when the modular transmitter is installed. ISED Statements This device complies with Innovation, Science and Economic Development Canadas license-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 dInnovation, Sciences et Dveloppement conomique Canada applicables aux appareils radioexempts de licence. L'exploitation est autorise aux deux conditions suivantes :
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. Under Innovation, Science and Economic Development Canadas regulations, this radio transmitter may only operate using the integral antenna under which it was approved. Conformment la rglementation dInnovation, Sciences et Dveloppement conomique Canada, le prsent metteur radio peut fonctionner avec une antenne fonctionner quen utilisant lantenne intgre sous laquelle il a t approuv. ISED RF Exposure Statement This equipment complies with ISED radiation exposure limits set forth for an uncontrolled environment. This equipment should be installed and operated with minimum distance 20cm between the radiator & your body. This transmitter must not be co-located or operating in conjunction with any other antenna or transmitter. Le rayonnement de la classe b repecte ISED fixaient un environnement non contrls.Installation et mise en uvre de ce matriel devrait avec changeur distance minimale entre 20 cm ton corps.Lanceurs ou ne peuvent pas coexister cette antenne ou capteurs avec dautres. ISED Modular Usage Statement NOTE 1: When the ISED certification number is not visible when the module is installed inside another device, then the outside of the device into which the module is installed must also display a label referring to the enclosed module. This exterior label can use the wording Contains transmitter module IC: 25186-ART3MIS or Contains IC: 25186-ART3MIS. NOTE 1: Lorsque le numro de certification ISED n'est pas visible lorsque le module est install dans un autre appareil, l'extrieur de l'appareil dans lequel le module est install doit galement afficher une tiquette faisant rfrence au module inclus. Cette tiquette extrieure peut tre libelle Contient le module metteur IC:
25186-ART3MIS ou Contient IC: 25186-ART3MIS. SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 18 11. Revision History Revision 1p0p0 1p0p1 1p0p2 1p0p3 Date June-2-2019 July-23-2019 August-9-2019 Description Initial Release Add Regulatory Statements Add Programming Move recommended layout to new section Update regulator information. Add regulatory testing section. Add reflow information. Add tape and reel diagram. August-12-2019 Updated regulator information. SparkFun Electronics Inc - Artemis Integration Guide - 1p0p3 19 IC Caution. This device contains licence-exempt transmitter(s)/receiver(s) t hat comply with Innovation, Science and Economic Development Canadas licence-exempt RSS(s). Opera tion is subject to the following two conditions:
1.This device may not cause interference. 2.This device must accept any interference, including interfer ence that may cause undesired operation of the device. Lmetteur/rcepteur exempt de licence contenu dans le prsen t appareil est conforme aux CNR dInnovation, Sciences et Dveloppement conomique Canada appl icables aux appareils radio exempts de licence. Lexploitation est autorise aux deux conditions sui vantes :
1.Lappareil ne doit pas produire de brouillage;
2.Lappareil doit accepter tout brouillage radiolectrique sub i, mme si le brouillage est susceptible den compromettre le fonctionnement. L'appareil a t valu pour rpondre aux exigencies gnrales d'exposition aux radiofrquences. L'appareil peut tre utilis en condition d'exposition portable sans restriction.