From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: David Picard <david.picard@clermont.in2p3.fr>
Cc: ML_Barebox <barebox@lists.infradead.org>, abbotti@mev.co.uk
Subject: Re: ARM: socfpga: enclustra-sa2: issue with I2C1
Date: Fri, 24 Apr 2026 09:27:18 +0200 [thread overview]
Message-ID: <87mrysizs9.fsf@pengutronix.de> (raw)
In-Reply-To: <aeaec45e-ef30-462b-a28f-53d2b82d6387@clermont.in2p3.fr> (David Picard's message of "Thu, 23 Apr 2026 14:00:12 +0200")
On 2026-04-23 at 14:00 +02, David Picard <david.picard@clermont.in2p3.fr> wrote:
Hi,
> Hello,
>
> @Stephen and Ian: I Cc you since I spotted you authored commits related to Intel
> SoC FPGA pin muxing.
>
long time ago ;)
> I'm trying to enable the I2C1 bus on a Cyclone V-base module, mounted on a base
> board. The I2C1 lines connect to a 2.54mm header, on which I attached a I²C
> device with pull-up resistors at address 0x40.
> https://www.enclustra.com/en/products/system-on-chip-modules/mercury-sa2/
>
> I can't detect the I²C device, nor can I see any pulse on the SCL line, which is
> constantly at +3.3V.
>
> I changed the pin muxing in Quartus, updated the handoff files, changed the
> devicetree. The I2C1 bus is visible in Barebox and Linux. More detail here:
> https://community.altera.com/discussions/fpga-device/cyclone-v-hps-i2c1-issue-no-activity-on-bus/352583
>
I remember, that iocsr was 'underdocumented' to say the least...
Wasn't it possible to change drive strength and those settings or was that with Xilinx/Zynq?
> As documented on the Barebox website, I generated the BSP files with the Quartus
> script bsp-create-settings and copied the handoff files to the Barebox build
> directory. After that, I could see that iocsr_config_cyclone5.c and
> pinmux_config.c had changed.
> https://www.barebox.org/doc/2025.05.0/boards/socfpga.html#updating-handoff-files
> https://www.intel.com/content/www/us/en/docs/programmable/683187/20-1/bsp-create-settings.html
>
> If someone could give me some hint, that would be really great!
I see, that the Terasic DE10 Nano uses i2c1. Maybe compare the changed iocsr with those?
Best regards,
Steffen
--
Pengutronix e.K. | Dipl.-Inform. Steffen Trumtrar |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686| Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2026-04-24 7:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-23 12:00 ARM: socfpga: enclustra-sa2: issue with I2C1 David Picard
2026-04-24 7:27 ` Steffen Trumtrar [this message]
2026-04-27 10:09 ` David Picard
2026-04-27 10:20 ` Steffen Trumtrar
2026-04-27 12:13 ` David Picard
2026-04-27 12:25 ` Steffen Trumtrar
2026-04-27 12:36 ` David Picard
2026-04-28 12:51 ` David Picard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mrysizs9.fsf@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=abbotti@mev.co.uk \
--cc=barebox@lists.infradead.org \
--cc=david.picard@clermont.in2p3.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.