sensor applications reference design

22
Document Number: MC13192SARDUG Rev. 1.6 10/2006 Sensor Applications Reference Design (SARD) User’s Guide

Upload: others

Post on 30-May-2022

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Sensor Applications Reference Design

Document Number: MC13192SARDUGRev. 1.610/2006

Sensor Applications ReferenceDesign

(SARD) User’s Guide

Page 2: Sensor Applications Reference Design

How to Reach Us:

Home Page:www.freescale.com

E-mail:[email protected]

USA/Europe or Locations Not Listed:Freescale SemiconductorTechnical Information Center, CH3701300 N. Alma School RoadChandler, Arizona 85224+1-800-521-6274 or [email protected]

Europe, Middle East, and Africa:Freescale Halbleiter Deutschland GmbHTechnical Information CenterSchatzbogen 781829 Muenchen, Germany+44 1296 380 456 (English)+46 8 52200080 (English)+49 89 92103 559 (German)+33 1 69 35 48 48 (French)[email protected]

Japan:Freescale Semiconductor Japan Ltd.HeadquartersARCO Tower 15F1-8-1, Shimo-Meguro, Meguro-ku,Tokyo 153-0064, Japan0120 191014 or +81 3 5437 [email protected]

Asia/Pacific:Freescale Semiconductor Hong Kong Ltd.Technical Information Center2 Dai King StreetTai Po Industrial EstateTai Po, N.T., Hong Kong+800 2666 [email protected]

For Literature Requests Only:Freescale Semiconductor Literature Distribution CenterP.O. Box 5405Denver, Colorado 802171-800-521-6274 or 303-675-2140Fax: [email protected]

Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document.Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals”, must be validated for each customer application by customer’s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part.

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners.

© Freescale Semiconductor, Inc. 2004, 2005. All rights reserved.

Page 3: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

Freescale Semiconductor i

ContentsAbout This Book

Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iiiOrganization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iiiConventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iiiDefinitions, Acronyms, and Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ivReferences. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ivRevision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv

Chapter 1 Introduction and Configuration

