STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Connecting two nucleo boards using I2C.

Hello, I just started using the Nucleo board and currently I am trying to connect two Nucleo G071RB by using I2C, using one as a Master and another one as a Slave.I, however, am not able to even get a clock signal coming from the Master (measured usi...

MC.4 by Associate II
  • 1894 Views
  • 2 replies
  • 0 kudos

Resolved! I2C problem. I can't get the communication to work on STM32F0 Discovery in STM32CubeIDE. Where is the error in reasoning?

Hello, I tried to run the RTC DS1307 first using libraries available on the internet. It was not successful. Later I tried to run the communication "manually" but it doesn't work either. Please help. The module with DS1307 works on Arduino. Through t...

0693W00000NspqmQAB.jpg
PReka.2 by Associate II
  • 3515 Views
  • 10 replies
  • 0 kudos

Why would SPI send 16 bits instead of 8?

I have configured my STM32G071 SPI peripheral to transmit 8 bits with the following code:void spi_config(void) { RCC->APBENR2 |= RCC_APBENR2_SPI1EN; //Enable SPI Clock   //Configure for SPI mode (not I2S mode) SPI1->I2SCFGR &= ~SPI_I2SCFGR_I2...

SHobb.1 by Associate II
  • 5113 Views
  • 7 replies
  • 0 kudos

I2C strange signals form

I am now dealing with the work of I2C. As a device, I connect an Eeprom AT24 chip. There are 10K Ohm pull-up resistors. There are no other devices on the bus and nothing else is connected to the boards. Transmission rate 400 kHz.When I connect Eeprom...

0693W00000NssQXQAZ.jpg 0693W00000NssR6QAJ.jpg
ADoro.2 by Associate III
  • 1041 Views
  • 5 replies
  • 0 kudos