
MC1322x SMAC Demonstration Application User’s Guide, Rev. 1.3
Freescale Semiconductor
6-1
Chapter 6
Generic Application Demonstration
The SMAC codebase includes a Generic Application Demonstration that can be used as template to
develop proprietary applications. This application shows all the initialization required to start the radio
and the commonly used peripherals such as UART and KBIs.
See
Section 1.3, “UART/USB Virtual COM Port Setup”
for information about how to set up a virtual COM
port for this application.
6.1
Generating a Project From BeeKit
Once the UART/USB virtual ports have been configured, generate the project from BeeKit.
1. Open BeeKit (Start->Programs->Freescale BeeKit->Freescale BeeKit).
2. In BeeKit, select the MC1322x SMAC codebase (File menu -> Select Codebase...)
3. Click on File -> New Project and choose the Generic Application template.
4. Follow the steps as displayed in the New Project wizard.
5. Configure the properties as needed. Choose the manual interface for the KBI.
6. Validate the solution
7. Export the solution.
For further details about how to use BeeKit, see the
BeeKit Wireless Connectivity Toolkit User’s Guide
(BKWCTKUG).
6.2
Open, Compile and Execute the Generic Application
1. Using the IAR Embedded Workbench, open the Generic Application work space (
My
Solution.eww
) as shown in
Figure 6-1
.
Figure 6-1. Opening Generic Application Space