1.1 Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11.2 MC13192 Sensor Applications Reference Design (SARD) Components . . . . . . . . . . . . . . . . . 1-21.2.1 SARD Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21.3 Hardware Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-31.3.1 Differences Between Revision 2 and Revision 3 Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-41.3.2 MC13192 SARD Circuit Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-41.3.3 RS232 Connector J102 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-71.3.4 Power Capability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-71.3.5 LEDs and Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-81.3.6 Board Reset Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-81.3.7 MCU General Purpose Input/Output (GPIO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-91.3.8 BDM Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-91.4 Applications and Programming Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-91.4.1 Accelerometer Application Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-91.4.2 Programming the SARD (User Defined Software) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9

Appendix A SARD Board Layout and Bill of MaterialsA.1 PCB Layout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1

Page 4: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

ii Freescale Semiconductor

Page 5: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

Freescale Semiconductor iii

About This BookThis guide provides detailed information about the MC13192 Sensor Applications Reference Design (SARD). The SARD provides all the components to evaluate and use an MC13192. It is intended to allow a system engineer or software developer to gain an understanding of the MC13192 and its protocol.

AudienceThe guide is intended for software and system engineers who are developing their products or software applications making use of the MC13192 to achieve wireless connectivity capability.

It is assumed that the reader has a good working knowledge of general-purpose microcontrollers (MCU).

OrganizationThe book is divided into 1 chapter and 1 appendix.

Chapter 1 Introduces the SARD functionality and features.

Appendix A Provides top and bottom views of the SARD printed circuit board.

ConventionsThis section names, describes, and defines the conventions used in the book. This document uses the following conventions:

• OVERBAR is used to indicate a signal that is active when pulled low: for example, RESET.

• Logic level one is a voltage that corresponds to Boolean true (1) state.

• Logic level zero is a voltage that corresponds to Boolean false (0) state.

• To set a bit or bits means to establish logic level one.

• To clear a bit or bits means to establish logic level zero.

• A signal is an electronic construct whose state conveys or changes in state convey information.

• A pin is an external physical connection. The same pin can be used to connect a number of signals.

• Asserted means that a discrete signal is in active logic state.

— Active low signals change from logic level one to logic level zero.

— Active high signals change from logic level zero to logic level one.

• Negated means that an asserted discrete signal changes logic state.

— Active low signals change from logic level zero to logic level one.

— Active high signals change from logic level one to logic level zero.

• LSB means least significant bit or bits, and MSB means most significant bit or bits. References to low and high bytes or words are spelled out.

Page 6: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

iv Freescale Semiconductor

Definitions, Acronyms, and AbbreviationsThe following list defines the acronyms and abbreviations used in this document. As this template develops, this list will be generated from the document. As we develop more group resources, these acronyms will be easily defined from a common acronym dictionary. Please note that while the acronyms are in solid caps, terms in the definition should be initial capped ONLY IF they are trademarked names or proper nouns.

ISM Industrial Scientific Medical

PER packet error rate

RF radio frequency

Rx receive

SPI serial peripheral interface

Tx transmit

ReferencesThe following sources were referenced to produce this book:

1. ESD Style Guide.

2. IEEE® Guide to Software Requirements Specifications, July1984.

3. Embedded Bootloader Reference Manual, 802154EBRM.

Revision HistoryThe following table summarizes revisions to this manual since the previous release (Rev. 1.5).

Revision History

Location Revision

September, 2006 Updated for misc. latest S/W versions. (MAC and SMAC)

Page 7: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

Freescale Semiconductor 1-1

Chapter 1 Introduction and ConfigurationThis section introduces the MC13192 Sensor Applications Reference Design (SARD) basic components, features, hardware configuration, and applications and programming options.

1.1 Safety InformationAny modifications to this product may violate the rules of the Federal Communications Commission and make operation of the product unlawful.

47 C.F.R. Sec. 15.21

This equipment 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 equipment 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 equipment 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:

• Reorient or relocate the receiving antenna.

• Increase the separation between the equipment and receiver.

• 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.

47 C.F.R. Sec.15.105(b)

This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. The antenna(s) used for this equipment must be installed to provide a separation distance of at least 8 inches (20cm) from all persons.

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.

2. This device must accept any interference received, including interference that may cause undesired operation.

3. This device is susceptible to electrostatic discharge (ESD) and surge phenomenon.

Page 8: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

1-2 Freescale Semiconductor

Introduction and Configuration

1.2 MC13192 Sensor Applications Reference Design (SARD) Components

The MC13192 Sensor Applications Reference Design (SARD) introduces users to the MC13192 2.4 GHz wireless data transceiver. It includes an RS232 port, background debug module for in-circuit hardware debug, switches, LEDs, and a host MCU and allows the user flexibility in establishing wireless data networks. Figure 1-1 shows Revision 3 of the SARD board.

Figure 1-1. SARD Board (Rev 3)

1.2.1 SARD Features• Provides all hardware required for a complete 2.4 GHz wireless node using IEEE 802.15.4 packet

structure.

• One MC13192 2.4 GHz transceiver RF reference design with printed circuit antenna.

• One MC9S08GT60 low-power, low-voltage MCU with 60KB of on-chip Flash.

• Background Debug Module (BDM) programming port for support of CodeWarrior™ Development Studio.

• Provides IEEE 802.15.4 modem.

• Two Accelerometers: MMA6261Q (X and Y axis), MMA1260D (Z axis)

• RS-232 port for interface with a personal computer.

• Four switches and LEDs for control and monitoring.

• Reset switch for program reset.

• Scalable software support:

Page 9: Sensor Applications Reference Design

Introduction and Configuration

Sensor Applications Reference Design, Rev. 1.6

Freescale Semiconductor 1-3

— Proprietary point-to-point or star networking using Freescale’s Simple Medium Access Control (SMAC) software

— IEEE 802.15.4 Standard compliant networking using Freescale’s MAC/PHY

— ZigBee™ networking using Freescale’s BeeStack software

1.3 Hardware DescriptionThe MC13192 Sensor Applications Reference Design (SARD) provides the hardware required to establish a wireless node using a variety of protocols. Figure 1-2 shows a simplified block diagram of two SARDs connected in a simple point-to-point network. Optional personal computers are shown for control and monitoring.

The SARD is a 2 inch x 3 inch module that comprises a complete network node containing the MC13192, crystal, printed circuit antenna and MCU. Also included are jumper-selectable X-Y and Z Axis Accelerometers, four switches, and four LEDs for monitoring purposes. The SARD derives its power from a 9V battery or a 9V adapter.

NOTEDo not use a Lithium battery.

Figure 1-2. Point to Point MC13192 SARD Block Diagram

PCRS232

SPI

MC13192

SPI

MC13192

RS232

PC

Node One

RF

BDM Interface(ProgrammingOnly)

BDM Interface(ProgrammingOnly)

X-Y Axis Accelerometer

Z Axis Accelerometer

Node Two

X-Y Axis Accelerometer

Z Axis AccelerometerHCS08MCU

HCS08MCU

Page 10: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

1-4 Freescale Semiconductor

Introduction and Configuration

1.3.1 Differences Between Revision 2 and Revision 3 Boards

1.3.2 MC13192 SARD Circuit DescriptionFigure 1-3 shows the MC13192 SARD schematic. Appendix A includes board layout, including the printed dipole receive and transmit antennas, and Bill of Material information. All circuitry required for a 2.4 GHz wireless node is provided. The heart of the design is the MC13192 2.4 GHz transceiver and the MC9S08GT60 microcontroller. All connections for control of the transceiver by the MCU are provided. Peripherally, four LEDs and switches interfacing with the MCU are provided for control and demonstration purposes.

Three accelerometers are provided. An MMA6261Q (X and Y axis) and an MMA1260D (Z axis) for demonstration purposes. A Background Debug Module (BDM) port is provided for programming using CodeWarrior to develop and in-circuit debug code and program the MCU. An RS-232 interface is provided to allow monitoring or programming.

Table 1-1. Rev. 2 to Rev. 3 Board Differences

Item Description

D105 A Power on Reset LED (D105) was added.

C130 A 100pF capacitor (C130) was added an Reset switch for ESD protection.

RF Strip Lines (Receive) The RF strip lines for the receiver (W101 and W102) were changed. The Z0 120 ohm, 22.5 degree electrical length is equal to a physical length of 4.5mm. This optimizes receive sensitivity.

RF Strip Lines (Transmit) The RF strip lines for the transmitter (W103 and W104) were changed. The Z0 120ohm, 58 degree electrical length is equal to a physical length of 11.5mm. This optimizes RF output power.

L101 and C131 A filter (L101 and C131) was added on PA out to reduce 2nd and 3rd spurious harmonics.

IC109 and IC108 The LDO ICs 109 and IC108 were changed for output power. Higher current is needed to support a parallel BDM interface.

Page 11: Sensor Applications Reference Design

Introduction and Configuration

Sensor Applications Reference Design, Rev. 1.6

Freescale Semiconductor 1-5

Figure 1-3. MC13192 SARD Schematic

55

44

33

22

11

DD

CC

BB

AA

MO

SI

GP

IO1

SS

IRQ

CLK

O

MIS

O

SP

ICLK

RS

TB

RX

TX

EN

GP

IO2

AT

TN

B

Tx

Rx

CT

S

RT

S

VD

DA

V_R

S232

5V

0

3V

0

3V

03V

03V

03V

0

3V

0

3V

0

3V

0

3V

0

3V

0

V_R

S232

5V

03V

0

GP

IO1

GP

OI2

GP

IO2

GP

IO1

PT

C5

PT

C6

PT

G1

PT

G1

PT

A7

PT

A6

PT

A6

PT

A7

PT

C6

PT

C5

PT

C0

PT

C1

PT

C0

PT

C1

Title

Siz

eD

ocum

ent N

um

ber

Rev

Date

:S

heet

of

© F

ree

sc

ale

Se

mic

on

du

cto

r, Inc

.

80000536000_R

0302.D

SN

R03.0

2

13192-S

AR

D (D

IG536-3

): Main

Schem

atic

Skalh

use 5

DK

-9240 N

ibe, D

enm

ark

Tele

phone: +

45 9

671 0

000

A2

11

Tuesday, J

uly

26, 2

005

JJ/C

LL

20

05

ww

w.fre

escale

.com

Fax: +

45 9

835 0

052

BDM PORT

LED4

LED3

SW3

SW4

LED2

LED1

SW1

SW2

Z Axis ACC

X-Y Axis ACC

9V battery

+-

+-

2-3V battery

SW5

RESET Switch

LED5

4.5

mm

4.5

mm

11

.5m

m1

1.5

mm

C112

100nF

C114

4.7

µF

D105

Gre

en_LE

D

IC109

LP

38690D

TX

-5.0

VIN

3V

OU

T1

GND2

C120

100nF

R109

1.0

K

W103

EL=

58 d

eg, Z

=120ohm

C130

100pF

IC104

MM

A6261Q X

OU

T15

N/C

11

N/C

10

N/C

9N

/C8

N/C

6N

/C5

N/C

1

N/C

2

N/C

7

N/C

16

VS

S4

VD

D3

EP

17

ST

12

N/C

13

YO

UT

14

C107

220pF

D104

Gre

en_LE

D

C126

18pF

C123

F

Not M

ounte

d

C132

10µ

F

AN

T102

X101

16.0

00M

Hz

R104

220R

C131

0.5

pF

R112

1.0

K

C116

10µ

F

C101

100nF

C102

100nF

S101

Sw

itch_S

PS

T_S

MD

C115

4.7

µF

C111

100nF

J103

Jum

per_

1x2

12

R106

220R

Not M

ounte

d

S105

Sw

itch

1

2

3

IC106

MM

A1260D

N/C

15

N/C

11

N/C

10

N/C

9S

T8

VD

D6

ST

AT

US

5

VS

S1

VS

S2

VS

S7

N/C

16

VO

UT

4

VS

S3

N/C

12

N/C

13

N/C

14

J101

Jum

per_

2x3

12

34

56

W104

EL=

58 d

eg, Z

=120ohm

C103

100nF

C124

100nF

R113

1.5

K

S103

Sw

itch_S

PS

T_S

MD

C105

6.8

pF

C128

0.5

pF

C117

F

D101

Gre

en_LE

D

R103

220R

J102

'9p F

em

ale

Ang'

5 9 4 8 3 7 2 6 1

m1 m2

IC108

LP

38690D

TX

-3.3

VIN

3V

OU

T1

GND2

J108

9V

Hold

er a

nd C

onnecto

r - Fem

ale

1

2

3

C109

100nF

IC102

MC

9S

08G

T60

IRQ

11

PT

A0/K

BIP

032

PT

A1/K

BIP

133

PT

A2/K

BIP

234

PT

A3/K

BIP

335

PT

A4/K

BIP

436

PT

A5/K

BIP

537

PT

A6/K

BIP

638

PT

A7/K

BIP

739

PT

B0/A

D0

22

PT

B1/A

D1

23

PT

B2/A

D2

24

PT

B3/A

D3

25

PT

B4/A

D4

26

PT

B5/A

D5

27

PT

B6/A

D6

28

PT

B7/A

D7

29

PT

C0/T

xD

22

PT

C1/R

xD

23

PT

C2/S

DA

4

PT

C3/S

CL

5

PT

C4

6

PT

C5

7

PT

C6

8

PT

D0/T

PM

1C

H0

18

PT

D1/T

PM

1C

H1

19

PT

D3/T

PM

2C

H0

20

PT

D4/T

PM

2C

H1

21

PT

E0/T

xD

19

PT

E1/R

xD

110

PT

E2/S

S12

PT

E3/M

ISO

13

PT

E4/M

OS

I14

PT

E5/S

PS

CK

15

PT

G0/B

KG

D/M

S42

PT

G1/X

TA

L43

PT

G2/E

XT

AL

44

RE

SE

T1

VD

D17

VD

DA

D40

VR

EF

H30

VR

EF

L31

VS

S16

VS

SA

D41

R107

10R

IC103

MA

X3318E

C1+

2

C1-

4

C2+

5

C2-

6

T1IN

13

T2IN

12

R1O

UT

15

R2O

UT

10

VC

C19

V+

3

V-

7

GN

D18

T1O

UT

17

T2O

UT

8

R1IN

16

R2IN

9

FO

RC

EO

N14

FO

RC

EO

FF

20

RE

AD

Y1

INV

ALID

11

L101

6.8

nH

J106

DC

2 3 1

C113

F

D102

Gre

en_LE

D

C104

100nF

AN

T101

R116

1.0

K

Not M

ounte

d

R114

1.0

K

Not M

ounte

d

TP

104

C108

220pF

TP

101

S102

Sw

itch_S

PS

T_S

MD

C106

6.8

pF

W101

EL=

22.5

deg, Z

=120ohm

TP

103

C110

100nF

C119

100nF

R108

1.0

K

R102

220R

IC101

MC

13192

AT

TN

Bi

14

CE

Bi

19

CLK

Oo

15

GP

IO1

11

GP

IO2

10

GP

IO3

9

GP

IO4

8

GP

IO7

25

GP

IO5

23

GP

IO6

24

IRQ

Bo

20

MIS

Oo

18

MO

SIi

17

PA

O_M

6

PA

O_P

5

RIN

_M

1

RIN

_P

2

RS

TB

i12

RX

TX

EN

i13

SM

7

SP

ICLK

i16

TIN

J_M

4

TIN

J_P

3

XT

AL1

26

XT

AL2

27

VB

AT

T31

VD

DA

32

VD

DD

21

VD

DIN

T22

VD

DLO

129

VD

DLO

228

VD

DV

CO

30

GN

D33

S104

Sw

itch_S

PS

T_S

MD

C127

18pF

R105

470K

J107

9V

Hold

er a

nd C

onnecto

r - Male

1

2

3

TP

102

R118

220R

R117

500m

A

12

W102

EL=

22.5

deg, Z

=120ohm

C129

100nF

D103

Gre

en_LE

D

J105

2*1

3p

12

34

56

78

910

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

D106

MB

R0520LT

1

S106

Sw

itch_S

PS

T_S

MD

R101

220R

Page 12: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

1-6 Freescale Semiconductor

Introduction and Configuration

Figure 1-4. SARD Component Layout

Page 13: Sensor Applications Reference Design

Introduction and Configuration

Sensor Applications Reference Design, Rev. 1.6

Freescale Semiconductor 1-7

1.3.3 RS232 Connector J102The RS232 port is J102, a DB9 connector. A standard straight-through DB9 serial cable can be used with a PC. The port follows the standard RS232 DCE DB9 convention as shown in Figure 1-5. The RS232 is normally used to connect the SARD to a PC. With an installed bootloader program such as the Sensor Applications Reference Design (SARD) Embedded Bootloader program, described in document number 802154EBRM, it can also be used to program the MCU.

Figure 1-5. DCE-DB9 Female Connector (Looking into the SARD Connector)

1.3.4 Power CapabilityThe SARD can be powered from a 9 V battery (6LR61) connected to the board-mounted battery terminals or a 9 V adapter connected to the DC connector. See Figure 1-4 for battery terminal and DC connector placement. If the accelerometers are not used, 2.0-3.4 V can be supplied on J103. In this configuration, the accelerometer outputs are indeterminate.

The 9 V adapter used for this product must be the PHIHONG type PSA-05R-090.

NOTEDo not use a Lithium battery.

DCE Ready

Clear to Send

Request to Send

Ring Indicator

Receive Line Signal Detect

Transmitted Data

Received Data

DTE Ready

Signal Ground

1

2

3

4

5

6

7

8

9

Shield

Page 14: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

1-8 Freescale Semiconductor

Introduction and Configuration

1.3.5 LEDs and SwitchesD101 through D104 and Switches S101 through S104 are connected to I/O as shown on the SARD schematic in Figure 1-3 and in the SARD board layout in Figure 1-4. These are useful as indicators and control in applications. Connections to MCU ports are listed in Table 1-2. The on-off switch, S105 is labeled on the board.

1.3.6 Board Reset FunctionA hardware reset can be performed on the SARD in two ways:

• The Reset push button.

• The MCU resets the SARD as part of its startup sequence when power is applied and the On/Off switch is turned on.

In both cases, the reset sequence resets the MCU which, in turn, resets the MC13192.

Table 1-2. LED and Switch Port Connection

LED/Switch MCU Port I/O

LED 1, D101 PTD0 Output

LED 2, D102 PTD1 Output

LED 3, D103 PTD3 Output

LED 4, D104 PTD4 Output

RESET, S106 RESET -----

S101 PTA2 Input

S102 PTA3 Input

S103 PTA4 Input

S104 PTA5 Input

Page 15: Sensor Applications Reference Design

Introduction and Configuration

Sensor Applications Reference Design, Rev. 1.6

Freescale Semiconductor 1-9

1.3.7 MCU General Purpose Input/Output (GPIO)Figure 1-4 shows the MCU GPIO that can be interfaced with external hardware such as sensors. When using the on-board accelerometers, shunts must be installed at PTB0, PTB1, and PTB7, which corresponds to pins 1 and 2, 3 and 4, 11 and 12, of J105, to connect the accelerometer ICs to the MCU. For user defined applications, these shunts can be removed and other hardware attached to the GPIO pins.

1.3.8 BDM PortHeader J101 is a BDM port for use with a P&E BDM-Multilink cable which is available from Metrowerks. The BDM cable is used with CodeWarrior for the HCS08 to program the MCU flash memory as well as performing in-circuit debugging. See Figure 1-4 for the position of pin 1. The red lead of the BDM cable must align to pin 1 of J101.

When using the parallel port version of the BDM cable, the BDM pod should be powered with a 2 - 5V negative center contact power supply. A 9V battery is not capable of sourcing the current required by the parallel BDM pod during programming and debug.

1.4 Applications and Programming Information

1.4.1 Accelerometer Application DemoThe SARD comes pre-programmed with the accelerometer demo software. See the Accelerometer Demonstration Quick Start Guide, (AN3230) for installation and startup instructions. The receiver is connected to a PC COM port via an RS232 cable. The 9V battery needs to be installed on the battery terminals and the on/off switch turned on. Start the accelerometer GUI software, available from our website, and choose the COM port you are using in the dialog box. Install the 9V battery on the transmitter and turn it on. On the PC screen you can select various ways to display the accelerometer data. One popular way is the cursor mode where you can watch the cursor position move as the transmitter is moved.

1.4.2 Programming the SARD (User Defined Software)A BDM programmer is used to load the MCU flash memory. Alternatively, the Embedded Bootloader software, described in the, Embedded Bootloader Reference Manual, (802154EBRM), can be installed and the SARD can be programmed through the RS-232 port.

Page 16: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

1-10 Freescale Semiconductor

Introduction and Configuration

Page 17: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

Freescale Semiconductor A-1

Appendix ASARD Board Layout and Bill of Materials

A.1 PCB LayoutFigure A-1 shows the SARD printed circuit board layout.

Figure A-1. PCB Layout (Top View)

Page 18: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

A-2 Freescale Semiconductor

SARD Board Layout and Bill of Materials

Figure A-2. PCB Layout (Bottom View)

PTB0

PTB1

PTB2

PTB3

PTB6

PTB7

PTA6

PTA7

PTC0

PTC1

PTC5

PTC6

PTG1

Page 19: Sensor Applications Reference Design

SARD Board Layout and Bill of Materials

Sensor Applications Reference Design, Rev. 1.6

Freescale Semiconductor A-3

Figure A-3. Printed Circuit Board Antenna Dimensions

Table A-1. Bill of Materials (BOM)

Item Qty Part Number Value Rating Tolerance Mfg. Mfg.Part Number

Reference ID

1 1 96000310104 (Label) 26x13 mm Test Bar Code

- -Digianswer 96000310100 BarCode1

01

2 12 50620710001 100 nf 16V 10% X7R Murata GRM188R71C104KA01D

C101, C102, C103, C104, C109, C110, C111, C112, C119, C120, C124, C129

3 2 50610422001 220 pf 50V 10% X7R ROHM MCH155C221KK C107, C108

4 2 50210310000 10 pf 50V 5% NPO Murata GRP1555C1H100JD01E

C105, C106

5 4 50630810001 1.0 µf 10V ± 10% X7R Murata GRM21BR71A105KA01L

C113, C117,

6 0 50630810001 1.0 µf 10V ± 10% X7R Murata GRM21BR71A105KA01L

C123 (not mounted)

7 2 50630847001 4.7 µf 6.3V ± 10% X5R Murata GRM21BR60J475KA11K

C114, C115

8 4 50630810001 1.0 µf 10V ± 10% X7R Murata GRM21BR60J106KE013L

C116, C132

9 2 50210318000 18 pf 50V ± 5% NPO Philips 2222 869 15189 C126, C127

��

���

���������

��������

������� �

��������

���������

Page 20: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

A-4 Freescale Semiconductor

SARD Board Layout and Bill of Materials

10 2 50210150000 0.5 pf 50V ± 0.25pf NPO

Ericsson RJC 463 3020/5 C128, C131

11 1 50210410000 100 pf 50V ± 0.25pf NPO

Murata GRP1555C1H101JD01E

C130

12 5 41100017001 Green LED Citizen CL 170G CD T D101, D102, D103, D104, D105

13 1 40010052000 Red LED 0.5A/20V ON Semiconductor

MBR0520LT1 D106

14 1 35501319200 MC13192 Freescale MC13192 IC101

15 1 33100000801 MC9SO8GT60 Freescale MC9S08GT60CFB

IC102

16 1 31100331800 MAX3318E -40 to +85 °C MAXIM MAX3318EEUP IC103

17 1 35300626000 MMA6261Q -20 to +85 °C Freescale MMA6261QR2 IC104

18 1 35300126000 MMA1260D -40 to +105 °C Freescale MMA1260D IC106

19 1 34003869001 LP38690DTX-3.3 National LP38690DTX-3.3 IC108

20 1 34003869000 LP38690DTX-5.0 National LP38690DTX-5.0 IC109

21 1 20030400600 2x3 pin AMP 826632-3 J101

22 1 20010500905 9 pin female angle

AMP 747844-5 J102

23 1 20030400600 2 pin AMP 0-826629-2 J103

24 1 20030402600 2x13 pin Samtec MTSW-113-07-G-D-240

J105

25 1 20110500204 DC Digi-Key CP-102A-ND J106

26 1 20110500100 9V Holder and Connector - Male

Keystone Cat. No. 593 J107

27 1 20110500101 9V Holder and Connector - Female

Keystone Cat. No. 594 J108

28 1 54710568000 6.8nH ±0.3nH Murata LQG10A6N8S00 L101

29 1 71000536030 13192-SARD Digianswer DIG536-3 FR4 0.76mm

PCB101

30 5 61100422000 220 R 62.5mW/25V 5% YAGEO RCO2221JR R101, R102, R103, R104, R118

Table A-1. Bill of Materials (BOM) (continued)

Item Qty Part Number Value Rating Tolerance Mfg. Mfg.Part Number

Reference ID

Page 21: Sensor Applications Reference Design

SARD Board Layout and Bill of Materials

Sensor Applications Reference Design, Rev. 1.6

Freescale Semiconductor A-5

31 0 61100422000 220 R 62.5mW/25V 5% YAGEO RCO2221JR (not mounted)

R106

32 1 62100747000 479 K 62.5mW/25V 1% ROHM MCR01MZSF4703

R105

33 1 61100310000 10 R 62.5mW/25V 5% YAGEO RC02100JR R107

34 3 61100510000 1.0 K 62.5mW/25V 5% YAGEO RC02102JR R108, R109, R112

35 0 61100510000 1.0 K 62.5mW/25V 5% YAGEO RC02102JR (Not mounted)

R114, R116

36 1 61100510000 1.5 K 62.5mW/25V 5% YAGEO RC02152JR R113

37 1 22080250000 500mA Raychem microSMD050-2 R117

38 5 24000600100 Switch SPST SMD

ALPS SKHUAD S101, S102, S103, S104, S106

39 1 23010400102 Switch ALPS SSSS210800 S105

40 1 58130916004 16.000 MHz 20 ppm 20 ppm KDS DSX321G x101

Table A-1. Bill of Materials (BOM) (continued)

Item Qty Part Number Value Rating Tolerance Mfg. Mfg.Part Number

Reference ID

Page 22: Sensor Applications Reference Design

Sensor Applications Reference Design, Rev. 1.6

A-6 Freescale Semiconductor

SARD Board Layout and Bill of Materials