Tested on NUCLEO-F767ZI board (code imported to STM32CubeIDE).
https://deepbluembedded.com/stm32-i2c-lcd-library-example-16x2-20x4-multiple-lcds https://www.aliexpress.com/item/1005006520514745.html
Connected to 5v(CN11-18), GND, SCL=PB8(CN12-3), SDA=PB9(CN12-5) 1st start will see display backlight flash, means connected, may see nothing until adjust contrast.