Skip to content

Commit eb40467

Browse files
StancaPopStanca-Florina Vanca
authored and
Stanca-Florina Vanca
committed
ad485x_fmcz/zed: Add README
1 parent 1d8a02b commit eb40467

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

projects/ad485x_fmcz/zed/README.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# AD485X-FMCZ/Zed HDL Project
2+
3+
## Building the project
4+
5+
The parameters configurable through the `make` command, can be found below, as well as in the **system_project.tcl** file; it contains the default configuration.
6+
7+
```
8+
cd projects/ad485x/zed
9+
make
10+
```
11+
12+
The overwritable parameters from the environment are:
13+
14+
- LVDS_CMOS_N - selects the interface type to be used:
15+
- 0 - CMOS interface (default)
16+
- 1 - LVDS interface
17+
18+
- THREE_W_SPI - selects the SPI configuration to be used:
19+
- 0 - 4 wire SPI (default)
20+
- 1 - 3 wire SPI
21+
22+
- DEVICE - selects the device to be used:
23+
- AD4851
24+
- AD4852
25+
- AD4853
26+
- AD4854
27+
- AD4855
28+
- AD4856
29+
- AD4857
30+
- AD4858 (default)
31+
32+
### Example configurations
33+
34+
#### Configuration using CMOS interface, 4 wire SPI (default)
35+
36+
Connect the evaluation board FMC to the FMC connector of Zedboard.
37+
38+
This specific command is equivalent to running "make" only:
39+
40+
```
41+
make LVDS_CMOS_N=0 THREE_W_SPI=0
42+
```
43+
44+
#### Configurations using LVDS interface
45+
46+
To build the LVDS interface - 4 wire SPI:
47+
48+
```
49+
make LVDS_CMOS_N=1 THREE_W_SPI=0
50+
```
51+
52+
To build the LVDS interface - 3 wire SPI:
53+
54+
```
55+
make LVDS_CMOS_N=1 THREE_W_SPI=1
56+
```
57+
58+
#### Configurations using LVDS interface
59+
60+
To build a specific part configuration:
61+
62+
```
63+
make DEVICE=AD4851
64+
```
65+
66+
Corresponding device trees:
67+
68+
- [zynq-zed-adv7511-ad4851-fmcz.dts](https://github.com/analogdevicesinc/linux/blob/main/arch/arm/boot/dts/zynq-zed-adv7511-ad4851-fmcz.dts)
69+
- [zynq-zed-adv7511-ad4852-fmcz.dts](https://github.com/analogdevicesinc/linux/blob/main/arch/arm/boot/dts/zynq-zed-adv7511-ad4852-fmcz.dts)
70+
- [zynq-zed-adv7511-ad4853-fmcz.dts](https://github.com/analogdevicesinc/linux/blob/main/arch/arm/boot/dts/zynq-zed-adv7511-ad4853-fmcz.dts)
71+
- [zynq-zed-adv7511-ad4854-fmcz.dts](https://github.com/analogdevicesinc/linux/blob/main/arch/arm/boot/dts/zynq-zed-adv7511-ad4854-fmcz.dts)
72+
- [zynq-zed-adv7511-ad4855-fmcz.dts](https://github.com/analogdevicesinc/linux/blob/main/arch/arm/boot/dts/zynq-zed-adv7511-ad4855-fmcz.dts)
73+
- [zynq-zed-adv7511-ad4856-fmcz.dts](https://github.com/analogdevicesinc/linux/blob/main/arch/arm/boot/dts/zynq-zed-adv7511-ad4856-fmcz.dts)
74+
- [zynq-zed-adv7511-ad4857-fmcz.dts](https://github.com/analogdevicesinc/linux/blob/main/arch/arm/boot/dts/zynq-zed-adv7511-ad4857-fmcz.dts)
75+
- [zynq-zed-adv7511-ad4858-fmcz.dts](https://github.com/analogdevicesinc/linux/blob/main/arch/arm/boot/dts/zynq-zed-adv7511-ad4858-fmcz.dts)
76+

0 commit comments

Comments
 (0)