STM32H747 evaluation board I2C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-04 5:13 AM
Hi!I'm having some troubles in configuring the I2C bus on my STM32H747 evaluation board.
I've configured it in CubeMX as in the image below, using DMA buffer (rx and tx). Gpio pins are configured as open drain (no pull) and hardware is ok.
It seems like the peripheral is not correctly initialized because I can't see any toggle of SCL pin on my scope (both SCL and SDA go low during initialization but, after that, they don't move anymore).
Can someone help me please?
Thanks
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-05 12:53 AM
Hello,
This is an example in Cube using I2C with DMA:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-04 5:34 AM
Hello,
Did you configure the pull-ups on SDA/SCL pins?
PS: you can inspire from this example provided in STM32CubeH7 package.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-04 5:45 AM
Thanks SofLit, I've already looked at that example, but it doesn't use DMA..
can you tell me if there is any command (about initialization) that I have to add to the code generated by the Cube? There is any command related to the timer enable?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-05 12:53 AM
Hello,
This is an example in Cube using I2C with DMA:
