cancel
Showing results for 
Search instead for 
Did you mean: 

lcd segment & i2c stm32l053

Khoa Tran
Associate II
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.
1 REPLY 1
stm32cube-t
Senior III
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.