Atmel ATSAM3S-EK2 データシート

ページ / 71
 
 
Atmel AVR2055 
 
 
 
 
5
 
8348D-AVR-06/12 
2.2.1 Standalone embedded application 
 highlights the major software components of the framework when it is used 
to build a standalone device application. Using this configuration implies that the 
entire embedded application runs on a single microcontroller. The user-defined Smart 
Energy (SE) or Home Automation (HA) device performs as a node in an SE or HA 
network by communicating with other devices on the network via the standardized 
cluster interfaces.  BitCloud  Profile Suite  provides  the  reference SE applications 
described in Chapter 
 and the reference HA applications described in Chapter 
. 
NOTE 
Standalone (not hosted) Building Automation (BA) applications running on embedded 
microcontrollers are currently not supported with BitCloud Profile Suite. 
Figure 2-1. BitCloud Profile Suite embedded solution architecture. 
 
2.2.2 Hosted embedded application 
The second use case scenario supported by BitCloud PS involves using Atmel 
microcontroller loaded with the embedded Runner application (see Chapter
) as a 
ZigBee coprocessor paired to an external host microcontroller. Runner is provided in 
source code alongside other embedded reference applications. The user can run the 
Runner application as-is, add new commands, or modify the functionality of existing 
ones. The corresponding architecture is presented in 
. 
The lightweight ZAppSI host library translates between the host application’s C API 
calls and the serial protocol, and back. In turn, Runner takes the serial input and 
translates it into API calls to the ZCL, APS, and ZDO layers of the stack. Likewise, it 
translates indications and confirmations raised from the stack into serial protocol 
format, and forwards them back to the ZAppSI host library. Runner and the 
corresponding host application communicate over a serial interface protocol, ZAppSI 
(see Sectio
).