2016-12-07 01:13 AM
Hello all,
I am trying to program stm32L152 to interface with LS013B7DH03 by using HAL. Its been more than two weeks I am trying to do this (I am quite new to ARM) but not getting proper way to do it. Would anyone please help me doing that?
Thank you in advance
Mandar.
#ls013b7dh03 #stm32l1xx #hal2016-12-07 01:18 AM
Your question probably has a very small audience, perhaps you can broaden that with more specifics about how you currently have this wired up, and the current state of your software and initialization of the STM32 with respect to the connectivity you have for the display.
2016-12-07 01:48 AM
Many thanks for your reply and apologises for short question.
Here is some more info.
1) Connectivity of LCD with STM32: LCD's display pin is connected to SPI1 (i.e PA2) and MOSI, SCK and CS pis are connected to PA7, PA5 and PA4 respectively.
2) Current state of Hardware:
I tried to initialize all pins used for LCD connections by using hal_gpio.h, I even tried to includ LS013B7DH03.h library which includes
' LS013B7DH03_init(SPI_HandleTypeDef * hspi);
LS013B7DH03_update(SPI_HandleTypeDef * hspi, uint8_t * buffer);
LS013B7DH03_setonDisplay(SPI_HandleTypeDef * hspi);
LS013B7DH03_clearDisplay(SPI_HandleTypeDef * hspi, uint8_t * buffer);' these functions.
If you have some information about
LS013B7DH03 display, i am going to toggle my VCOM in software itself.
I think I have everything that is needed to make this LCD work but I am unable to properly connect or synchronise my code by using different functions.