Skip to main content
Khoa Tran
Associate III
January 28, 2015
Question

lcd segment & i2c stm32l053

  • January 28, 2015
  • 1 reply
  • 547 views
Posted on January 28, 2015 at 05:29

I created a project by STM32cubeMX, the project has : I2C interrupt communication with sensor, display data by LCD segment:

int main(void)

{

  MX_GPIO_Init();

  MX_I2C1_Init();  

  MX_LCD_Init();

.....

...

..

But, when have  MX_LCD_Init(); i2c dosen't run,

i remove  MX_LCD_Init(); i2c run

i2c and lcd don't run together.

can who help me this problem.

thanks all.
    This topic has been closed for replies.

    1 reply

    stm32cube-t
    ST Employee
    February 5, 2015
    Posted on February 05, 2015 at 21:04

    Can you please provide STM32CubeMX .ioc file of your project. Are you using an STM32 evaluation board?

    Thanks.