blob: 8055e648120f5cd12ca5302979dfcac33d33fb2c [file] [log] [blame]
Harald Welted645d442020-12-14 19:20:38 +01001[[hardware]]
2== icE1usb Hardware
3
4The icE1usb Hardware consists of a single circuit board (in an optional
5enclosure).
6
7It's main building blocks are:
8
9* an iCE40 FPGA
Harald Welte9df99952022-01-17 17:16:09 +010010* Two E1 line interface (transformers, biasing networks and ESD protection) footnote:[Second interface requires firmware >= 0.2 and OHCI/OHCI/EHCI host controller]
11* a GPS receiver module with 1PPS output to the FPGA footnote:[Requires firmware >= 0.2]
Harald Welted645d442020-12-14 19:20:38 +010012
13=== Schematics
14
15As icE1usb is an OSHW (Open Source Hardware) project, the full schematics
16and design files are publicly available.
17
18The design files in KiCAD formwa are available at https://git.osmocom.org/osmo-e1-hardware/tree/hardware/icE1usb
19
20PDF rendered schematics are available at https://git.osmocom.org/osmo-e1-hardware/plain/hardware/icE1usb/r1.0/icE1usb.pdf
21
22=== Connectors
23
24==== X5A and X5B: E1 Interface Connectors
25
26On one side of the PCB there are two RJ45 connectors next to each other.
27
28Those are the two E1 line interfaces. The interfaces are of symmetric
29120 Ohms type.
30
31Assuming the board is oriented with the tab of the RJ45 connectors facing
32up:
33
34* Interface 0 is on the right side
35* Interface 1 is on the left side (next to the button)
36
37The pin-out of the connectors can be swapped between TE and NT mode using
38the J4 and J5 jumper blocks on the circuit board.
39
40A GSM BTS typically implements TE pin-out, while the icE1usb should then
41use NT mode pin-out if no cross-over cable is used.
42
43.Pin-out of RJ45 E1 connectors
44[options="header"]
45|===
46| Pin | Function (TE) | Function (NT Mode)
47| 1 | Rx | Tx
48| 2 | Rx | Tx
49| 3 | not used | not used
50| 4 | Tx | Rx
51| 5 | Tx | Rx
52| 7 | not used | not used
53| 8 | not used | not used
54|===
55
56NOTE: E1 cables use RJ45 like Ethernet, but Ethernet cables have a
57different pin-out. Particularly, you cannot use an Ethernet cross-over
58cable as an E1 cross-over!
59
60==== X4: USB Connector
61
62The USB connector is a USB Type C connector. However, it only carries
63USB 1.1 full-speed signals. 5V DC power is also sourced from this
64connector.
65
66==== X2: Serial Console Connector
67
68The serial console is used for development and debugging. It uses an
69Osmocom-style 2.5mm stereo TRS jack.
70
71The serial console uses 3.3V CMOS logic levels
72
73The serial console uses a rate of 1000000 bps.
74
75The pin-out is as follows:
76
77* Tip: Tx output from PC (Rx input of icE1usb)
78* Ring: Rx input of PC (Tx output of icE1usb)
79* Shield: GND
80
81A compatible cable can be sourced from the sysmocom web-shop at
82http://shop.sysmocom.de/.
83
84==== X1: GPS Antenna Connector
85
86The GPS antenna connector is a female SMA connector.
87
88You can connect most standard active GPS antennas with built-in LNA.
89
90icE1us provide phantom voltage.
91
92The use of a GPS antenna is only required when you need a high precision
93clock reference for the 2.048 MHz E1 bit clock, e.g. to provide a clock
94reference to a cellular base station on the A-bis interface.
95
96==== X3: GPIO / Extension Connector
97
98This is a RJ45 connector adjacent to the USB connector.
99
100It is currently unused and reserved for future use.
101
102
103[[hw-pushbutton]]
104=== Pushbutton
105
106This is a push-button next to the _E1 interface '1'_. It is recessed
107to protect against accidental use. You will need to use a paper clip,
108pen tip or other similar object to push it.
109
110The button can be used to force booting into the DFU loader in order to
111recover from a broken firmware installation.
112
113
114=== Multi-Color LED
115
116Above the USB-C connector, there is a multi-color RGB LED.
117
118This LED is used by the firmware to indicate a variety of status
119information. Pleas see the firmware documentation in <<firmware>>.