diff options
| author | Ivan Grokhotkov <ivan@espressif.com> | 2020-06-08 23:13:28 +0200 |
|---|---|---|
| committer | whitequark <whitequark@whitequark.org> | 2020-06-11 14:10:55 +0000 |
| commit | f1aeee1d1b8b23cc59234d359d0c44c0a99fa86e (patch) | |
| tree | b169bc932d0430f23d526f63116dbc69d631cac4 /nmigen_boards/blackice_ii.py | |
| parent | 5d56f7fd584a52f0c5498aa5b8f64c23c805205b (diff) | |
blackice_ii: fix UART RTS/CTS direction.
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
Diffstat (limited to 'nmigen_boards/blackice_ii.py')
| -rw-r--r-- | nmigen_boards/blackice_ii.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nmigen_boards/blackice_ii.py b/nmigen_boards/blackice_ii.py index a679bda..2187d60 100644 --- 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, |
