Skip to content

Commit ae6e248

Browse files
authored
hdl: Zed-AD7768: Wideband fixed bug_2022_R2 (#1282)
* hdl: Zed-AD7768: Wideband fixed bug In SPI control mode, when not used as GPIO the FILTER pin and when a crystal is used as the clock source, this pin must be set to 1. The START pin must be tied to a logic 1 through a pull-up resistor, when it is not used. Signed-off-by: Ioan-daniel Pop <Pop.Ioan-daniel@analog.com>
1 parent e2a2734 commit ae6e248

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

projects/ad7768evb/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
####################################################################################
2-
## Copyright (c) 2018 - 2023 Analog Devices, Inc.
2+
## Copyright (c) 2018 - 2024 Analog Devices, Inc.
33
### SPDX short identifier: BSD-1-Clause
44
## Auto-generated, do not modify!
55
####################################################################################

projects/ad7768evb/zed/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
####################################################################################
2-
## Copyright (c) 2018 - 2023 Analog Devices, Inc.
2+
## Copyright (c) 2018 - 2024 Analog Devices, Inc.
33
### SPDX short identifier: BSD-1-Clause
44
## Auto-generated, do not modify!
55
####################################################################################

projects/ad7768evb/zed/system_top.v

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ***************************************************************************
22
// ***************************************************************************
3-
// Copyright (C) 2019-2023 Analog Devices, Inc. All rights reserved.
3+
// Copyright (C) 2019-2024 Analog Devices, Inc. All rights reserved.
44
//
55
// In this HDL repository, there are many different and unique modules, consisting
66
// of various HDL (Verilog or VHDL) components. The individual modules are
@@ -96,7 +96,7 @@ module system_top (
9696
inout gpio_1_mode_1,
9797
inout gpio_2_mode_2,
9898
inout gpio_3_mode_3,
99-
inout gpio_4_filter,
99+
output gpio_4_filter,
100100
output reset_n,
101101
output start_n,
102102
output mclk
@@ -133,19 +133,19 @@ module system_top (
133133
// use crystal
134134

135135
assign mclk = 1'b0;
136-
assign start_n = gpio_o[33];
136+
assign start_n = 1'b1;
137+
assign gpio_4_filter = 1'b1;
137138
assign reset_n = gpio_o[32];
138139

139140
// instantiations
140141

141142
ad_iobuf #(
142-
.DATA_WIDTH(5)
143+
.DATA_WIDTH(4)
143144
) i_iobuf (
144-
.dio_t (gpio_t[52:48]),
145-
.dio_i (gpio_o[52:48]),
146-
.dio_o (gpio_i[52:48]),
147-
.dio_p ({ gpio_4_filter, // 52
148-
gpio_3_mode_3, // 51
145+
.dio_t (gpio_t[51:48]),
146+
.dio_i (gpio_o[51:48]),
147+
.dio_o (gpio_i[51:48]),
148+
.dio_p ({ gpio_3_mode_3, // 51
149149
gpio_2_mode_2, // 50
150150
gpio_1_mode_1, // 49
151151
gpio_0_mode_0 // 48
@@ -159,9 +159,9 @@ module system_top (
159159
.dio_o (gpio_i[31:0]),
160160
.dio_p (gpio_bd));
161161

162-
assign gpio_i[33:32] = 2'b0;
163-
assign gpio_i[47:34] = gpio_o[47:34];
164-
assign gpio_i[63:53] = gpio_o[63:53];
162+
assign gpio_i[32] = 2'b0;
163+
assign gpio_i[47:33] = gpio_o[47:33];
164+
assign gpio_i[63:52] = gpio_o[63:52];
165165

166166
ad_iobuf #(
167167
.DATA_WIDTH(2)

0 commit comments

Comments
 (0)