HopeRF RF50 Demo User manual

RF50 Demo V1.1
1
1. General
RF50 demo board is developed for RF50 chip (which is integrated MCU and RF circuit in single chip) to
demonstrating function, testing distance and debugging software.
2. Board characters
4 keys, UP key, DOWN key, ENTER key and RST key. RST key is used to reset MCU, the other 3 keys is
used to parameter setup and TX control. A piece of LCD is used to display the parameters and result of test.
3 indication LED, the first is power, the second is TX, the third is RX..
Power on, LCD display as follows:
RSSI RTC FREQ CLK AD compare RF50 antenna testport ISP UART
PWR DR FDEV BW powerSW LEDTX LEDRX KEY VR101
3. A/D function
As top displaying, rotate the variable resistor(VR101)to adjust the input voltage of A/D port, the LCD
display ‘s A/D voltage result is change from 0 to 3300mV.
4. RTC function
As top displaying, can display and setup the current time, using 24 hour mode.
5. Compare function
As top displaying, rotate the variable resistor(VR101)to adjust the input voltage of A/D port, when the
input voltage higher than 1650mV (VDD/2) the LCD display “CP+”, when lower than 1650mV(VDD/2) the
LCD display “CP_”.

RF50 Demo V1.1
2
6. UART function
Can transmit testing information, error information and received RF data to UART port.
7. Timer function
In demo code have a 1ms timer.
8. Interrupt function
This function is used in any other functions testing.
9. Clock source function
Can select the RF50 working with internal OSC or external OSC. When select external OSC, the jumper
J104 and J105 must connect to left..
10. RF transceiver function
Must connect jumper J102. Working in normal mode, when press UP、DOWN、ENTER key on one DEMO
board it will transmit RF data, the TX LED will flash once. When receive back data the RX LED will also
flash once. The LCD display the transmited RF data and the received back data (every have two bytes, the
first byte is key code, the second byte is key pressed times), also display the received RF signal strength.
The LCD display as follows:
TXdata
RXdata

RF50 Demo V1.1
3
When press UP、DOWN、ENTER key on the other DEMO board to transmit RF data., this DEMO board’s
RX LED will flash once if received data, then transmit the received data, the TX LED will flash once at the
time. The LCD display the received data (two bytes the first byte is key code, the second byte is key pressed
times), also display the received RF signal strength. The LCD display as follows:

RF50 Demo V1.1
4
11. Parameter setup
When press ENTER key 2s on the board, it will work in setup mode and all setup items will flash. Then
short press ENTER key, the board will enter next setup item by the order that frequence, MCU clock, hour,
minute, second, power, data rate, Fdev, band width. When finish setup the band width item, the board will
exit the setup mode. In setup mode, when long press the ENTER key or no press key in 10s the board will
also exit the setup mode.
When in frequence setup mode, the fequence item flash continue, pressing UP key or DOWN key can select
which frequence from one of the 315、433、868、915MHz.
When in MCU clock setup mode, the clock item flash continue, pressing UP key or DOWN key can select
which clock from one of the Int、Ext.
When in hour setup mode, the hour item flash continue, pressing UP key or DOWN key can select which
hour from 0 to 23 at present.
When in minute setup mode, the minute item flash continue, pressing UP key or DOWN key can select
which minute from 0 to 59 at present.
When in second setup mode, the second item flash continue, pressing UP key or DOWN key can select
which second from 0 to 59 at present.
When in power setup mode, the power item flash continue, pressing UP key or DOWN key can select which
grade of TX power from 0 to 7.
When in data rate setup mode, the DR item flash continue, pressing UP key or DOWN key can select which
data rate of transceiving from one of the 1.2、2.4、4.8、9.6、19.2、38.4、57.6、115Kbps.
When in Fdev setup mode, the Fdev item flash continue, pressing UP key or DOWN key can select which
Fdev of TX from one of the 5、10、20、30、45、60、75、90KHz.
When in band width setup mode, the band width item flash continue, pressing UP key or DOWN key can
select which band width of RX from one of the 40、60、80、100、120、150、180、210KHz.

RF50 Demo V1.1
5
12. PCB picture
Top view
Bottom view
SW101 Power switch, ON position turn on power
J101 Current test
J102 Must connect the jumper if RF transceiver is tested
J103 Must connect the jumper if UART supply power
J104,J105 Clock select, connect the jumpers to left when using external OSC
J106,J107 EEPROM select, connect the jumpers when using external EEPROM
VR101 Adjust the voltage on AD port
13. Circuit picture ( Page 6 )

RF50/RFM50 DEMO
2010,08,16
HOPERF
SUNBO
<Checked By>
<QC By>
<Released By>
<Checked Date>
<QC Date>
<Release Date>
<Code>
C
<Drawing Number>
<Revision>
<Scale>
1
1
REV:
SIZE:
CODE:
DRAWN:
DATED:
DATED:
CHECKED:
QUALITY CONTROL:
DATED:
DATED:
RELEASED:
COMPANY:
TITLE:
DRAWING NO:
SHEET: OF
SCALE:
REVISION RECORD
APPROVED:
ECO NO:
LTR
DATE:
1
2
3
4
5
6
D
C
B
A
C
D
B
A
1
ANT
2
GND
3
GPIO2
4
P0.7
5
P0.6
6
P0.5
7
P0.4
8
P0.1
9
P0.3
10
P0.2
11
P0.0
12
RST
13
P2.7
14
P2.6
15
GND
16
VDD
17
P2.5
18
P2.4
19
P2.3
20
P2.2
21
XTAL4
22
XTAL3
23
P2.1
24
P2.0
25
P1.7
26
P1.6
27
P1.5
28
NIRQ
29
XOUT
30
XIN
RFM50_PINOUT
RFM50
1
COM0
2
COM1
3
COM2
4
COM3
5
COM4
6
COM5
7
COM6
8
COM7
9
SEG0
10
SEG1
11
SEG2
12
SEG3
13
SEG4
14
SEG5
15
SEG6
16
SEG7
17
SEG8
18
SEG9
19
SEG10
20
SEG11
21
SEG12
22
SEG13
23
SEG14
24
SEG15
25
SEG16
26
SEG17
27
SEG18
28
SEG19
29
SEG20
30
SEG21
31
SEG22
32
SEG23
33
SEG24
34
SEG25
35
SEG26
36
SEG27
37
SEG28
38
SEG29
LCD
RFM50-LCD
1
2
UP
1
2
DOWN
1
2
ENTER
1
2
RESET
1
2
R112
1K
1
2
R113
1K
1
2
R114
1K
R108
100K
R109
100K
R110
100K
R111
100K
1
2
3
SW101
1
2
BAT(6V/AAX4)
1
VIN
2
VOUT
3
GND
U102
HT7333
C102
10uF
C103
10uF
1
VDD
2
DTX
3
GND
4
DRX
UART-PORT
1
RST
2
P2.7
3
D-VDD
4
GND
5
P-VDD
P-PORT
1
2
3
VR101
10K
LED-TX
RED
LED-RX
GREEN
1
2
R104
1K
1
2
R105
330
1
E0
2
E1
3
E2
4
VSS
8
VDD
5
SDA
6
SCL
7
MODE/WC
U103
24C02
1
2
R107
100K
1
2
R106
100K
1
2
R115
1K
LED-POWER
RED
1
2
R103
1K
2
1
X101
32.768
2
1
X102
30MHZ
X103
16MHZ
C107
12pF
C106
12pF
1
2
R101
10M
1
2
R102
100K
1
GPIO2
2
P0.7
3
P0.6
4
P0.5
5
P0.4
6
P0.1
7
P0.3
8
P0.2
9
P0.0
10
RST
11
P2.7
12
P2.6
13
GND
14
VDD
15
P2.5
16
P2.4
17
P2.3
18
P2.2
19
P2.1
20
P2.0
21
P1.7
22
P1.6
23
P1.5
24
NIRQ
TEST-PORT
1
2
J101
SMA-CON
ANT
C110
100PF
C104
0.1UF
C105
100PF
C101
0.1uF
+
E102
470uF
+
E101
470uF
C112
NC
C111
0.1uF
1
2
J102
1
CS
2
NC
3
RD
4
WR
5
DATA
6
VSS
7
OSCI
8
VDD
9
VLCD
10
IRQ
11
BZ
12
NC
13
BZ.
14
T1
15
T2
16
T3
17
COM0
18
COM1
19
NC
20
COM2
21
COM3
22
COM4
23
COM5
24
COM6
25
COM7
26
SEG0
27
SEG1
28
SEG2
29
SEG3
30
SEG4
31
SEG5
32
SEG6
33
NC
34
NC
35
NC
36
SEG7
37
SEG8
38
SEG9
39
SEG10
40
SEG11
41
SEG12
42
SEG13
43
SEG14
44
SEG15
45
SEG16
46
SEG17
47
SEG18
48
SEG19
49
NC
50
NC
51
NC
52
NC
53
SEG20
54
SEG21
55
SEG22
56
SEG23
57
SEG24
58
SEG25
59
SEG26
60
SEG27
61
SEG28
62
SEG29
63
SEG30
64
SEG31
U101
HT1622-QFP64
1
2
R116
1.5k
1
2
J103
D1
1N5818
D2
1N5818
J104
J105
J106
J107
P0.6
P0.5
P0.4
RST
P2.7
P2.6
P2.5
P2.4
P2.3
P2.2
P2.1
P2.0
P1.7
P1.6
P1.5
P1.5
P1.6
P0.6
RST
VDD-3.3V
VDD-3.3V
P1.7
VDD-3.3V
P2.0
P2.5
VDD-3.3V
P0.4
P0.5
RST
P2.7
VDD-3.3V
COM[0:7]
COM0
COM1
COM2
COM3
COM4
COM5
COM6
COM7
SEG[0:10]
SEG0
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
SEG10
SEG[11:29]
SEG11
SEG12
SEG13
SEG14
SEG15
SEG16
SEG17
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
VDD-3.3V
VDD-3.3V
P0.7
VDD-3.3V
GPIO2
VDD-3.3V
P1.6
P1.7
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
RST
P0.0
P0.2
P0.3
P0.1
P0.4
P0.5
P0.6
P0.7
GPIO2
VDD-3.3V
VDD-3.3V
NIRQ
NIRQ
P1.5
NIRQ
VDD-3.3V
P2.1
VDD-3.3V
COM[0:7]
COM0
COM1
COM2
COM3
COM4
COM5
COM6
COM7
COM0
SEG[0:29]
SEG0
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
SEG10
SEG11
SEG12
SEG13
SEG14
SEG15
SEG16
SEG17
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
P2.3
P2.2
P-VDD
P-VDD
VDD-3.3V
P0.3
P0.2
P0.1
P0.0
P0.1
P0.0
Table of contents
Other HopeRF Motherboard manuals