AN2818 Freescale Semiconductor / Motorola, AN2818 Datasheet

no-image

AN2818

Manufacturer Part Number
AN2818
Description
Romeo2 Monitor for the MC68HC908AP64 MCU
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Freescale Semiconductor
Application Note
Romeo2 Monitor for the
MC68HC908AP64 MCU
by: John Logan
Introduction
This application note describes how to use the Romeo2 Monitor program to evaluate the performance of
the MC33591/2/3/4 family of RF receiver ICs (Romeo2). It shows the hardware setup required, describes
how to set up the monitor, lists all available commands, and gives some examples of usage.
The reader should be familiar with the Romeo2 device data sheet and with the RF data formats described
in the data sheet.
Description
The Romeo2 Monitor is a software program that runs on Freescale's MC68HC908AP64 Demo Board.
The MC68HC908AP64 Demo Board is connected to a Romeo2 RF module and also to a PC via a serial
port. The PC runs a terminal emulation program, for example, Hyperterminal.
Hyperterminal showing the monitor program.
use the monitor program.
© Freescale Semiconductor, Inc., 2004. All rights reserved.
8/16-bit Division
East Kilbride
Figure 2
and
Figure 3
show the hardware setup required to
Figure 1
is a screenshot of
Rev. 0, 8/2004
AN2818

Related parts for AN2818

AN2818 Summary of contents

Page 1

... The MC68HC908AP64 Demo Board is connected to a Romeo2 RF module and also via a serial port. The PC runs a terminal emulation program, for example, Hyperterminal. Hyperterminal showing the monitor program. use the monitor program. © Freescale Semiconductor, Inc., 2004. All rights reserved. Figure 2 and Figure 3 show the hardware setup required to AN2818 Rev. 0, 8/2004 Figure screenshot of ...

Page 2

Description The user can control the pins of the Romeo2 RF module by typing simple commands into the PC. The user can also configure any of Romeo2's internal registers and enable reception of messages. Figure 1. Romeo2 Monitor Communicating with ...

Page 3

Romeo2 Monitor for the MC68HC908AP64 MCU, Rev. 0 Freescale Semiconductor Figure 2. Romeo2 Monitor Setup Description 3 ...

Page 4

... Romeo2 RF module (part no MC33591MOD315 or MC33591MOD434 — others may be available) • MetroWerks CodeWarrior version 3.0 or later • 'AN2818SW.zip' which contains the software files • running Hyperterminal, or any other terminal program Full source code for the Romeo2 monitor is available; this allows the monitor to be extended or modified, if required ...

Page 5

... Demo Board. Please follow the instructions supplied with the demo board to install CodeWarrior. 10. Unzip file Romeo2AP64MonProg.zip, which is contained within AN2818SW.zip. This unzips a CodeWarrior project containing the programming file for the monitor. This project does not contain any source code. If you wish to read or modify the Romeo2 monitor source code, you should unzip fileRomeo2AP64MonSource ...

Page 6

... Windows operating system. It should be configured for 9600 baud, eight data bits, no parity, one stop bit, no flow control. (See A setup file (Romeo2Monitor.ht) for Hyperterminal is supplied in the software package (AN2818SW.zip) for this application note and can be downloaded from www.freescale.com. ...

Page 7

Figure 4. Terminal Program Configuration To start the monitor: 1. Configure the terminal program for 9600 baud, eight data bits, no parity, one stop bit, no flow control. (If using Hyperterminal, use the Romeo2Monitor.ht setup file.) 2. Connect MC68HC908AP64 Demo ...

Page 8

Command List Command List The Romeo2 monitor supports the commands listed and explained below. HELP Description: Help displays a list of all available commands with a short description of each command. STATUS Description: Displays current values of Romeo2 RF module ...

Page 9

AGC Description: AGC allows the user to configure the Automatic Gain Control (AGC) pin connection to ROMEO2. The pin can be set to an output at logic 1 or logic 0, or set to an input (high impedance state). AGC ...

Page 10

Command List CR3 Description: CR3 allows the user to set the value of the CR3 register on ROMEO2. The register can have any value in the range 0x00–0xff. CR3 value <return> CF Description: CF allows the user to set the ...

Page 11

SR0 1 <return> — Set SR0 bit to logic 1 SR0 0 <return> — Set SR0 bit to logic 0 DME Description: DME allows the user to set the value of the Data Manager Enable (DME) bit in register CR1 ...

Page 12

RF Message Formats MS Description: MS allows the user to set the value of the Mixout Pin Select bit (MS) in register CR3 on ROMEO2. The bit can be set to logic 1 or logic <return> — ...

Page 13

Preamble Preamble The various fields in the messages are described below. Preamble — the Preamble is a fixed format field that allows Romeo to detect the start of a message. The Tango3 monitor can transmit Preambles with the correct format ...

Page 14

RF Message Formats 1 1 bit time Examples Receiving an OOK Message Without Header Below is an example of receiving an OOK modulated message without a header. The message ID is 0x2a. The data rate is 2400 bits per second, ...

Page 15

Figure 8 shows the above setup after reception of a message containing one byte of data with value 0xf0 (11110000 binary). When receiving messages where the number of data bits is an exact multiple of eight, Romeo2 may add an ...

Page 16

RF Message Formats (normal mixer gain (mixout pin set to mixer output (phase comparator gain = low gain mode) 4. Set LNA pin to logic 1 using command LNA 1 <return>. ...

Page 17

(434 MHz carrier frequency) MOD = 0 (OOK modulation) SOE = 1 (strobe oscillator enabled) SR0 (strobe oscillator ratio — value not important) DME = 1 (Data Manager Enabled (Header enabled) 2. ...

Page 18

RF Message Formats Figure 10. Receiving Message With Header FIeld Receiving Data Without Manchester Encoding The Romeo2 monitor can be used to configure Romeo2 to receive RF data not encoded using Manchester encoding this, Romeo2's Data Manager should ...

Page 19

Set reset pin to logic 1 using command RESET 1 <return>. Figure 11. Receiving Data Without Manchester Encoding Romeo2 Monitor Source Code The Romeo2 monitor was written using the C programming language. Full source code is supplied in file ...

Page 20

... Learn More: For more information about Freescale Semiconductor products, please visit http://www.freescale.com AN2818 Rev. 0, 8/2004 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 ...

Related keywords