Project

General

Profile

XMOS Approach » History » Version 1

laforge, 05/04/2018 10:08 PM

1 1 laforge
h1. XMOS Approach
2
3
h2. Matching XU[F]216 parts with quad-E1 interface
4
5
The interface of the LIU is
6
* receive data + clock (output)
7
* transmit data + clock (input)
8
* SPI for control (SDO,SDI,SCLK,CS) + IRQ
9
* LOS (loss of signal) output (can be read via SPI, not required on controller)
10
11
Based on what we know about XMOS, this would need:
12
* four 1-bit ports for rx/tx+clk per E1 Line
13
* three shared 1-bit ports for SPI (shared)
14
* part of a multi-bit input port as IRQ input
15
* part of a multi-bit output port as CS output
16
17
As a result, a XMOS based device for four E1 ports needs 19 1-bit ports plus 2x 4-bit ports. This is possible with a XU[F]216 part in TQFP-128 package.
18
19
No I/O voltage translation is required, and plenty of pins remain unused for LEDs or control of a GPS-DO to provide a proper clock reference.
20
21
On the USB side, isochronous endpoints should be used for the bitstream. The question in terms of software is how much processing should the XMOS code do, and how much do we perform on the host CPU. Classic E1 interfaces perform functions like
22
* frame synchronization
23
* (optional) CRC-4
24
* timeslot de-multiplex
25
* (optional) HDLC inside signaling slots
26
27
h2. Single-Port device with XU[F]208
28
29
In addition, a smaller single-port device could be done with a XU[F]208
30
* its 7 single-bit ports are used for RD/RK, TD/TK, SPI_MOSI, SPI_MISO, SPI_CLK
31
* a single line of one 4-bit port is used for SPI_CS generation
32
* a single line of one 4-bit port is used for IRQ input
33
34
This means that a smaller single-port device should be possible to support from the same firmware, as even the CS/IRQ will use a partial 4-bit port, like in a 4-port design.
35
36
So I think in terms of a hardware architecture, it is quite clear how a design would look like, if I ever find time to actually implement it.
37
38
Note: an a-least-two-port device is particularly useful in case one wants to do E1/T1 protocol tracing.
Add picture from clipboard (Maximum size: 48.8 MB)