-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from wickerwaka/v2
New version of the PicoROM board. v1.5. Adds level shifters to the address inputs, protecting the RP2040 from 5V signals. Adds a reset pin that can be controlled from the picorom tool to allow resetting the target hardware.
- Loading branch information
Showing
54 changed files
with
44,443 additions
and
48,726 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import csv | ||
import matplotlib.pyplot as plt | ||
|
||
header = None | ||
prev = [] | ||
rise = {} | ||
delays = [] | ||
with open('166Mhz.csv') as fp: | ||
reader = csv.reader(fp) | ||
for row in reader: | ||
if row[0].startswith(';'): | ||
continue | ||
if not header: | ||
header = [x.strip() for x in row] | ||
prev = [ 1 for _ in header[1:] ] | ||
rise = dict(((x, 0) for x in header[1:])) | ||
continue | ||
|
||
for idx in range(len(prev)): | ||
v = int(row[idx + 1]) | ||
name = header[idx+1] | ||
if prev[idx] == 0 and v == 1: | ||
rise[name] = float(row[0]) | ||
if name == 'D2': | ||
a_rise = rise['A2'] | ||
delays.append((float(row[0]) - a_rise) * 1000000000) | ||
prev[idx] = v | ||
|
||
print(max(delays)) | ||
plt.hist(delays, bins=100) | ||
plt.show() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.