cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L053 LCD - SPI issue?

lukedukeee
Associate

Hi all!

 

I am having a bit of an issue with a custom LCD. I can get several segments to work except a few, which I discovered are used by SPI2 for the bootloader. I have tied BOOT0 to GND and also checked PB15 and PB14 for instance with a scope, nothing going on there. Is there anything I need to change to use PBx Pins to work with the LCD controller?

 

 

Thanks in advance!

 

Luke

1 REPLY 1
Peter BENSCH
ST Employee

Welcome @lukedukeee to the community!

PB15 and PB14 are also used by the bootloader, but only when the bootloader is active. In normal operation, the two pins are available without restriction.

Please check your programme to see whether you have activated one of the alternative functions, e.g. SPI2 or an RTC function, which you are perhaps not yet using?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.