-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathHardware.conf
78 lines (61 loc) · 2.75 KB
/
Hardware.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
The hardware reference platform for FLOPSYNC is composed of the following:
-stm32vldiscovery: one per node
-nrf24l01+ based radio module, found on ebay: one per node
-ft232 based usb to serial converter, found on rs: one per node
-optionally an arduino for automated firmware upgrade through ssh
and event generation for event timestamping experiments
GPIO mapping stm32vldiscovery to itself
---------------------------------------
Connect PC13 and PB1 together
GPIO mapping stm32vldiscovery to nRF24L01+
------------------------------------------
1 GND connect to GND on stm32vldiscovery
2 VCC connect to +3.3V on stm32vldiscovery
3 CE PA1
4 CS PA2
5 SCK PA5
6 MOSI PA7
7 MISO PA6
8 IRQ PB0
GPIO mapping stm32vldiscovery to ft232
--------------------------------------
PA9 and PA10 connected to a serial port 19200 8N1
GPIO mapping stm32vldiscovery to arduino
----------------------------------------
connect arduino GPIOs as described in
deploy/fwupgrade/arduino/firmwareupgrade2/firmwareupgrade2.ino
6 arduino GPIOs connect to the reset and boot0 pins of the stm32vldiscovery
so as to be able to put them in serial port bootloader mode, to use
the automated deploy infrastructure found in the deploy folder.
also, digital I/O 8 of the arduino has to be connected to PB1 GPIOs of all
the stm32vldiscovery. This is the event input used for timestamp tests.
*********************************************************************************************
Configuration for cc2520:
GPIO stm32vldiscovery vacate
---------------------------------------
PC8-> blue led
PC9-> green led
PA0-> user button
TIM3 PARTIAL REMAP (CH1/PB4, CH2/PB5, CH3/PB0, CH4/PB1)
-----------------------------------------------------------
GPIO mapping stm32vldiscovery to itself
---------------------------------------
Connect PC13 and PB6 together
GPIO Function mapping
---------------------
GPIO3 = EXC channel B (including SFD and TX_FRM_DONE), timestamped by input capture
GPIO5 = STXON driven by output compare
GPIO mapping stm32vldiscovery to cc2520
------------------------------------------
PCB | cc2520 | STM32 * PCB | cc2520 | STM32
1 | VREG_EN | PA3 * 2 | VSS | GND
3 | GPIO3 | PB8 * 4 | GPIO0 | - <----CC2520
5 | CS | PA2 * 6 | GPIO1 | PC4
7 | SCK | PA5 * 8 | GPIO2 | PB2
9 | SI | PA7 * 10 | SO | PA6
PCB | cc2520 | STM32 * PCB | cc2520 | STM32
1 | - | - * 2 | - | -
3 | VCC | 3V3 * 4 | - | -
5 | GPIO4 | --- * 6 | - | - ----->CC2520
7 | GPIO5 | PB9 * 8 | - | -
9 | RESET | PA1 * 10 | - | -