Datasheet

DLP-RF2PROTO
PRELIMINARY
Prototyping Platform for the DLP-RF2 Transceiver
GENERAL DESCRIPTION
The DLP-RF2PROTO makes easy work of experimenting with the DLP-RF2 transceiver. It is perfectly
suited for easily connecting the DLP-RF2 transceiver to a host Windows/Linux/Mac PC via USB interface
such that proposed serial host firmware can be modeled before being programmed into your dedicated
microcontroller. Using the Virtual Com Port (VCP) drivers, the USB interface appears to the host program
as a standard RS232C serial port. Or, you can add your own microcontroller to the prototyping area to
get a jumpstart on developing your new product that will incorporate the DLP-RF2. Level converter
circuitry and a DB9 male connector are provided for connection to a legacy RS232C device. Standard
serial RX and TX signals (0 & 3 volt) are provided for communicating with the DLP-RF2 transceiver.
Selected baud rates (2400, 4800, 9600 (default), 14400, 19200, 38400, 128000, 250000 baud) can be
used to communicate with the RF2 via either the USB or DB9 interfaces.
The DLP-RF2PROTO directly accepts the DLP-RF2 transceiver via a female 20-pin connector. Eight
buffered LED’s and switches are provided for digital I/O line manipulation/indication and can be disabled
for low power designs. External power jacks and selection jumpers are provided to allow power source
selection. Power for the DLP-RF2PROTO board can be taken from the USB interface, external 4-15 volt
DC power supply (purchased separately), or 9-volt battery (not included). An on-board 3-volt regulator is
provided for controlling the voltage presented to the DLP-RF2 transceiver.
A BDM interface header is also provided for making easy connection to the DLP-RF2’s programming
interface for users that want to use their own custom firmware. Firmware programming requires the use
of a device programmer (purchased separately).
Refer to the schematic for the DLP-RF2PROTO board located at the end of this document for additional
details.
Rev 1.0 (March 2005)
1
DLP-RF2PROTO DLP Design, Inc.
USB INTERFACE
A USB interface is provided in the event that the user wants to test out a system design using the
programming resources of a host PC. Serial host software used to communicate with the DLP-RF2 can
be developed and tested using standard PC development tools (compilers/debuggers/etc.) that will
ultimately execute in a user-supplied microcontroller/DSP/etc. If a system requires permanent connection
to a host computer then the DLP-RF1 should be used instead of the DLP-RF2 and DLP-RF2PROTO
combination as the DLP-RF1 has its own USB interface for host communications.
The USB interface on the DLP-RF2PROTO, in conjunction with the DLP Design RFTestAp software, can
be used to easily set/change the communications parameters of the DLP-RF2 transceiver. The
RFTestAp software and its Visual C++ source code can be downloaded from the DLP Design website
upon purchase of the DLP-RF2PROTO.
The communications interface between the FT232BM USB IC and the DLP-RF2 transceiver is bi-direction
3-volt serial data over a 2-wire (TX/RX) connection. Only selected baud rates (2400, 4800, 9600, 14400,
19200, 38400, 128000, 250000 baud) can be used to communicate with the DLP-RF2, with the default
being 9600 baud. The baud rate is set by the host application at run time.
Operational power for the DLP-RF2PROTO and DLP-RF2 can be taken from the host PC via the USB
interface. All that is required is a user-supplied, 6-foot USB cable and to set the power select jumper
(JP5) correctly. The power select jumper settings are covered in the next section.
If using Windows XP (SP1 or more recent) or Linux (Kernel 2.4.0 and greater) the VCP drivers for the
USB port on the host computer should already be loaded and ready for use. Otherwise, VCP drivers for
the operating system in use can be downloaded from www.dlpdesign.com. To load the drivers, simply
connect the DLP-RF2PROTO to the USB port of the host computer. A wizard will appear requesting the
location of the drivers. Once the wizard has finished, Device Manager should be opened to verify the
presence of a new COM port in the “Ports COM & LPT” section.
POWER-SELECTION JUMPERS
Jumper JP5 allows a power source to be selected as outlined in Table 1.
Position
1-2
3-4
5-6
Power Source Selected
External 4-15VDC Power Supply
Battery clips for 9-volt battery or 6volt batter pack
USB Port Power
Table 1
SWITCHES AND LED’S
All available I/O lines from the DLP-RF2 are made available on connector CN2. The switches and LED’s
on the DLP-RF2PROTO board are used primarily for digital I/O (A6, B6-B0) indication and control. If a
data line is set to be an input to the microcontroller with the internal pull-ups disabled, the 1M Ohm pulldown resistors will keep the line from oscillating. If set to an input with the internal pull-up resistors
enabled, the line will be held high as the internal pull-ups can easily overcome the 1M pull-down resistors.
The 8 switches at position SW1 can be used to simulate inputs from the user interface. Care should be
taken to prevent turning “On” a switch for an I/O line that is set to output and high as this will short the line
to ground and possibly damage the microcontroller on the DLP-RF2.
Rev 1.0 (March 2005)
2
DLP-RF2PROTO DLP Design, Inc.
The 8 LEDs indicate the current state of each digital I/O line and are buffered such that minimal current is
drawn from the microcontroller on the DLP-RF2. An inverting buffer is used so that when a digital I/O line
is high, the associated LED will be on. If developing a low-power design, the jumper at JP9 can be
removed so that power consumption is greatly reduced.
DB9 INTERFACE
The DLP-RF2PROTO provides a DB9 connector and level converter circuitry for connection to a legacy
RS232C device. This interface is provided to assist the developer in writing custom firmware and system
control software for instances where communication is required between the DLP-RF2 and a piece of
equipment that would normally connect to a host computer via RS232C.
Standard baud rates supported (limited by the DLP-RF2) are 2400, 4800, 9600 (default), 14400, 19200,
38400, 128000, and 250000 baud).
A jumper (JP10) is provided for removing power from the DB9 interface circuitry in the even the user is
developing a low-power device.
LOW POWER MODE JUMPER
Jumper JP6 can be used to hold port pin RX2/C1 low at power up of the DLP-RF2. If using the SIPP
firmware in the DLP-RF2 as shipped from DLP Design, on power up the RF2 will immediately enter the
low-power mode drawing less than 40 microamps of current at pin 12 of interface connector CN5. The
RF2 module will wake up periodically from the low-power mode and attempt to check in with the system
controller. Once communications with the host controller are complete, the RF2 will return to low-power
mode.
Several factors can prevent the RF2 from achieving the specified low-power current level of less than 40
microamps. Current draw from a digital I/O pin into user electronics, pulling low on a digital I/O line while
an internal pull-up in the microcontroller is enabled, or excessive activity on a monitored digital input are
three examples of items that should be avoided if attempting to minimize current.
Refer to the datasheet for the DLP-RF2 for additional details on the low-power mode of operation.
BDM HEADER
The BDM interface header is provided for making easy connection to the MC9S08GT60 microcontroller
on the DLP-RF2 transceiver for programming user provided custom firmware. Firmware programming
through the BDM interface requires the use of a device programmer (purchased separately).
CURRENT MONITOR JUMPERS
Jumpers JP1 and JP4 are provided for allowing the user to easily connect an ammeter and monitor either
the current drawn from the 3 volt regulator or the current drawn by the DLP-RF2 transceiver. Simply
remove the jumper and connect a current meter in series to make the measurement.
Rev 1.0 (March 2005)
3
DLP-RF2PROTO DLP Design, Inc.
MC9S08GT60 A/D CONVERTER
The Freescale MC9S08GT60 microcontroller on the DLP-RF2 transceiver module has a 10-bit A/D
converter that is accessible via the 20-pin header on the DLP-RF2. A reference voltage must be applied
to pin 4 of the interface connector on the DLP-RF2PROTO for the A/D to function correctly. This voltage
will be the maximum voltage that can be measured by the A/D converter and must be in the range of 2.08
to 3VDC.
The DLP-RF2PROTO provides a jumper (JP2) that allows for selection between the 3-volt power supply
or a user-supplied external reference for the A/D’s voltage reference. Additionally, a potentiometer (VR1)
is provided that allows for experimentation with the A/D inputs. The potentiometer can be driven by either
the 3-volt power supply or the external voltage reference.
For additional details on the use of the A/D converter please refer to the datasheets for the DLP-RF2 and
the MC9S08GT60 microcontroller.
DISCLAIMER
Neither the whole nor any part of the information contained herein or the product described in this
datasheet may be adapted or reproduced in any material or electronic form without the prior written
consent of the copyright holder.
This product and its documentation are supplied on an as-is basis, and no warranty as to their suitability
for any particular purpose is either made or implied. DLP Design will not accept any claim for damages
whatsoever arising as a result of use or failure of this product. Your statutory rights are not affected.
This product or any variant of it is not intended for use in any medical appliance, device, or system in
which the failure of the product might reasonably be expected to result in personal injury.
This document provides preliminary information that may be subject to change without notice.
CONTACT INFORMATION
DLP Design, Inc.
1605 Roma Ln.
Allen, TX 75013
Phone: 469-964-8027
Fax:
415-901-4859
Email: [email protected]
Internet: http://www.dlpdesign.com
Rev 1.0 (March 2005)
4
DLP-RF2PROTO DLP Design, Inc.
-->
5
-->
13
8
10
TOUT
RIN
27R
.
.
C17
.033
JP10
Power Disable
2
1
0.1uF
10
3VCC
10/10 Tant
4
C9
R6
C10
0.1uF
.1
.1
3VCC
C5
.1
.1
C20
C18
-->
3
1
3
1
JP7
JP8
2
2
3
B0
B1
B2
B3
B4
B5
B6
A6
3
1
SW1
SW DIP-8
TX1/E0
RX1/E1
3VCC
EXTREF**
JP3
3
1
JP2
2
A/D
VREF
VPOT
VR1
RESISTOR VAR
2
POT SOURCE
SELECT
3VCC
EXTREF**
-->
<--
DLP-RF2PROTO
10
16
15
14
12
11
25
24
23
22
21
20
19
18
C19
TXD
RXD
RTS#
CTS#
DTR#
DSR#
DCD#
RI#
TXDEN
PWREN#
PWRCTL
TXLED#
RXLED#
SLEEP#
JP4
CURRENT MONITOR JUMPER
2
1
3VCC
CN5
B2
A6
11
C12
9
2
4
0.1uF
0.1uF
C15
C13
5
6
3
0.1uF
USBVCC
C14
R4
470
7
U4
3V3OUT
USBDM
USBDP
RESETO#
XTIN
XTOUT
RESET#
EECS
EESK
EEDATA
FT232BM
TEST
5
C7
10/10 Tant
B4
U1
MAX3221E/SO
TIN
ROUT
C1+
C1C2+
C2V+
V-
6
8
7
5
27
C4
10/10 Tant
1.5K
4
28
32
1
2
31
U2
PQ1L303M2SP
OUT
1
2
1M
RP1
RF2 Interface Header
3VCC
8
6
4
2
11
13
15
17
IN4
IN3
IN2
IN1
IN5
IN6
IN7
IN8
BREADBOARD
RESET#
C11
OUT4
OUT3
OUT2
OUT1
OUT5
OUT6
OUT7
OUT8
6
4
2
JP1
CURRENT MONITOR JUMPER
3VCC
20
VCC
GND
OE1
OE2
10
1
19
INVALID
R3
27R
R7
2
FB1
240-1018-1
R2
.
R1
10K
4
IN
COUT
-->
CN3
DB9
5
9
4
8
3
7
2
6
1
1
USB
C2
.01
RS232C
C16
47pF
CR1
6MHz
USBVCC
JP5
2
4
6
CIN
2
1
D
1
2
3
4
C1
47pF
1
3
5
3
C6
.01uF
2
5
3
1
2
LED POWER
JP9
1
0.1uF
12
14
16
18
9
7
5
3
U3
74240
BDM
CN2
9
10
11
12
13
14
15
16
RP2
100
RX2/C1
BKGD
8
7
6
5
4
3
2
1
1
D8
D7
D6
D5
D4
D3
D2
D1
LED x 7
JP6
LOW POWER MODE JUMPER
1
2
TX2/C0
RX2/C1
TX1/E0
RX1/E1
13
16
15
14
13
12
11
10
9
1
2
3
4
5
6
7
8
** External VREF Range: 2.08 - 3VCC
3
RESET#
CN1
USB Conn.
C3
.47uF
CN4
DC:4-15V
DC BARREL JACK
1
3
2
USBVCC
Power Select
C8
1uF/10V
4
3VCC
VPOT
EXTREF**
A6
B6
B5
B4
B3
B2
B1
B0
1
JUMPER WIRE HEADER
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
TX2/C0
RX2/C1
RX1/E1
RESET#
TX1/E0
BKGD
VCC-IO
8
7
6
5
4
3
2
1
2
4
6
8
10
12
14
16
18
20
26
GND
17
1
3
5
7
9
11
13
15
17
19
3
VCC
GND
9
30
AVCC
9
10
11
12
13
14
15
16
B1
B3
B6
B5
B0
VCC
AGND
29
C
B
A
BT1
9V, 6V Battery Pack Clips
5
GND
2
12
16
15
FORCEON
FORCEOFF
VCC
GND
EN
14
1
D
C
B
A