projects
/
nmigen-boards.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d56f7f
)
blackice_ii: fix UART RTS/CTS direction.
author
Ivan Grokhotkov
<ivan@espressif.com>
Mon, 8 Jun 2020 21:13:28 +0000
(23:13 +0200)
committer
whitequark
<whitequark@whitequark.org>
Thu, 11 Jun 2020 14:10:55 +0000
(14:10 +0000)
Pin numbers match the P0/P1 signals in the schematic, but the
direction is reversed. Fix by setting role="dce".
Ref. https://github.com/mystorm-org/BlackIce-II/blob/master/hardware/BlackIce.pdf
nmigen_boards/blackice_ii.py
patch
|
blob
|
history
diff --git
a/nmigen_boards/blackice_ii.py
b/nmigen_boards/blackice_ii.py
index a679bda966500d8dc9655d963281b0ff10713aca..2187d60686bb9e06edd53986e41e586d95c182dd 100644
(file)
--- a/
nmigen_boards/blackice_ii.py
+++ b/
nmigen_boards/blackice_ii.py
@@
-30,7
+30,8
@@
class BlackIceIIPlatform(LatticeICE40Platform):
UARTResource(0,
rx="88", tx="85", rts="91", cts="94",
- attrs=Attrs(IO_STANDARD="SB_LVCMOS", PULLUP=1)
+ attrs=Attrs(IO_STANDARD="SB_LVCMOS", PULLUP=1),
+ role="dce"
),
SRAMResource(0,