-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i2c_4 not working on stm32f746g_disco #21984
Labels
Comments
This is not a bug. |
erwango
added
Enhancement
Changes/Updates/Additions to existing features
and removed
bug
The issue is a bug, or the PR is fixing a bug
labels
Jan 17, 2020
Hi Erwan,
sorry for this, I have done already a pull request.
i2c4 was not enabled on disco board in zephyr, but I have an own board with
this controller and have added i2c4. It was missing these pinmux defines in
the zephyr tree. That is why I though it was a bug.
To be clear: if not yet added to supported boards, it should consider as
enhancement.
Kr,
Wim
…On Fri, Jan 17, 2020 at 8:31 AM Erwan Gouriou ***@***.***> wrote:
This is not a bug.
If I2C4 is not configured for this board or the series, then support
should be added, this is an enhancement.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21984?email_source=notifications&email_token=AJH5EO7P7TTYLHXUJEZRBJLQ6FNGPA5CNFSM4KH2HTY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJGZOGQ#issuecomment-575510298>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJH5EO4BPZOLSFL5ZMTIE7TQ6FNGPANCNFSM4KH2HTYQ>
.
|
@DenvE Do you still need this ? |
Hi Erwan,
I do still need this. I'm quite busy with other project and could not
followup the status
kr,
Wim
…On Mon, May 11, 2020 at 3:04 PM Erwan Gouriou ***@***.***> wrote:
@DenvE <https://github.com/DenvE> Do you still need this ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21984 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJH5EO5UOJZEG5BYTJEK4H3RQ7ZVJANCNFSM4KH2HTYQ>
.
|
@DenvE, there is no plan to push this change on or side, but we'll be pleased to assist you in merging this change if you want to push it. Hence, I'm closing current issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
Enabling I2C_4 on stm32f746g_disco is not working as the pinmux doesn't have the pin mapping for I2C4 ( exp STM32F7_PINMUX_FUNC_PD13_I2C4_SDA)
To Reproduce
Enable I2C4
CONFIG_I2C=y
CONFIG_I2C_4=y
CONFIG_HAS_DTS_I2C=y
CONFIG_I2C_STM32_INTERRUPT=y
CONFIG_I2C_INIT_PRIORITY=60
enable i2c4 in board dts
&i2c4 {
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};
add in pinmux.c mapping of i2c4
#ifdef CONFIG_I2C_4
{ STM32_PIN_PD12, STM32F7_PINMUX_FUNC_PD12_I2C4_SCL },
{ STM32_PIN_PD13, STM32F7_PINMUX_FUNC_PD13_I2C4_SDA },
#endif
build you application
error STM32F7_PINMUX_FUNC_PD13_I2C4_SDA not defined
Expected behavior
According data sheet stm32f7 i2c4 can be mapped on different gpio, these mapping should be define.
Impact
Can not use i2c4
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: