The Atmel® | SMART SAMW25 module is based on the industry-leading lowpower 2.4GHz IEEE® 802.11 b/g/n Wi-Fi® ATWINC1500 SoC (System on Chip)
combined with the ARM® Cortex®-M0+ based microcontroller technology from
Atmel.
This turnkey system provides an integrated software solution with application and
security protocols such as TLS and integrated network services (TCP/IP stack)
which are all available through Atmel Studio 6 integrated development
environment (IDE). The Atmel SmartConnect modules offer the ideal solutions for
designers seeking to add Wi-Fi connectivity with minimal previous experience in
802.11, IP Stack, or RF. Atmel SmartConnect Wi-Fi opens the door of the
Internet of Things (IoT) to the vast array of battery-powered devices and
applications requiring the integration of WLAN connectivity without compromising
on cost or power consumption. While we compete with other Wi-Fi modules on
size, RF performance, cost, and other characteristics, the Atmel SmartConnect
product family has a distinctive advantage when it comes to power consumption
and power saving modes. The ATSAMW25 device is a standalone end point,
where a complete small application can be executed on the module by itself.
Features
Key features with SAMW25 Wireless connectivity solution:
MAC ................................................................................................................................................. 13
6.1.1
Features ................................................................................................................................... 13
Radio ................................................................................................................................................. 14
All typical values are measured at T = 25°C unless otherwise specified. All minimum and maximum values are
valid across operating temperature and voltage unless otherwise specified.
Table 4-1. Absolute Maximum Ratings
Table 4-2. General Operating Ratings
Table 4-3. Physical Characteristics
Table 4-4. I/O Pins Characteristics
I/O pin characteristics for pins 5, 45, 46, and 47 (for all other I/O, see the SAM D21G datasheet).
The Atmel | SMART SAM D ARM Cortex-M0+ based microcontroller (MCU) series builds on decades of
innovation and experience in embedded Flash microcontroller technology. It not only sets a new benchmark for
flexibility and ease-of-use but also combines the performance and energy efficiency of an ARM Cortex-M0+
based MCU with an optimized architecture and peripheral set. The Atmel | SMART SAM D gives you a truly
differentiated general-purpose microcontroller that is ideal for many low-power, cost-sensitive industrial, and
consumer applications.
Host MCU Description
A rich set of peripherals, flexibility, and ease-of-use combined with low power consumption make the Atmel
SAM D21 ideal for a wide range of home automation, consumer, metering, and industrial applications.
ARM Cortex-M0+ based MCU running up to 48MHz
256KB embedded Flash and 32KB SRAM
DMA and Event system
Six flexible serial communication modules (SERCOM)
Full-speed USB device and embedded Host
12-bit ADC (SAM D21G: 14 channels); 10-bit DAC
Hardware touch support
Host MCU Key Features
Low power consumption, down to 70µA/MHz
Enhanced Analog Performance
–
ADC with offset and gain correction
–
Averaging, oversampling, and decimation
–
Flexible DAC
–
New low-power internal oscillators
–
±2% accuracy over operating range
Digital Innovations
–
Programmable Event System
–
Enhanced TC for Control Applications
–
Programmable SERCOM module
–
I2C / SPI / USART / LIN2 / IrDA
–
Full Speed USB Device and Host
–
No external components needed
–
6-12 channel DMA with CRC module
–
PTC Hardware touch module
–
I2S module with PDM support
Wi-Fi Core Processor
ATWINC1500B has a Cortus APS3 32-bit processor. This processor performs many of the MAC functions,
including but not limited to association, authentication, power management, security key management, and
MSDU aggregation/de-aggregation. In addition, the processor provides flexibility for various modes of
operation, such as STA and AP modes.
The APS3 core uses a 128KB instruction/boot ROM along with a 128KB instruction RAM and a 64KB data
RAM. ATWINC1500B also has 8Mb of flash memory, which can be used for system software. In addition, the
device uses a 128KB shared RAM, accessible by the processor and MAC, which allows the APS3 core to
perform various data management tasks on the TX and RX data packets.
5.2.2
Non-volatile Memory (eFuse)
ATWINC1500B has 768 bits of non-volatile eFuse memory that can be read by the CPU after device reset.
This non-volatile one-time-programmable (OTP) memory can be used to store customer-specific parameters,
such as MAC address; various calibration information, such as TX power, crystal frequency offset, etc.; and
other software-specific configuration parameters. The eFuse is partitioned into six 128-bit banks. Each bank
has the same bit map, which is shown in Figure 5-1. The purpose of the first 80 bits in each bank is fixed, and
the remaining 48 bits are general-purpose software dependent bits, or reserved for future use. Since each
bank can be programmed independently, this allows for several updates of the device parameters following the
initial programming, e.g. updating MAC address. Refer to ATWINC1500B Programming Guide for the eFuse
programming instructions.
The WLAN subsystem is composed of the Media Access Controller (MAC) and the Physical Layer (PHY). The
following two subsections describe the MAC and PHY in detail.
6.1
6.1.1
6.1.2
MAC
Features
The ATWINC1500B IEEE802.11 MAC supports the following functions:
Transmission and reception of aggregated MPDUs (A-MPDU)
–
Transmission and reception of aggregated MSDUs (A-MSDU)
–
Immediate Block Acknowledgement
–
Reduced Interframe Spacing (RIFS)
Support for IEEE802.11i and WFA security with key management
–
WEP 64/128
–
WPA-TKIP
–
128-bit WPA2 CCMP (AES)
Support for WAPI security
Advanced power management
–
Standard 802.11 Power Save Mode
–
Wi-Fi Alliance WMM-PS (U-APSD)
RTS-CTS and CTS-self support
Supports either STA or AP mode in the infrastructure basic service set mode
Supports independent basic service set (IBSS)
Description
The ATWINC1500B MAC is designed to operate at low power while providing high data throughput. The IEEE
802.11
logic, and a low-power, high-efficiency microprocessor. The combination of dedicated logic with a
programmable processor provides optimal power efficiency and real-time response while providing the
flexibility to accommodate evolving standards and future feature enhancements. Dedicated data path engines
are used to implement data path functions with heavy computational. For example, an FCS engine checks the
CRC of the transmitting and receiving packets, and a cipher engine performs all the required encryption and
decryption operations for the WEP, WPA-TKIP, WPA2 CCMP-AES, and WAPI security requirements. Control
functions, which have real-time requirements, are implemented using hardwired control logic modules. These
logic modules offer real-time response while maintaining configurability via the processor. Examples of
hardwired control logic modules are the channel access control module (implements EDCA/HCCA, Beacon TX
control, inter-frame spacing, etc.), protocol timer module (responsible for the Network Access Vector, back-off
timing, timing synchronization function, and slot management), MPDU handling module, aggregation/deaggregation module, block ACK controller (implements the protocol requirements for burst block
communication), and TX/RX control FSMs (coordinate data movement between PHY-MAC interface, cipher
engine, and the DMA interface to the TX/RX FIFOs).ø
The MAC functions implemented solely in software on the microprocessor have the following characteristics:
Advanced channel estimation/equalization, automatic gain control, CCA, carrier/symbol recovery, and
frame detection
Description
The ATWINC1500B WLAN PHY is designed to achieve reliable and power-efficient physical layer
communication specified by IEEE 802.11 b/g/n in single stream mode with 20MHz bandwidth. Advanced
algorithms have been employed to achieve maximum throughput in a real world communication environment
with impairments and interference. The PHY implements all the required functions such as FFT, filtering, FEC
(Viterbi decoder), frequency and timing acquisition and tracking, channel estimation and equalization, carrier
sensing, and clear channel assessment, as well as the automatic gain control.
6.3
Radio
6.3.1
Receiver Performance
Radio performance under typical conditions: VBAT = 3.3V; VDDIO = 3.3V; Temp.: 25°C @ RF pins
The basic power supply connections for the ATSAMW25 module are shown in Figure 10-1. The test points
shown (TP1 – TP6) should be added in case Atmel is required to debug the design.
The Wi-Fi chip can use its own internal oscillator for a Real Time Clock (RTC) or it can use an external
32.768KHz clock provided on the RTC pin. Using an external clock derived from a crystal oscillator can be
used as a more accurate sleep timer for the Wi-Fi chip than its own internal oscillator. This in turn can reduce
sleep current. If power consumption during sleep is a priority then a 32.768KHz crystal can be added to the
SAM D21 module as shown in the reference design. The design shown above displays a connection from pin
15 (PA22) to pin 5 (GPIO_1).
GPIO_1 is the input pin for the Wi-Fi’s Real Time Clock. PA22 can be configured to output a 32.768KHz RTC
clock – derived from the 32.768KHz crystal - to be used as the source for the Wi-Fi’s RTC. If cost is a priority
versus power consumption, then the 32.768KHz crystal can be left off of the design and the PA22 – GPIO_1
connection can be deleted.
It is critical to follow the recommendations listed below to achieve the best RF performance:
When the module is placed on the motherboard, a provision for the antenna must be made. There
should be nothing under the portion of the module which contains the antenna. This means the antenna
should not be placed directly on top of the motherboard PCB. This can be accomplished by, for example,
placing the module at the edge of the board such that the module edge with the antenna extends beyond
the main board edge by 6.5mm. Alternatively, a cutout in the motherboard can be provided under the
antenna. The cutout should be at least 22 x 6.5mm. Ground vias spaced 2.5mm apart should be placed
all around the perimeter of the cutout. No large components should be placed near the antenna.
Keep away from antenna, as far as possible, large metal objects to avoid electromagnetic field blocking
Do not enclose the antenna within a metal shield
Keep any components which may radiate noise or signals within the 2.4 – 2.5GHz frequency band far
away from the antenna, or better yet, shield those components. Any noise radiated from the main board
in this frequency band will degrade the sensitivity of the module.
The main board should have a solid ground plane. Each ground pin of the module (including each of the
center ground pads) should have a via placed either in the pad or right next to the pad going down to the
ground plane.
Place a 10µF decoupling capacitor from VBAT to ground right next to pin 7. Place another 10µF
capacitor from VCC to ground right next to pin 21.
Contact Atmel for assistance if any other placement is required
User Guide, Schematic, PCB layout, Gerber, BOM, and System notes on:
RF/Radio Full Test Report, radiation pattern, design guidelines, temperature performance, ESD.
Package
How to use package:
Out of the Box starting guide, HW limitations and notes, SW Quick start guidelines.
Platform Getting started
Guide
Best practices and recommendations to design a board with the product, including:
Antenna Design for Wi-Fi (layout recommendations, types of antennas, impedance
matching, using a power amplifier etc.), SPI/UART protocol between Wi-Fi SoC and the
Host MCU.
HW Design Guide
Integration guide with clear description of:
High level Arch, overview on how to write a networking application, list all API, parameters and structures.
Features of the device, SPI/handshake protocol between device and host MCU, with
flow/sequence/state diagram, timing.
SW Design Guide
Explain in details the flow chart and how to use each API to implement all generic use
cases (e.g. start AP, start STA, provisioning, UDP, TCP, http, TLS, p2p, errors management, connection/transfer recovery mechanism/state diagram) - usage and sample application note.
12 Reference Documentation and Support
12.1
Reference Documents
Atmel offers a set of collateral documentation to ease integration and device ramp.
The following list of documents available on Atmel web or integrated into development tools.
Table 12-1. Reference Documents
For a complete listing of development-support tools and documentation, visit http://www.atmel.com/ or contact
the nearest Atmel field representative.
Web page: http://www.atmel.com/products/microcontrollers/arm/sam-d.aspx?tab=documents.
Document: Atmel SAM D21 Datasheet (.pdf file).
Then select the required device (ATSAMD21E18A) and get the latest datasheet (.pdf file).
[2] ATWINC1500B Datasheet.
[3] ATSAM W25 Network Controller Programming Guide.
[4] ATSAM W25 Starter Kit User Guide.
24
Doc Rev.
Date
Comments
42618B
05/2016
Updated Figure 3-2 with new POD drawing which has PCB footprint and to solder GND
pads.
other countries. ARM®, ARM Connected® logo, Cortex®, and others are the registered trademarks or trademarks of ARM Ltd. Other terms and product names may be
trademarks of others.
DISCLAIMER: The information in this document is provided in connection with Atmel products. No license , express or implied, by estoppel or otherwise, to any intellectual property right
is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND COND ITIONS OF SALES LOCATED ON THE
ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT
SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LI MITATION, DAMAGES
FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this
document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information
contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended,
authorized, or warranted for use as components in applications intended to support or sustain life.
SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in connection with any applications where
the fail ure of such products woul d reasonably be expecte d to result in significant personal injury or death (“Sa fety -Criti cal Applications”) without an Atme l officer's specific written con sent.
Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems. Atmel
products are not designed nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military-grade. Atmel products are not
designed nor intended for use in automotive applications unless specifically designated by Atmel as automotive-grade.