
i2c - I²C FM+ (1 MHz) on STM32 - Electrical Engineering Stack …
Feb 4, 2017 · I'm trying to communicate with an I²C device using an STM32F411 Nucleo board. In standard mode (100 kHz) and fast mode (400 kHz) everything works fine. However, when I try to increase the
Read a register using I2C, gets HAL_ERROR message
Jun 17, 2023 · Second, see Matt Mielke's article titled Using the STM32Cube HAL I2C Driver in Master Mode over on Digi-Key's TechForum web portal regarding the STM32 HAL I2C software. That article seems to have some useful information that might be helpful for you.
STM32 SWD and I2C - Electrical Engineering Stack Exchange
Jul 20, 2023 · And swd will not work even with boot0 and reset. So that is a tangent but generically saying "STM32" you have to understand all STM32 parts do not work the same. Saying that. If you use boot0 plus reset to put the STM32 part into the bootloader, then the swd pins will not be changed to some alternate function. and you can (re)program the device.
i2c - STM32 - I²C Slave HAL Callback ACK - Electrical Engineering …
May 18, 2022 · Objective: implement a single byte I²C slave on STM32. Materials: STM32L452RE Nucleo-64 board, HAL Library, CH341 USB-I²C adapter(1), Artix Linux with Runit, Rhode & Schwarz RTB2004 oscilloscope
STM32 I2C - Electrical Engineering Stack Exchange
Nov 18, 2021 · The typical pull up value for the STM32 microcontrollers is 40 k \$\Omega\$ (assuming they're even active). You can calculate a correct value, but if you just want to get working, a 4.7 k \$\Omega\$ resistor will get you started.
Difference between I2C STM32 HAL functions
Feb 7, 2020 · The MEM functions send start bit, slave I2C address, slave internal mem address, repeat start bit, data, and stop bit. \$\endgroup\$ – kkrambo Commented Feb 7, 2020 at 15:43
stm32 - STM32F4 I2C Address Timeout - Electrical Engineering …
Jan 29, 2018 · The I2C slave is a fujikura ap4/ag4 pressure sensor and the master a STM32F4. ... STM32 I2C only sends ...
stm32 - Slave can't pull I2C low - Electrical Engineering Stack …
I2C pins must not be set to output high. You are using push-pull outputs. STM32 can configure them as open-drain outputs. In that case it is not even necessary to change it to input for reading. In reality you would not bit-bang the protocol yourself as the STM32 contains an i2C peripheral.
STM32 I2C bus stuck - Electrical Engineering Stack Exchange
Jun 3, 2024 · I2C Slave devices often have a hardware configuration pin for the I2C Adress to avoid conflicts with other devices on the same bus. Your display has the resistors R11 and R12 which determ the adress by pulling the ppad in the middle and …
programming - STM32: I2C Master does not generate START bit ...
I have tried one I2C example from one site, then tried to implement it on my own by datasheet, yet it does not work - it does not generate START. I know this I2C and I2C device work, because I have tried using STM32Duino software and the device with address 72 replied, but I have troubles reimplementing it on my own. I use CMSIS, no HAL and the ...