Solved
There is a difference between the manual and CubeMX settings for LCD_VLCD
The Additional Function of PB2 is LCD_VLCD2 in the data sheet, but the same pin is set to VLCD1 in dm00171429-evaluation-board-with-stm32l073vz and CubeMX.
Which is correct?
I will attach the corresponding image


