From df54b93db3d4390f8d744243e85505732f826975 Mon Sep 17 00:00:00 2001 From: Pawel Sagan Date: Mon, 6 Jul 2020 10:47:07 +0200 Subject: [PATCH] arty: Add configuration of I2S pins --- litex_boards/platforms/arty.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/litex_boards/platforms/arty.py b/litex_boards/platforms/arty.py index cba7801..756be66 100644 --- a/litex_boards/platforms/arty.py +++ b/litex_boards/platforms/arty.py @@ -145,6 +145,25 @@ _io = [ ), ] +_i2s_pmod_io = [ + # I2S PMOD on JD: + # - https://store.digilentinc.com/pmod-i2s2-stereo-audio-input-and-output/ + ("i2s_rx_mclk", 0, Pins("E2"), IOStandard("LVCMOS33")), + ("i2s_rx", 0, + Subsignal("clk", Pins("H2")), + Subsignal("sync", Pins("D2")), + Subsignal("rx", Pins("G2")), + IOStandard("LVCMOS33"), + ), + ("i2s_tx_mclk", 0, Pins("D4"), IOStandard("LVCMOS33")), + ("i2s_tx", 0, + Subsignal("clk",Pins("F4")), + Subsignal("sync", Pins("D3")), + Subsignal("tx", Pins("F3")), + IOStandard("LVCMOS33"), + ), +] + _sdcard_pmod_io = [ # SDCard PMOD on JD: # - https://store.digilentinc.com/pmod-microsd-microsd-card-slot/