cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with I2C Communication on Nucleo-L452RE: Master and Slave Indicate BUSY State

kushikundana
Associate

Hello,

I am currently working with I2C communication using the Nucleo-L452RE board. I am encountering an issue where:

  1. The master device indicates that the slave is busy receiving.
  2. Simultaneously, the slave device indicates that the master is busy receiving.

I have double-checked the configuration for both devices and ensured that the pull-up resistors are correctly connected. Despite this, the communication remains stuck in a busy state.

Here are some additional details about my setup:

  • Microcontroller: STM32L452RE
  • I2C Role: Master (Nucleo-L452RE), Slave (Nucleo-L452RE)
  • Pull-Up Resistors: [Specify values, e.g., 4.7 kΩ]

I would appreciate any insights or suggestions to resolve this issue. If more details or specific configurations are required, please let me know.

Thank you in advance for your help!

2 REPLIES 2
ASEHST
ST Employee

Hello @kushikundana,

Thank you for your contribution. you can find several helpful I2C examples here: STM32CubeL4/Projects/NUCLEO-L476RG/Examples/I2C at master · STMicroelectronics/STM32CubeL4.

These examples cover various I2C scenarios and can provide valuable insights and reference code for your project.

 

With Regards,

If your question is answered, please close this topic by clicking "Accept as Solution".
Karl Yamashita
Lead III

Did you check with an oscilloscope to see if the I2C bus isn't in a low state?

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.