From 4a66cb0d7d9dfb328a978533c8e185dd4cc9efaf Mon Sep 17 00:00:00 2001 From: "orphee.antoniad" <orphee.antoniadis@hesge.ch> Date: Wed, 19 May 2021 19:37:52 +0200 Subject: [PATCH] I2C1 tested and OK --- .../scalp_mipi/2020.2/src/hdl/scalp_mipi.vhd | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/designs/vivado/scalp_mipi/2020.2/src/hdl/scalp_mipi.vhd b/designs/vivado/scalp_mipi/2020.2/src/hdl/scalp_mipi.vhd index cb4eaa9..7828142 100644 --- a/designs/vivado/scalp_mipi/2020.2/src/hdl/scalp_mipi.vhd +++ b/designs/vivado/scalp_mipi/2020.2/src/hdl/scalp_mipi.vhd @@ -430,15 +430,15 @@ begin Led22V5BxAS : Led22V5BxSO <= RgbLedsCtrlPortxD(5); -- Camera I2C SDA tri-state buffer --- LVDS2V5Bottom5PxSIO <= I2c1SdaOxS when I2c1SdaTxS='0' else 'Z'; --- I2c1SdaIxS <= LVDS2V5Bottom5PxSIO; - LVDS2V5Bottom5PxSIO <= GPIO0OxD(2) when GPIO0TxD(2)='0' else 'Z'; - GPIO0IxD(2) <= LVDS2V5Bottom5PxSIO; + LVDS2V5Bottom5PxSIO <= I2c1SdaOxS when I2c1SdaTxS='0' else 'Z'; + I2c1SdaIxS <= LVDS2V5Bottom5PxSIO; +-- LVDS2V5Bottom5PxSIO <= GPIO0OxD(2) when GPIO0TxD(2)='0' else 'Z'; +-- GPIO0IxD(2) <= LVDS2V5Bottom5PxSIO; -- Camera I2C SCL tri-state buffer --- LVDS2V5Bottom5NxSIO <= I2c1SclOxS when I2c1SclTxS='0' else 'Z'; --- I2c1SclIxS <= LVDS2V5Bottom5NxSIO; - LVDS2V5Bottom5NxSIO <= GPIO0OxD(3) when GPIO0TxD(3)='0' else 'Z'; - GPIO0IxD(3) <= LVDS2V5Bottom5NxSIO; + LVDS2V5Bottom5NxSIO <= I2c1SclOxS when I2c1SclTxS='0' else 'Z'; + I2c1SclIxS <= LVDS2V5Bottom5NxSIO; +-- LVDS2V5Bottom5NxSIO <= GPIO0OxD(3) when GPIO0TxD(3)='0' else 'Z'; +-- GPIO0IxD(3) <= LVDS2V5Bottom5NxSIO; -- Camera PWUP tri-state buffer (GPIO0_4) LVDS2V5Bottom6NxSIO <= GPIO0OxD(4) when GPIO0TxD(4)='0' else 'Z'; GPIO0IxD(4) <= LVDS2V5Bottom6NxSIO; -- GitLab