SAM7-NRF24 development board Users Manual All boards produced by Olimex are ROHS compliant Rev. Initial, April 2011 Copyright(c) 2011, OLIMEX Ltd, All rights reserved Page 1
SAM7-NRF24 development board Users Manual
All boards produced by Olimex are ROHS compliant
Rev. Initial, April 2011Copyright(c) 2011, OLIMEX Ltd, All rights reserved
Page 1
INTRODUCTION:
SAM7-NRF24 is low cost board with AT91SAM7S64 and 2.4Ghz NRF24L01 transceiver, it allow easy communication between PC with other boards which have nRF24L01 chips on them as MOD-NRF24Lx, or STM32-103STK.
BOARD FEATURES:– MCU: AT91SAM7S64 16/32 bit ARM7TDMI™ with 64K Bytes Program Flash,
16K Bytes RAM, USB 2.0, RTT, 10 bit ADC 384 ksps, 2x UARTs, TWI (I2C), SPI, 3x 32bit TIMERS, 4x PWM, SSC, WDT, PDC (DMA) for all peripherals, up to 60MHz operation
– Nordic nRF24L01
– on board voltage regulator 3.3V with up to 250 mA current
– power supply filtering capacitor
– 18.432 Mhz crystal
– Power-on led
– on-board antenna
– PCB: FR-4, 1.5 mm (0,062"), soldermask, silkscreen component print
– Dimensions: 73.66 x 29.46 mm (2.90 x 1.16")
ELECTROSTATIC WARNING:
The SAM7-NRF24 board is shipped in protective anti-static packaging. The board must not be subject to high electrostatic potentials. General practice for working with static sensitive devices should be applied when working with this board.
BOARD USE REQUIREMENTS:
Cables: The cable you will need depends on the programmer/debugger you use. If you use ARM-JTAG, you will need LPT cable, if you use ARM-USB-TINY, ARM-USB-TINY-H, or ARM-JTAG-EW, you will need A-B USB cable, if you use ARM-USB-OCD, or ARM-USB-OCD-H, you will need A-B USB cable and optional null modem cable.
Hardware: Programmer/Debugger – one of our Programmers – ARM-JTAG-EW, ARM-JTAG, ARM-USB-OCD, ARM-USB-TINY, ARM-USB-OCD-H, ARM-USB-TINY-H, or similar to them.
Note: These programmers can not be used with SAM7-NRF24 without an adapter. The signals are terminated at JTAG (not typical) holes. We don't offer such an adapter, so you have to make it by yourself.The board can be programmed without programmer via SAM-BA.
PROCESSOR FEATURES:
Page 2
SAM7-NRF24 board use AT91SAM7S64 - low pincount Flash microcontroller based on the 32-bit ARM7TDMI RISC processor with these features:
• Incorporates the ARM7TDMI® ARM® Thumb® Processor
– High-performance 32-bit RISC Architecture
– High-density 16-bit Instruction Set
– Leader in MIPS/Watt
– Embedded ICE In-circuit Emulation, Debug Communication Channel Support
• 64 Kbytes of Internal High-speed Flash, Organized in 512 Pages of 128 Bytes
– Single Cycle Access at Up to 30 MHz in Worst Case Conditions, Prefetch Buffer Optimizing Thumb Instruction Execution at Maximum Speed
– Page Programming Time: 4 ms, Including Page Auto-erase, Full Erase Time: 10 ms
– 10,000 Write Cycles, 10-year Data Retention Capability, Sector Lock Capabilities, Flash Security Bit
– Fast Flash Programming Interface for High Volume Production
• 16 Kbytes of Internal High-speed SRAM, Single-cycle Access at Maximum Speed
• Memory Controller (MC)
– Embedded Flash Controller, Abort Status and Misalignment Detection
• Reset Controller (RSTC)
– Based on Power-on Reset and Low-power Factory-calibrated Brownout Detector
– Provides External Reset Signal Shaping and Reset Source Status
• Clock Generator (CKGR)
– Low-power RC Oscillator, 3 to 20 MHz On-chip Oscillator and one PLL
• Power Management Controller (PMC)
– Software Power Optimization Capabilities, Including Slow Clock Mode (Down to 500 Hz) and Idle Mode
– Three Programmable External Clock Signals
• Advanced Interrupt Controller (AIC)
– Individually Maskable, Eight-level Priority, Vectored Interrupt Sources
– Two External Interrupt Sources and One Fast Interrupt Source, Spurious Interrupt Protected
• Debug Unit (DBGU)
– 2-wire UART and Support for Debug Communication Channel interrupt,
Programmable ICE Access Prevention
• Periodic Interval Timer (PIT)
– 20-bit Programmable Counter plus 12-bit Interval Counter
Page 3
• Windowed Watchdog (WDT)
– 12-bit key-protected Programmable Counter
– Provides Reset or Interrupt Signals to the System
– Counter May Be Stopped While the Processor is in Debug State or in Idle Mode
• Real-time Timer (RTT)
– 32-bit Free-running Counter with Alarm
– Runs Off the Internal RC Oscillator
• One Parallel Input/Output Controller (PIOA)
– Thirty-two Programmable I/O Lines Multiplexed with up to Two Peripheral I/Os
– Input Change Interrupt Capability on Each I/O Line
– Individually Programmable Open-drain, Pull-up resistor and Synchronous Output
• Eleven Peripheral DMA Controller (PDC) Channels
• One USB 2.0 Full Speed (12 Mbits per second) Device Port
– On-chip Transceiver, 328-byte Configurable Integrated FIFOs
• One Synchronous Serial Controller (SSC)
– Independent Clock and Frame Sync Signals for Each Receiver and Transmitter
– I²S Analog Interface Support, Time Division Multiplex Support
– High-speed Continuous Data Stream Capabilities with 32-bit Data Transfer
• Two Universal Synchronous/Asynchronous Receiver Transmitters (USART)
– Individual Baud Rate Generator, IrDA Infrared Modulation/Demodulation
– Support for ISO7816 T0/T1 Smart Card, Hardware Handshaking, RS485 Support
– Full Modem Line Support on USART1
• One Master/Slave Serial Peripheral Interface (SPI)
– 8- to 16-bit Programmable Data Length, Four External Peripheral Chip Selects
• One Three-channel 16-bit Timer/Counter (TC)
– Three External Clock Inputs, Two Multi-purpose I/O Pins per Channel
– Double PWM Generation, Capture/Waveform Mode, Up/Down Capability
• One Four-channel 16-bit PWM Controller (PWMC)
• One Two-wire Interface (TWI)
– Master Mode Support Only, All Two-wire Atmel EEPROMs Supported
Page 4
• One 8-channel 10-bit Analog-to-Digital Converter, Four Channels Multiplexed with Digital I/Os
• IEEE 1149.1 JTAG Boundary Scan on All Digital Pins
• 5V-tolerant I/Os, including Four High-current Drive I/O lines, Up to 16 mA Each
• Power Supplies
– Embedded 1.8V Regulator, Drawing up to 100 mA for the Core and External Components
– 3.3V VDDIO I/O Lines Power Supply, Independent 3.3V VDDFLASH Flash Power Supply
– 1.8V VDDCORE Core Power Supply with Brownout Detector
• Fully Static Operation: Up to 55 MHz at 1.65V and 85° C Worst Case Conditions
Page 5
BLOCK DIAGRAM:
Page 6
MEMORY MAP:
Page 7
SCHEMATIC:
Page 8
22p/
NP
O/2
%
22p/
NP
O/2
%
2.2n
F/X
7R/1
0%4.
7pF/
NP
O/+
-0.2
5p
1.5p
/NP
O/+
-0.1
p 1p/N
PO
/+-0
.1p
33nF
/X7R
/10%
1nF/
X7R
/10%
10nF
/X7R
/10%
10n
15p
47uF
/6.3
V
15p
33p
100n
NA
10p
100n
100n
100n
100n
100n
100n
10p
100n
1n
100n
2.2u
F
1nF
10nF
2.2u
F
100n
100n
1uF
1uF
IRLM
L640
2
IRLM
L640
2(N
A)
8.2n
H/5
%
2.7n
H/5
%
3.9n
H/5
%
+5V
18.4
32M
Hz
1M/1
0%
22K
/1%
47K
47K
47K
560
10K
1.5K
27
15K
22K
47K
1.5K
100
330K
330K
27
NA
47K
(NA
)
1.5K
(NA
)
100(
NA
)
NR
F24L
01
MC
P13
0T
US
B_A
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
MC
P17
00T-
3302
E/M
B
16M
Hz
50_O
HM
CE
CE
CS
N
CSN
DM
_PU
P
DM
_PU
P
DP_
PUP
DP_
PUP
IRQ
IRQ
MIS
O
MIS
O
MO
SI
MO
SI
RST
RST
SPC
K
SP
CK
USB
_D
USB
_D
3.3V
C1
C2
C3
C4
C5
C6
C7
C8
C9
C10
C12
C13
C14
C15
C16
C17
C18
C20
C22
C23C
24C
25C
26
C28
C29
C30
C31
C32
C33
C34
C35
C36
C37
C38
C39
FET
FET1
GN
D
GN
D_
L1 L2
L3
Q1
R1
R2
R3R4R5
R12
R13
R14
R15
R16
R17
R18
R19
R22
R32
R34
R36
R37
R38
R39
R40
RS
T
STA
T
TCK
TDI
TDO
12
TES
T
TMS
AN
T112
AN
T213
CE
1
CS
N2
DV
DD
19IR
EF
16
IRQ
6
MIS
O5
MO
SI
4S
CK
3
VD
D7
VD
D_1
15
VD
D_2
18
VD
D_P
A11
VS
S8
VS
S_1
14
VS
S_2
17
VS
S_3
20
XC
110
XC
29
U1
AD
43
AD
54
AD
65
AD
76
AD
VR
EF
1
DD
M56
DD
P57
ER
AS
E55
GN
D1
2
GN
D2
17
GN
D3
46
GN
D4
60
JTA
GS
EL
50
NR
ST
39P
A0/
PW
M0/
TIO
A0
48
PA
1/P
WM
1/TI
OB
047
PA
2/P
WM
2/S
CK
044
PA
3/TW
D/N
PC
S3
43
PA
4/TW
CK
/TC
LK0
36
PA
5/R
XD
0/N
PC
S3
35
PA
6/TX
D0/
PC
K0
34
PA
7/R
TS0/
PW
M3
32
PA
8/C
TS0/
AD
TRG
31
PA
9/D
RX
D/N
PC
S1
30
PA
10/D
TXD
/NP
CS
229
PA
11/N
PC
S0/
PW
M0
28
PA
12/M
ISO
/PW
M1
27
PA
13/M
OS
I/PW
M2
22
PA
14/S
PC
K/P
WM
321
PA
15/T
F/TI
OA
120
PA
16/T
K/T
IOB
119
PA
17/T
D/P
CK
1/A
D0
9
PA
18/R
D/P
CK
2/A
D1
10
PA
19/R
K/F
IQ/A
D2
13
PA
20/R
F/IR
Q0/
AD
316
PA
21/R
XD
1/P
CK
111
PA
22/T
XD
1/N
PC
S3
14
PA
23/S
CK
1/P
WM
015
PA
24/R
TS1/
PW
M1
23
PA
25/C
TS1/
PW
M2
25
PA
26/D
CD
1/TI
OA
226
PA
27/D
TR1/
TIO
B2
37
PA
28/D
SR
1/TC
LK1
38
PA
29/R
I1/T
CLK
241
PA
30/IR
Q1/
NP
CS
242
PA
31/N
PC
S1/
PC
K2
52
PLL
RC
63
TCK
53
TDI
33
TDO
49
TMS
51
TST
40
VD
DC
OR
E1
12
VD
DC
OR
E2
24
VD
DC
OR
E3
54
VD
DFL
AS
H59
VD
DIN
7
VD
DIO
118
VD
DIO
245
VD
DIO
358
VD
DO
UT
8
VD
DP
LL64
XIN
62
XO
UT
61
U2
AT9
1SA
M7S
64
3
12U
5
GN
D
VC
CR
ES
ET
1 2 3 4
US
B
GN
D1
VIN
2
VO
UT
3
VR
1(3.
3V)
GN
DG
ND
_X
1
SAM
7-N
RF2
4R
ev. I
nitia
l
CO
PY
RIG
HT(
C),
200
9
http
://w
ww
.olim
ex.c
om/d
ev
+
USB
SH
IEL
D
BOARD LAYOUT:
POWER SUPPLY CIRCUIT:SAM7-NRF24 is power supplied with +5V from USB.
RESET CIRCUIT:SAM7-NRF24 reset circuit includes U5 – MCP130T, R13 (10k) – pull-up and AT91SAM7S64 pin 39 (NRST).
CLOCK CIRCUIT:Quartz crystal 18.432 MHz is connected to AT91SAM7S64 pin 61 (XOUT) and pin 62 (XIN).
Page 9
JUMPER DESCRIPTION:
TESTConnects AT91SAM7S64 pin 40 (TST) to 3.3V. The pin TST is used for manufacturing test or fast programming mode of the AT91SAM7S64 when asserted high.There is no component mounted for this jumper. The TEST jumper is used for programming with SAM-BA:1. Power down the board2. Short the TEST jumper 3. Power up the board for 10 sec.4. Power down the board.5. Remove TEST jumper6. Power up the board again.Now you can connect the board using SAM-BA.Default state of the jumper is not shorted.
INPUT/OUTPUT:Power-on LED (red) with name STAT – this led shows that +3.3V is applied to the board.
CONNECTOR DESCRIPTIONS:
JTAG (Not typical):
Pin # Signal Name Pin # Signal Name
1 GND 2 TCK
3 TDO 4 TMS
5 RST 6 TDI
7 GND 8 3.3V
There is no connector mounted on the board for the JTAG.
USB:Pin # Signal Name
1 +5V_USB
2 DDM
3 DDP
4 GND
This is view from the bottom.
Page 10
MECHANICAL DIMENSIONS:
Page 11
AVAILABLE DEMO SOFTWARE:
–SAM7-nRF24_IAR_5.41_demoThe board comes with software for virtual COM Port.You have to note that each board comes with software for Node A. So, if you want to
communicate between two boards SAM7-NRF24, you have to program the one with Node B. This can be made via SAM-BA, by loading RfVirtualComNodeB.bin, which can be find in our demo software package. Other way to load the board is with some of our programmers/debuggers, via IAR Embedded Workbench IDE 5.41. Load RfVirtualCom.eww, which can be find in our demo software package, too. In workspace drop down menu you have to choose Node B Debug:
Page 12
ORDER CODE:SAM7-NRF24 – assembled and tested board, includes AT91SAM7S64 microcontroller and Nordic NRF24L01
How to order? You can order to us directly or by any of our distributors. Check our web www.olimex.com/dev for more info.
Revision history:
Board's Revision: Rev. Initial – created October 2007Manual's Revision: Rev. Initial – created April 2011
Page 13
Disclaimer:
© 2011 Olimex Ltd. All rights reserved. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other terms and product names may be trademarks of others.
The information in this document is provided in connection with Olimex products. No license, express or implied or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Olimex products.
Neither the whole nor any part of the information contained in or the product described in this document may be adapted or reproduced in any material from except with the prior written permission of the copyright holder.
The product described in this document is subject to continuous development and improvements. All particulars of the product and its use contained in this document are given by OLIMEX in good faith. However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded.
This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product.
Page 14