From 56e1528455464572226ddd99663b17559eca4bc0 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 18 Apr 2020 11:38:24 +0200 Subject: [PATCH] platforms/de0nano: swap serial tx/rx to ease use of cheap FT232 based cables. --- litex/boards/platforms/de0nano.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/litex/boards/platforms/de0nano.py b/litex/boards/platforms/de0nano.py index 56cc5f16..042a543e 100644 --- a/litex/boards/platforms/de0nano.py +++ b/litex/boards/platforms/de0nano.py @@ -28,8 +28,10 @@ _io = [ ("sw", 3, Pins("M15"), IOStandard("3.3-V LVTTL")), ("serial", 0, - Subsignal("tx", Pins("B4"), IOStandard("3.3-V LVTTL")), # gpio_05 - Subsignal("rx", Pins("B5"), IOStandard("3.3-V LVTTL")) # gpio_07 + # Compatible with cheap FT232 based cables (ex: Gaoominy 6Pin Ftdi Ft232Rl Ft232) + # GND on JP1 Pin 12. + Subsignal("tx", Pins("B5"), IOStandard("3.3-V LVTTL")), # GPIO_07 (JP1 Pin 10) + Subsignal("rx", Pins("B4"), IOStandard("3.3-V LVTTL")) # GPIO_05 (JP1 Pin 8) ), ("sdram_clock", 0, Pins("R4"), IOStandard("3.3-V LVTTL")), -- 2.30.2